From cd82b8342756b8350e917db1e2135af190f52225 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 31 Aug 2024 22:05:11 +0200 Subject: [PATCH] obs-portal: fix backups, docker command does not need a TTY --- modules/obs-portal/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/obs-portal/default.nix b/modules/obs-portal/default.nix index dfd57931..da5b88e1 100644 --- a/modules/obs-portal/default.nix +++ b/modules/obs-portal/default.nix @@ -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