Add a tag to the gwyn backups
This commit is contained in:
parent
4c900d7371
commit
c5ff867d1b
|
@ -64,12 +64,14 @@ in
|
|||
};
|
||||
script = ''
|
||||
${pkgs.restic}/bin/restic \
|
||||
--exclude-file=${inputs.self}/modules/restic/excludes.txt \
|
||||
backup /home/${custom.username} \
|
||||
--exclude-file=${inputs.self}/modules/restic/excludes.txt \
|
||||
--tag home-dir \
|
||||
backup /home/${custom.username}
|
||||
|
||||
${pkgs.restic}/bin/restic \
|
||||
forget \
|
||||
--host ${config.networking.hostName} \
|
||||
--tag home-dir \
|
||||
--keep-hourly 25 \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 5 \
|
||||
|
|
Loading…
Reference in New Issue