Updated some default paths and rules for restic and rsync

release/full-rewrite
capntack 9 months ago
parent fea45f683e
commit 354265a7e2

@ -2,5 +2,10 @@
+ */
# Second, exclude anything from within the next section that you don't want
# Then, include the dirs/paths/files you want to backup
+ /home/*/bin/***
+ /home/*/.local/bin/***
+ /home/*/*shrc
+ /home/*/*history
+ **/docker-compose.yml
# Finally, exclude everything not explicitely included above
- *

@ -58,7 +58,7 @@ readonly LOG_RETENTION='30'
## Only uncomment and set these if RSYNC_BACKUP further above is set to 'yes'
## Set these vars
# readonly RSYNC_SOURCE='/path/to/dir/to/backup'
# readonly RSYNC_SOURCE='/'
# readonly RSYNC_DEST='/path/to/dir/to/backup/to'
# readonly RSYNC_RETENTION_KEEP_LAST='7'
@ -85,7 +85,7 @@ readonly LOG_RETENTION='30'
## Set these for all restic configurations
# export RESTIC_REPOSITORY='/path/to/repo'
# export RESTIC_PASSWORD='PASSWORD'
# readonly RESTIC_SOURCE='/path/to/dir/to/backup'
# readonly RESTIC_SOURCE='/home'
## RESTIC_CALENDAR_RETENTION must be set to 'yes' for these
## Remove readonly if LAN_AND_AWS_RESTIC is set to 'yes' and you want different retention policies

Loading…
Cancel
Save