switch from MySQL to PostgreSQL

MySQL version not compatible. version provided: 10.1.37 / version requested: 10.2.7
This commit is contained in:
Yalh
2019-01-30 00:59:43 +01:00
parent f842945c5f
commit 8a1f103115
6 changed files with 23 additions and 18 deletions

View File

@@ -51,10 +51,10 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
#ynh_backup "/etc/php5/fpm/pool.d/$app.conf"
#=================================================
# BACKUP THE MYSQL DATABASE
# BACKUP THE POSTGRESQL DATABASE
#=================================================
ynh_mysql_dump_db "$db_name" > db.sql
ynh_psql_dump_db "$db_name" > db.sql
#=================================================
# SPECIFIC BACKUP