diff --git a/Database-Backup.-.md b/Database-Backup.-.md new file mode 100644 index 0000000..93e408f --- /dev/null +++ b/Database-Backup.-.md @@ -0,0 +1,15 @@ +Database Backup To take database back from the live, please follow the following steps. + +You need to have root password of the server to get into the system or keys can be added to the server for password less authentication + +ssh root@cb.estack.com + +change director to public folder 'cd public' + +mysqldump --single-transaction pms_cbus | gzip \> pms_cbus.sql.gz + +now download the file using the following url or wget https://cbus.estack.com/pms_cbus.sql.gz name of the file will change as per the name while taking backup. + +mysqldump --single-transaction pms_erwan | gzip \> pms_erwan.sql.gz + +now download the file using the following url or wget https://erwan.estack.com/pms_erwan.sql.gz name of the file will change as per the name while taking backup. \ No newline at end of file