obs-portal: fix backups, docker command does not
All checks were successful
Flake checks / Check (pull_request) Successful in 20m28s

need a TTY
This commit is contained in:
teutat3s 2024-08-31 22:05:11 +02:00
parent 2d94ed5a0d
commit cd82b83427
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -158,7 +158,7 @@ in
}; };
initialize = true; initialize = true;
backupPrepareCommand = '' backupPrepareCommand = ''
${pkgs.docker}/bin/docker exec -ti --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql ${pkgs.docker}/bin/docker exec -i --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql
''; '';
backupCleanupCommand = '' backupCleanupCommand = ''
rm /tmp/obs-portal-backup.sql rm /tmp/obs-portal-backup.sql