obs-portal: fix backups, docker command does not need a TTY #233

Merged
teutat3s merged 2 commits from obs-backup-fix into main 2024-09-09 15:43:14 +00:00
Showing only changes of commit cd82b83427 - Show all commits

View file

@ -158,7 +158,7 @@ in
};
initialize = true;
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 = ''
rm /tmp/obs-portal-backup.sql