Update README.md

This commit is contained in:
Nicolas Chan 2020-03-21 21:04:58 -07:00 committed by GitHub
parent 66a77abbca
commit 5bf452994f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,10 +183,7 @@ export RESTIC_PASSWORD_FILE=$(pwd)/restic_password.txt
/path/to/minecraft-backup/backup-restic.sh -c -s minecraft -i /path/to/minecraft-server/world -o /path/to/restic-backups
```
When you automate this, you can set the environment variable in the command like so:
```bash
RESTIC_PASSWORD_FILE=/path/to/restic-password.txt /path/to/minecraft-backup/backup-restic.sh -c -s minecraft -i /path/to/minecraft-server/world -o /path/to/restic-backups
```
See above for an example automating this using systemd timers.
## Help
- Make sure the compression algorithm you specify is installed on your system. (zstd is not always installed by default)