finish new backups and restructure gameservers

This commit is contained in:
2025-10-18 18:58:59 -05:00
parent 62a813eb81
commit 2149a58293
4 changed files with 17 additions and 22 deletions

View File

@@ -5,14 +5,7 @@
inputs,
unstable_pkgs,
...
}:
/*
to restore database ensure it exists
sudo -u postgres psql -c "DROP DATABASE IF EXISTS immich; CREATE DATABASE immich;"
zstd -dc <path_to_backup> | sudo -u postgres psql -d immich
*/
let
}: let
service = "immich";
cfg = config.homelab.${service};
sec = config.sops.secrets;