Move restic-client to modules/misc

This commit is contained in:
Andreas Zweili 2023-06-06 21:58:13 +02:00
parent d113aef3ad
commit 30e08b8ccd
5 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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