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"