Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Oct 22, 2024
1 parent e93eb88 commit 2562a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hosts/hastur/backup.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{ config, lib, ... }:
{
repack.postgresql-backup.enable = true;
systemd.services.postgresqlBackup.onSuccess = "rustic-backups-critic.service";
systemd.services.postgresqlBackup.onSuccess = [ "rustic-backups-critic.service" ];
services.rustic = {
backups = {
critic = {
profiles = map (n: config.age.secrets.${n}.path) [
"general.toml"
"on-kaambl.toml"
];
timerConfig = null;
};

solid = {
Expand Down
2 changes: 1 addition & 1 deletion repack/postgresql-backup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
...
}:
reIf {
postgresqlBackup = {
services.postgresqlBackup = {
enable = true;
location = "/var/lib/backup/postgresql";
compression = "zstd";
Expand Down

0 comments on commit 2562a27

Please sign in to comment.