Use the short tags again

This commit is contained in:
Andreas Zweili 2022-08-23 21:29:45 +02:00
parent c5ff867d1b
commit aa73b24c0e
2 changed files with 6 additions and 6 deletions

View File

@ -20,10 +20,10 @@
script = ''
${pkgs.restic}/bin/restic backup \
--exclude-file=${inputs.self}/modules/restic/excludes.txt \
--tag home-dir-${config.networking.hostName} /home/${custom.username}
--tag home-dir /home/${custom.username}
${pkgs.restic}/bin/restic forget \
--tag home-dir-${config.networking.hostName} \
--tag home-dir \
--host ${config.networking.hostName} \
--keep-daily 7 \
--keep-weekly 5 \

View File

@ -20,16 +20,16 @@
script = ''
${pkgs.restic}/bin/restic backup \
--exclude-file=${inputs.self}/modules/restic/excludes.txt \
--tag home-dir-${config.networking.hostName} /home/${custom.username}
--tag home-dir /home/${custom.username}
${pkgs.mariadb}/bin/mysqldump --single-transaction --all-databases | \
${pkgs.restic}/bin/restic backup \
--tag mariadb-${config.networking.hostName} \
--tag mariadb \
--stdin \
--stdin-filename all_databases.sql
${pkgs.restic}/bin/restic forget \
--tag home-dir-${config.networking.hostName} \
--tag home-dir \
--host ${config.networking.hostName} \
--keep-daily 7 \
--keep-weekly 5 \
@ -37,7 +37,7 @@
--keep-yearly 75
${pkgs.restic}/bin/restic forget \
--tag mariadb-${config.networking.hostName} \
--tag mariadb \
--host ${config.networking.hostName} \
--keep-daily 7 \
--keep-weekly 5 \