diff --git a/scripts/restore b/scripts/restore index 4e97e3b..80fa5a7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -21,7 +21,7 @@ db_pass=$(ynh_app_setting_get $app mysqlpwd) # Restore sources & data final_path=/var/www/$app -ynh_backup "www" "$final_path" +ynh_restore_file "$final_path" # Restore permissions sudo chown -R root:root $final_path