diff options
author | Christopher Baines <mail@cbaines.net> | 2021-01-03 19:05:41 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-01-03 19:05:41 +0000 |
commit | 2a8a574f4ac8b943ff75e4753392e46e1745dce1 (patch) | |
tree | 98e57b7544ac853b7eab1611e767bb2f505675ae /scripts/guix-data-service-create-small-backup | |
parent | 3ae27baa010fbc49f1d0b94cf27bcbfcdde88698 (diff) | |
download | data-service-2a8a574f4ac8b943ff75e4753392e46e1745dce1.tar data-service-2a8a574f4ac8b943ff75e4753392e46e1745dce1.tar.gz |
Allow customising the pg_dump command used
As this
Diffstat (limited to 'scripts/guix-data-service-create-small-backup')
-rwxr-xr-x | scripts/guix-data-service-create-small-backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index 40a4509..285fdc2 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -350,7 +350,7 @@ EOF TEMPORARY_FILE_NAME="${TMPDIR:-/tmp}/guix_data_service_small-$DATE.dump.tmp" -pg_dump --username=guix_data_service \ +"${PG_DUMP:-pg_dump}" --username=guix_data_service \ --format=custom --compress=9 --serializable-deferrable \ --no-comments \ --username=guix_data_service \ |