diff --git a/scripts/backup b/scripts/backup index 616d3e9..50e6d11 100644 --- a/scripts/backup +++ b/scripts/backup @@ -36,6 +36,7 @@ synapse_user="matrix-$app" synapse_db_name="matrix_$app" synapse_db_user="matrix_$app" upstream_version=$(ynh_app_upstream_version) +final_www_path="/var/www/$app" #================================================= # STANDARD BACKUP STEPS @@ -45,6 +46,7 @@ upstream_version=$(ynh_app_upstream_version) ynh_script_progression --message="Backing up the main app directory..." --weight=1 ynh_backup --src_path="$final_path" +ynh_backup --src_path="$final_www_path" #================================================= # BACKUP THE NGINX CONFIGURATION