Update readme to describe rclone and pre/post scripts

This commit is contained in:
ViViDboarder 2021-06-15 10:14:37 -07:00
parent ff7089e27a
commit d2906b01c1
1 changed files with 5 additions and 2 deletions

View File

@ -33,5 +33,8 @@ Mount all volumes from your existing container with `--volumes-from` and then ba
### Restoring a backup
On your running container, execute `/restore.sh`. That should be that! Eg. `docker exec my_backup_container /restore.sh`
### To Do
- [ ] Automatic restoration if there is no source data
### Backup to any rclone destination
This image also contains [rclone](https://rclone.org). This allows you to target any destination supported by rclone. Check out the [official documentation](https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html#other-services-via-rclone) to see how to configure this.
### Pre/post backup/restore scripts
Before and after any backup or restore, scripts located in `/scripts/{backup,restore}/{before,after}/` will be executed. This can be used to do things like snapshotting a database before backing it up and restoring the contents.