add more borg options for dbs and offsite

This commit is contained in:
2026-08-23 10:42:48 -05:00
parent 9736a86d9e
commit 671f157b8d
+1 -1
View File
@@ -73,7 +73,7 @@ in {
systemctl start mysql-backup.service
systemctl start $(systemctl list-unit-files 'postgresqlBackup-*.service' --no-legend --no-pager | cut -d' ' -f1)
'';
postHook = lib.mkIf cfg.offsite''
postHook = lib.mkIf cfg.offsite ''
${pkgs.sshpass}/bin/sshpass -f ${sec."lifeboat_rsync".path} \
${pkgs.rsync}/bin/rsync -aHAX --partial --numeric-ids --info=progress2,name1,stats2 --delete \
-e "ssh -o StrictHostKeyChecking=no" \