From 695e2f01695b201ace21405c4e475626c1585d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 22 Aug 2024 12:13:24 +0200 Subject: [PATCH] Add missing sliding sync proxy db on restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 3a4087d..462cf9a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,6 +32,7 @@ ynh_script_progression --message="Fixing database type..." --weight=1 ynh_psql_execute_as_root \ --sql="update pg_database set datcollate='C', datctype='C' where datname='$db_name';" +ynh_''psql_setup_db --db_user="$db_user" --db_pwd="$db_pwd" --db_name="$db_name_slidingproxy" #================================================= # RESTORE ALL CONFIG AND DATA