system-helpers/usr/share/doc/restic/mybackup-create.sh

11 lines
No EOL
275 B
Bash
Executable file

#!/usr/bin/env bash
/usr/bin/restic backup \
--one-file-system \
--exclude-file /home/myuser/.config/restic/mybackup.exclude \
--files-from /home/myuser/.config/restic/mybackup.include
/usr/bin/restic forget \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 3