Update README.md
This commit is contained in:
parent
66a77abbca
commit
5bf452994f
1 changed files with 1 additions and 4 deletions
|
@ -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
|
/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:
|
See above for an example automating this using systemd timers.
|
||||||
```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
|
|
||||||
```
|
|
||||||
|
|
||||||
## Help
|
## Help
|
||||||
- Make sure the compression algorithm you specify is installed on your system. (zstd is not always installed by default)
|
- Make sure the compression algorithm you specify is installed on your system. (zstd is not always installed by default)
|
||||||
|
|
Loading…
Add table
Reference in a new issue