feat: utilise borgmatic to back up several services
/srv folder immich database miniflux database paperless database syncthing database
This commit is contained in:
parent
3a679356ad
commit
649f6d048b
5 changed files with 44 additions and 28 deletions
|
|
@ -16,6 +16,18 @@ in
|
|||
mediaLocation = "/srv/immich";
|
||||
};
|
||||
|
||||
# database backup
|
||||
borgmatic.settings = {
|
||||
postgresql_databases = [
|
||||
{
|
||||
name = "immich";
|
||||
hostname = "localhost";
|
||||
username = "root";
|
||||
password = "{credential systemd borgmatic-pg}";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nginx = {
|
||||
clientMaxBodySize = "50000M";
|
||||
virtualHosts."${feature}.fi33.buzz" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue