diff --git a/hedgedoc/other-manifests/restore.yml b/hedgedoc/other-manifests/restore.yml
index 58a9622281276ad13bad0b15357d8a07dfbc3125..aa09551579d914ceb2bcdfd79123c1f94fa3c965 100644
--- a/hedgedoc/other-manifests/restore.yml
+++ b/hedgedoc/other-manifests/restore.yml
@@ -24,7 +24,7 @@ spec:
         - /bin/sh
         - -c
         args:
-        - aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${NS} -p 5432 -U hedgedoc --clean --no-owner --role=hedgedoc
+        - aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${PG_DOMAIN} -p 5432 -U hedgedoc --clean --no-owner --role=hedgedoc -n public
         env:
         - name: PGPASSWORD
           valueFrom: