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

11 lines
275 B
Bash
Raw Normal View History

2022-06-04 23:09:23 +00:00
#!/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