Backup Config

This commit is contained in:
2023-08-19 23:18:01 -04:00
parent 007f51bd36
commit ab5ae35f6f
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{ ... }: {
services.gitea.dump = {
enable = true;
interval = "2:45";
};
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }: {
services.postgresqlBackup = {
enable = true;
startAt = "*-*-* 02:45:00";
location = "/var/backup/postgresql";
};
}