mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
backups
This commit is contained in:
parent
da0615ad18
commit
1dce09f4ea
5 changed files with 61 additions and 17 deletions
|
|
@ -40,6 +40,17 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.custom-backup.jobs = [
|
||||
{
|
||||
app = "hugo-chat";
|
||||
pgDump = {
|
||||
containerName = "hugo-chat-db";
|
||||
dbName = "postgres";
|
||||
userName = "postgres";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
# https://www.reddit.com/r/NixOS/comments/13e5w6b/does_anyone_have_a_working_nixos_ocicontainers/
|
||||
systemd.services.init-hugo-chat-podman-network = {
|
||||
description = "Create the network bridge for hugo-chat.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue