Move the excludes.txt to a general directory

This commit is contained in:
Andreas Zweili 2023-01-06 18:18:00 +01:00
parent 6ad3b75139
commit 8bb710bfd6
5 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ in
onFailure = [ "unit-status-telegram@%n.service" ];
script = ''
${pkgs.restic}/bin/restic \
--exclude-file=${custom.inputs.self}/modules/restic/excludes.txt \
--exclude-file=${custom.inputs.self}/modules/restic-client/excludes.txt \
--tag home-dir \
backup /home/${custom.username}

View File

@ -30,7 +30,7 @@
onFailure = [ "unit-status-telegram@%n.service" ];
script = ''
${pkgs.restic}/bin/restic backup \
--exclude-file=${custom.inputs.self}/modules/restic/excludes.txt \
--exclude-file=${custom.inputs.self}/modules/restic-client/excludes.txt \
--tag ${tag} ${path}
${pkgs.mariadb}/bin/mariabackup --backup --stream=xbstream | \

View File

@ -30,7 +30,7 @@
onFailure = [ "unit-status-telegram@%n.service" ];
script = ''
${pkgs.restic}/bin/restic backup \
--exclude-file=${custom.inputs.self}/modules/restic/excludes.txt \
--exclude-file=${custom.inputs.self}/modules/restic-client/excludes.txt \
--tag ${tag} ${path}
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dumpall | \

View File

@ -30,7 +30,7 @@
onFailure = [ "unit-status-telegram@%n.service" ];
script = ''
${pkgs.restic}/bin/restic backup \
--exclude-file=${custom.inputs.self}/modules/restic/excludes.txt \
--exclude-file=${custom.inputs.self}/modules/restic-client/excludes.txt \
--tag ${tag} ${path}
${pkgs.restic}/bin/restic forget \