aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service-backup-database
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-05-16 08:42:00 +0100
committerChristopher Baines <mail@cbaines.net>2020-05-16 08:42:00 +0100
commit9c72fc23dc7350300be0f18538eb9691ef058d40 (patch)
treeccd0577bd2870a61b3189278bc36d9451350d174 /scripts/guix-data-service-backup-database
parent796c129a36d17ac79c9c065b7d4c2da4483fab3d (diff)
downloaddata-service-9c72fc23dc7350300be0f18538eb9691ef058d40.tar
data-service-9c72fc23dc7350300be0f18538eb9691ef058d40.tar.gz
Move around --no-tablespaces
Turns out, at the moment, this is ineffective when combined with the archive formats, like the custom format in use. Therefore, move it to the pg_restore command, where hopefully it'll work.
Diffstat (limited to 'scripts/guix-data-service-backup-database')
-rwxr-xr-xscripts/guix-data-service-backup-database1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/guix-data-service-backup-database b/scripts/guix-data-service-backup-database
index a3a39c0..77fda89 100755
--- a/scripts/guix-data-service-backup-database
+++ b/scripts/guix-data-service-backup-database
@@ -17,7 +17,6 @@ ionice -p $$ -c 3 || true
pg_dump --format=custom --compress=9 --serializable-deferrable \
--no-comments \
- --no-tablespaces \
--username=guix_data_service \
--file="$TEMPORARY_FILE_NAME" \
"$DATABASE_NAME"