forked from pub-solar/infra
obs-portal: fix backups, docker command does not
need a TTY
This commit is contained in:
parent
2d94ed5a0d
commit
cd82b83427
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue