obs-portal: fix backups, docker command does not
All checks were successful
Flake checks / Check (pull_request) Successful in 20m28s
All checks were successful
Flake checks / Check (pull_request) Successful in 20m28s
need a TTY
This commit is contained in:
parent
2d94ed5a0d
commit
cd82b83427
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue