Remaining backup jobs for wind

This commit is contained in:
Amanda Graven 2023-06-21 17:35:12 +02:00
parent 69f780a9f2
commit 8c1c1e864b
Signed by: amanda
GPG key ID: F747582C5608F4CB
3 changed files with 26 additions and 6 deletions

View file

@ -12,5 +12,25 @@
startAt = "*-*-* 02:15:00"; startAt = "*-*-* 02:15:00";
user = "gitea"; user = "gitea";
}; };
postgres = {
paths = "/var/lib/postgresql/backup";
repo = "ssh://borg@despondos.nao.sh//mnt/slab/backup/wind/postgres";
encryption.mode = "repokey";
encryption.passCommand = "cat ${config.secrets.files.borg_pass_postgres.file}";
environment.BORG_RSH = "ssh -i ${config.secrets.files.ssh_key_postgres.file}";
compression = "auto,zstd";
startAt = "*-*-* 03:15:00";
user = "postgres";
};
synapse = {
paths = "/var/lib/matrix-synapse";
repo = "ssh://borg@despondos.nao.sh//mnt/slab/backup/wind/synapse";
encryption.mode = "repokey";
encryption.passCommand = "cat ${config.secrets.files.borg_pass_synapse.file}";
environment.BORG_RSH = "ssh -i ${config.secrets.files.ssh_key_synapse.file}";
compression = "auto,zstd";
startAt = "*-*-* 03:15:00";
user = "matrix-synapse";
};
}; };
} }

View file

@ -5,10 +5,10 @@
"homepage": "https://github.com/nmattia/niv", "homepage": "https://github.com/nmattia/niv",
"owner": "nmattia", "owner": "nmattia",
"repo": "niv", "repo": "niv",
"rev": "0ebb80e003c26d5388a9b74645fbdcfca3bdd0ef", "rev": "914aba08a26cb10538b84d00d6cfb01c9776d80c",
"sha256": "0wpnk1n4vjyqwjjrm6dvkyh7xr7983rszfhfcg31v106qhfnh41c", "sha256": "0gx316gc7prjay5b0cr13x4zc2pdbiwxkfkpjvrlb2rml80lm4pm",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nmattia/niv/archive/0ebb80e003c26d5388a9b74645fbdcfca3bdd0ef.tar.gz", "url": "https://github.com/nmattia/niv/archive/914aba08a26cb10538b84d00d6cfb01c9776d80c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixos-hardware": { "nixos-hardware": {
@ -29,10 +29,10 @@
"homepage": "", "homepage": "",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "083cb1a04d196e35b9c8293a379266c854e284c1", "rev": "c38961c681b546eb4bedc6ea6e5fb19b012a1612",
"sha256": "0fl9cq9h8i0dc50b1h0snmmcb3vsxz4d14jzsjw4ixfd2bm4dl0n", "sha256": "1xvf4q67k3wvq1y9wbm0mnmxpixm6ljniqagn5rbwmh0vd5gggrx",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/083cb1a04d196e35b9c8293a379266c854e284c1.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/c38961c681b546eb4bedc6ea6e5fb19b012a1612.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixus": { "nixus": {