feat(restic): use hard links for ~/dev-backup
This commit is contained in:
parent
eb0801bbd1
commit
0bd12bcf2a
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ in {
|
|||
${pkgs.rsync}/bin/rsync -a \
|
||||
--filter=':- .gitignore' \
|
||||
--exclude 'nixpkgs' \
|
||||
/home/felschr/dev/* /home/felschr/dev-backup
|
||||
--link-dest=/home/felschr/dev \
|
||||
/home/felschr/dev/ /home/felschr/dev-backup
|
||||
'';
|
||||
postStart = ''
|
||||
rm -rf /home/felschr/dev-backup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue