guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Don't include tablespace assignments in the backu


From: Christopher Baines
Subject: branch master updated: Don't include tablespace assignments in the backup dump
Date: Thu, 14 May 2020 15:52:07 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository data-service.

The following commit(s) were added to refs/heads/master by this push:
     new 796c129  Don't include tablespace assignments in the backup dump
796c129 is described below

commit 796c129a36d17ac79c9c065b7d4c2da4483fab3d
Author: Christopher Baines <address@hidden>
AuthorDate: Thu May 14 20:49:46 2020 +0100

    Don't include tablespace assignments in the backup dump
    
    This is a comprimise, as this won't help restoring the backup in situations
    you want tablespaces, but I'm currently viewing tablespaces as a deployment
    concern, so maybe the right thing to do is exclude them. This approach will 
at
    least keep the same behaviour in terms of restoring the backups locally.
    
    This will fix the small dump creation process on data.guix.gnu.org, which is
    currently broken because of the tablespace assignments when trying to 
restore
    the backups.
---
 scripts/guix-data-service-backup-database | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/guix-data-service-backup-database 
b/scripts/guix-data-service-backup-database
index 77fda89..a3a39c0 100755
--- a/scripts/guix-data-service-backup-database
+++ b/scripts/guix-data-service-backup-database
@@ -17,6 +17,7 @@ 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]