diff --git a/scripts/backup b/scripts/backup index 9791d68..533955c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -39,7 +39,7 @@ ynh_print_info --message="Declaring files to be backed up..." # BACKUP THE APP MAIN DIR #================================================= -ynh_backup --src_path="$final_path" +ynh_backup --src_path="$final_path" --not_mandatory #================================================= # BACKUP THE NGINX CONFIGURATION @@ -50,10 +50,10 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # SPECIFIC BACKUP #================================================= -# BACKUP THE JENKINS' BOOT CONFIG +# BACKUP VARIOUS FILES #================================================= -ynh_backup --src_path=/etc/default/$app +ynh_backup --src_path="/etc/default/$app" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index b283384..5ce93ce 100644 --- a/scripts/restore +++ b/scripts/restore @@ -102,7 +102,7 @@ dpkg --install --force-confnew ../conf/jenkins.deb #================================================= ynh_script_progression --message="Restoring the app main directory..." -ynh_restore_file --origin_path="$final_path" +ynh_restore_file --origin_path="$final_path" --not_mandatory #================================================= # RESTORE THE JENKINS' BOOT CONFIG