From 9a79a5d7473b4b935b509d26941d267621e1d114 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 26 Mar 2020 20:20:29 +0000 Subject: Handle a couple more tables in create-small-backup derivation_output_details_sets, and derivations_by_output_details_set. This required moving around some of the code. --- scripts/guix-data-service-create-small-backup | 50 +++++++++++++++++---------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index 562735f..10fae8c 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -49,7 +49,7 @@ WHERE datetime < recent_datetime; EOF -psql -v ON_ERROR_STOP=1 --echo-queries --no-psqlrc "$URI_FOR_DATABASE" -U guix_data_service <