diff --git a/scripts/restore b/scripts/restore index 4ca9bd8..cca0b83 100644 --- a/scripts/restore +++ b/scripts/restore @@ -29,8 +29,7 @@ sudo chown -R www-data: $final_path/data/ sudo chown -R www-data: $final_path/extensions/ # Restore conf files -sudo cp -a www/. $final_path -sudo cp nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf +ynh_backup nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf ynh_backup $app.cron /etc/cron.d/$app # Restore mysql dump