From 5081a64c1fec802d8e3f8503a4e97d1501b689a5 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 31 Mar 2020 20:46:18 +0100 Subject: Rebuild the package derivation ranges table for the small backup This is better than just deleting the entries that don't match up with the remaining revisions, but also not very useful for local development (due to the lack of data). --- scripts/guix-data-service-create-small-backup | 44 ++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index b7e5c25..9020f3a 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -212,14 +212,44 @@ EOF psql -v ON_ERROR_STOP=1 --echo-queries --no-psqlrc "$URI_FOR_DATABASE" -U guix_data_service <