From b55b0030570b5cf67f2df23b64cce548abf51505 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 14 Mar 2022 19:54:59 +0100 Subject: [PATCH] remove useless backup/restore --- scripts/backup | 4 ---- scripts/restore | 5 ----- 2 files changed, 9 deletions(-) diff --git a/scripts/backup b/scripts/backup index 24982fd..69643c2 100755 --- a/scripts/backup +++ b/scripts/backup @@ -79,10 +79,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # BACKUP VARIOUS FILES #================================================= -ynh_backup --src_path="/etc/cron.d/$app" - -ynh_backup --src_path="/etc/$app/" - #================================================= # BACKUP THE POSTGRESQL DATABASE #================================================= diff --git a/scripts/restore b/scripts/restore index ed8cc03..69e2a0f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -122,11 +122,6 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" #================================================= # RESTORE VARIOUS FILES #================================================= -ynh_script_progression --message="Restoring various files..." --weight=1 - -ynh_restore_file --origin_path="/etc/cron.d/$app" - -ynh_restore_file --origin_path="/etc/$app/" #================================================= # RESTORE SYSTEMD