finish new backups and restructure gameservers
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user