exclude media library from borg backups

This commit is contained in:
Pim Kunis 2024-02-12 22:48:53 +01:00
parent cdcb7d93b9
commit 895e1365d9

View file

@ -19,6 +19,8 @@ let
label: nfs
- path: ssh://s6969ym3@s6969ym3.repo.borgbase.com/./repo
label: ec2
exclude_patterns:
- ${cfg.snapshotLocation}/media
ssh_command: "${pkgs.openssh}/bin/ssh -i ${config.age.secrets."ec2_borg_server.pem".path} -o StrictHostKeychecking=no"
keep_daily: 7
keep_weekly: 4