dotfiles/tools/backup.sh

4 lines
191 B
Bash
Raw Normal View History

2019-03-04 14:36:40 +00:00
#!/usr/bin/env bash
restic -p "$HOME/.vault/restic-password-file" -r sftp:fetcher@10.0.0.101:/mnt/data/backup-targets/ --exclude-file "$HOME/.vault/restic-exclude" --verbose backup "$HOME/"