Skip to content

Commit

Permalink
fix: Exclude .stversions and .git
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Mar 7, 2024
1 parent c4ffdf1 commit 5d07659
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hosts/nuc/backups.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in {
user = "emiller";
paths = [
"${config.users.users.emiller.home}/sync"
"${config.users.users.emiller.home}/archive"
# "${config.users.users.emiller.home}/archive"
];

pruneOpts = [
Expand All @@ -24,6 +24,11 @@ in {
"--keep-monthly 12"
];

exclude = [
".stversions"
"*/.git"
];

backupPrepareCommand = "${pkgs.curl}/bin/curl -m 10 --retry 5 https://hc-ping.com/${restic-backup-id}/start";
backupCleanupCommand = "${pkgs.curl}/bin/curl -m 10 --retry 5 https://hc-ping.com/${restic-backup-id}/$EXIT_STATUS";
};
Expand Down

0 comments on commit 5d07659

Please sign in to comment.