chunk: backup hourly and some podman exclusions

This commit is contained in:
cy 2024-12-17 13:53:53 -05:00
parent b9be11cbb2
commit fae5b951c3
2 changed files with 2 additions and 19 deletions

17
flake.lock generated
View file

@ -1,21 +1,5 @@
{
"nodes": {
"chromium": {
"locked": {
"lastModified": 1734083684,
"narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -54,7 +38,6 @@
},
"root": {
"inputs": {
"chromium": "chromium",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"sops-nix": "sops-nix"

View file

@ -6,7 +6,7 @@
services.borgbackup.jobs = {
crashRsync = {
paths = ["/root" "/home" "/var/backup" "/var/lib" "/var/log" "/opt" "/etc" "/vw-data"];
exclude = ["**/.cache" "**/node_modules" "**/cache" "**/Cache" "/var/lib/docker/overlay*"];
exclude = ["**/.cache" "**/node_modules" "**/cache" "**/Cache" "/var/lib/docker" "/var/lib/containers/cache" "/var/lib/containers/overlay*"];
repo = "de3911@de3911.rsync.net:borg/crash";
encryption = {
mode = "repokey-blake2";
@ -17,7 +17,7 @@
BORG_REMOTE_PATH = "borg1";
};
compression = "auto,zstd";
startAt = "daily";
startAt = "hourly";
extraCreateArgs = ["--stats"];
# warnings are often not that serious
failOnWarnings = false;