configure gitlab backups
This commit is contained in:
parent
0a104152ef
commit
ef48e8a4ee
2 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,6 @@
|
||||||
./ghost.nix
|
./ghost.nix
|
||||||
./conduit.nix
|
./conduit.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./conduwuit.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
|
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||||
|
|
|
@ -18,5 +18,11 @@
|
||||||
jwsFile = config.sops.secrets."gitlab/jws".path;
|
jwsFile = config.sops.secrets."gitlab/jws".path;
|
||||||
dbFile = config.sops.secrets."gitlab/db".path;
|
dbFile = config.sops.secrets."gitlab/db".path;
|
||||||
};
|
};
|
||||||
|
backup = {
|
||||||
|
startAt = "daily";
|
||||||
|
# we already postgresqlbackup.service
|
||||||
|
skip = [ "db" ];
|
||||||
|
keepTime = 48; # hours
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue