diff options
-rwxr-xr-x | scripts/guix-data-service-backup-database | 1 | ||||
-rwxr-xr-x | scripts/guix-data-service-create-small-backup | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/guix-data-service-backup-database b/scripts/guix-data-service-backup-database index 3988a49..77fda89 100755 --- a/scripts/guix-data-service-backup-database +++ b/scripts/guix-data-service-backup-database @@ -16,6 +16,7 @@ renice 19 -p $$ || true ionice -p $$ -c 3 || true pg_dump --format=custom --compress=9 --serializable-deferrable \ + --no-comments \ --username=guix_data_service \ --file="$TEMPORARY_FILE_NAME" \ "$DATABASE_NAME" diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index 57ee5ef..562735f 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -289,6 +289,7 @@ TEMPORARY_FILE_NAME="${TMPDIR:-/tmp}/guix_data_service_small-$DATE.dump.tmp" pg_dump --username=guix_data_service \ --format=custom --compress=9 --serializable-deferrable \ + --no-comments \ --username=guix_data_service \ --file="$TEMPORARY_FILE_NAME" \ "$URI_FOR_DATABASE" |