diff options
author | sils <sils@sils.li> | 2023-01-03 19:09:39 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-03 19:09:39 +0100 |
commit | 6e1348c6115358df25fc885f44f8fcbfa2b05031 (patch) | |
tree | d55e5824091c0f5292423e9478860afcea14a819 /zsh.nix | |
parent | force-disable pulseaudio (diff) | |
download | nix-config-6e1348c6115358df25fc885f44f8fcbfa2b05031.tar.gz nix-config-6e1348c6115358df25fc885f44f8fcbfa2b05031.zip |
change restic-cache to /srv bc of temp-root
Diffstat (limited to '')
-rw-r--r-- | zsh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh.nix b/zsh.nix index eeb3869..e2e3891 100644 --- a/zsh.nix +++ b/zsh.nix @@ -23,14 +23,14 @@ alias b-del="sudo btrfs subv delet /srv/snapshots/home" alias b-shot="sudo btrfs subvolume snapshot -r /home /srv/snapshots/home" alias b-home='[ -d /srv/snapshots/home ] && sudo btrfs subvolume delete /srv/snapshots/home; sudo btrfs subvolume snapshot -r /home /srv/snapshots/home; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache backup /srv/snapshots/home;' - alias r-clean="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd forget \ + alias r-clean="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache forget \ --keep-weekly 7 \ --keep-daily 7 \ --keep-monthly 6 \ --keep-yearly 10 \ --keep-hourly 5 \ --keep-tag prs" - alias r-prune="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd prune" + alias r-prune="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache prune" alias r-check="sudo restic -r /mnt/storage/backups --cache-dir /srv/.restic-cache --password-file ~/srv/.restic_pswd check" alias zconf="vim ~/.config/zsh/.zshrc" alias zenv="vim ~/.config/zsh/.zshenv" |