|
@@ -12,7 +12,7 @@ Container image for creating cron-scheduled backups with [borg backup](https://w
|
|
|
1. Build:
|
|
|
- Run `docker compose build` to build the container image from `./build/Dockerfile`
|
|
|
2. Configuration:
|
|
|
- - `cp .env.template .env `
|
|
|
+ - `cp` (.env.template)[.env.template] `.env `
|
|
|
- Adapt `.env`, parameters are explained in the template file
|
|
|
3. Init the backup archive:
|
|
|
- `docker exec --rm -it borg bash -c "borg init --encryption repokey-blake2"`
|
|
@@ -41,7 +41,7 @@ Status and statistics are sent to Prometheus Push-Gateway using a simple bash-sc
|
|
|
## Security considerations
|
|
|
- This container will run with root priveliges in order to access all data for backup.
|
|
|
- The backup source-volume is mounted read-only to avoid alering data by mistake.
|
|
|
- - This image as a reduced feature set for sake of simplicity.
|
|
|
+ - This image has a reduced feature set for sake of simplicity.
|
|
|
- [borgmatic](https://torsion.org/borgmatic/) offers more features such as notifications and backup of databases.
|
|
|
- py3-llfuse and bash are included for comfort during backup restore and could be potentially removed
|
|
|
- curl is included to push Promethous metrics and could be removed if this functionality is not used
|