Restic : add local copy script, change binary
TODO : Change backup script to use environment variables is set, like local copy Local copy script assumes repository already exists. TODO ? Make it create if needed, handle prunes
This commit is contained in:
parent
6051b90c20
commit
3f7f03ce28
2 changed files with 21 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Use setcap'd binary in home directory
|
||||
PATH="/home/restic/bin/:$PATH"
|
||||
#PATH="/home/restic/bin/:$PATH"
|
||||
# Now uses binary in /usr/bin, which is also setcap'd
|
||||
|
||||
backup_origin="/backups/restic"
|
||||
backup_container="central-backup"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue