|
|
@ -39,8 +39,8 @@ Cronjob is executing this script daily.
|
|
|
|
├── ...
|
|
|
|
├── ...
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
* `docker_backup/` - borg repository, created by borg init command
|
|
|
|
* `docker_backup/` - borg repository directory, created by `borg init` command
|
|
|
|
* `borg_backup.sh` - the backup script that adds archive in to the repository
|
|
|
|
* `borg_backup.sh` - the backup script that adds new archive in to the repository
|
|
|
|
* `borg_backup.log` - log file with dates of backups
|
|
|
|
* `borg_backup.log` - log file with dates of backups
|
|
|
|
|
|
|
|
|
|
|
|
# The setup
|
|
|
|
# The setup
|
|
|
@ -125,6 +125,10 @@ as root, cron job every day at 3:00</br>
|
|
|
|
`0 3 * * * /home/bastard/borg/borg_backup.sh`</br>
|
|
|
|
`0 3 * * * /home/bastard/borg/borg_backup.sh`</br>
|
|
|
|
`crontab -l`</br>
|
|
|
|
`crontab -l`</br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Extra info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Test your backups, test your recovery procedure.
|
|
|
|
|
|
|
|
|
|
|
|
# Remote backup
|
|
|
|
# Remote backup
|
|
|
|
|
|
|
|
|
|
|
|
Backing up borg repo to a network share or cloud using rclone
|
|
|
|
Backing up borg repo to a network share or cloud using rclone
|
|
|
|