Browse Source

Updated main restic.sh example conf with more details about --keep-* flags, also that shit was in the wrong place anyways xd

Wazakindjes 2 months ago
parent
commit
8739699dcf
1 changed files with 4 additions and 3 deletions
  1. 4 3
      conf/restic.sh.example

+ 4 - 3
conf/restic.sh.example

@@ -18,14 +18,15 @@ export RESTIC_PASSWORD='ayylmao'
 ### Custom shit ;]
 # Global arguments for restic command (supported by every subcommand)
 # Just check `restic --help` for more possible flags
-export MUHRESTIC_OPTS='--verbose --cache-dir=/backup/restic-cache --cleanup-cache -o b2.connections=10'
+export MUHRESTIC_OPTS='--verbose --cache-dir=/backup/restic-cache -o b2.connections=10'
 
 # Specific to `restic backup`
-# Do not specify --keep-daily here, as we already use that with $MUHBACKUP_RETENTION_DAYS (conf/backup.sh)
-# Also do not specify --keep-last either, we already use that to make sure we always keep at least one "snapsh0t" (this is pr0lly redundant since restic seems to already do that automatically, but better to be extra safe ;])
 export MUHRESTIC_OPTS_BACKUP='--exclude-caches'
 
 # Also for `restic forget`
+# Do not specify --keep-daily here, as we already use that with $MUHBACKUP_RETENTION_DAYS (conf/backup.sh)
+# Also do not specify --keep-last either, we already use that to make sure we always keep at least one "snapsh0t" (this is pr0lly redundant since restic seems to already do that automatically, but better to be extra safe ;])
+# Any other --keep-* flag should be fine though =]
 export MUHRESTIC_OPTS_FORGET=''
 
 # The full command lol (pr0lly don't touch imo tbh famlamlamla)