diff --git a/scripts/backup b/scripts/backup index a0a9d84..8761b0c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -27,5 +27,5 @@ ynh_backup "/etc/php5/fpm/pool.d/$app.conf" "php-fpm.conf" # Dump the database - mysqldump -u "$dbuser" -p"$dbpass" --no-create-db "$dbname" > ./dump.sql - ynh_backup "./dump.sql" "dump.sql" + mysqldump -u "$dbuser" -p"$dbpass" --no-create-db "$dbname" > ./db.sql + ynh_backup "db.sql" "dump.sql"