Backup Config
This commit is contained in:
6
machines/hippocampus/backups/gitea.nix
Normal file
6
machines/hippocampus/backups/gitea.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
services.gitea.dump = {
|
||||
enable = true;
|
||||
interval = "2:45";
|
||||
};
|
||||
}
|
||||
7
machines/hippocampus/backups/postgresql.nix
Normal file
7
machines/hippocampus/backups/postgresql.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
services.postgresqlBackup = {
|
||||
enable = true;
|
||||
startAt = "*-*-* 02:45:00";
|
||||
location = "/var/backup/postgresql";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user