My personal Restic setup
Script now waits for network connectivity before attempting backup. Useful when ran on a laptop, systemd may trigger before network is back up. |
||
---|---|---|
backup.sh | ||
excludes.txt | ||
passwd | ||
README.md | ||
restic.service | ||
restic.timer | ||
restic_env.sh |
Personal Restic config
For this configuration, most files go in /etc/restic. Files should be owned by root, and use 0600 for permissions
Files that differ from this are:
- /etc/restic/backup.sh needs 0700 permissions
- restic.timer and restic.service go in /etc/systemd/system/ and use 0655 permissions