Move restic-client to modules/misc
This commit is contained in:
parent
d113aef3ad
commit
30e08b8ccd
|
@ -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 | \
|
||||
|
|
|
@ -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 | \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue