ZettaIO / restic-compose-backup

Automatic restic backup of a docker-compose setup. https://hub.docker.com/r/zettaio/restic-compose-backup
MIT License
29 stars 16 forks source link

Check if repo is initialized #13

Closed einarf closed 4 years ago

einarf commented 4 years ago

https://restic.readthedocs.io/en/latest/075_scripting.html#check-if-a-repository-is-already-initialized

You may find a need to check if a repository is already initialized, perhaps to prevent your script from initializing a repository multiple times. The command snapshots may be used for this purpose

This is probably better than doing init every time in status

einarf commented 4 years ago

Fixed