From c0c9e10102c6a2bc089a3960e5b65ebe31c54193 Mon Sep 17 00:00:00 2001 From: rob Date: Mon, 29 Jun 2026 09:04:48 +0000 Subject: [PATCH] Migrated from GitLab wiki --- Database-Backup.-.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Database-Backup.-.md 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