From b4e76745d62c9e32afea2bd6e88bd2b557aed092 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Jun 2021 23:43:10 +0200 Subject: [PATCH] Update backup --- scripts/backup | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/scripts/backup b/scripts/backup index 27aa2ac..5a0c081 100644 --- a/scripts/backup +++ b/scripts/backup @@ -30,27 +30,15 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_print_info --message="Declaring files to be backed up..." -#================================================= -# STANDARD BACKUP STEPS -#================================================= -# STOP SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Stopping a systemd service..." --time --weight=1 - -ynh_systemd_action --service_name="$app" --action="stop" -ynh_systemd_action --service_name="$app-web" --action="stop" - #================================================= # BACKUP THE APP MAIN DIR #================================================= -ynh_script_progression --message="Backing up the main app directory..." --time --weight=1 -ynh_backup "$final_path" +ynh_backup --src_path="$final_path" #================================================= # BACKUP THE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Backing up nginx web server configuration..." --time --weight=1 ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"