Backing Up MySQL databases
#1
Backing Up MySQL databases
Is there a way to backup just the databases within Sentora, separate from the daily Admin backup of all of the domains' public_html files and their databases?

Alternatively, can a PHP script be written that can do the job from the adminstration (zadmin) level? Or, even a script to run with SSH?
Reply
#2
RE: Backing Up MySQL databases
modify this script to backup only db's.

https://github.com/MBlagui/Sentora-tools...erfiles.sh


M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Backing Up MySQL databases
(12-20-2017, 07:53 AM)Me.B Wrote: modify this script to backup only db's.

https://github.com/MBlagui/Sentora-tools...erfiles.sh


M B

Perfect!!

Had to change "zpanel_core" to "sentora_core," and it flew right through all the databases very quickly.

Thank you very much!

Follow-up:
To store the backup files in one common location:
#backupfolder="$5/backups"
backupfolder="/var/zpanel/hostdata/zadmin/backups"

You can quickly verify they are all there:
ls -l /var/zpanel/hostdata/zadmin/backups/

Login to the zadmin account and check the backups folder to view and/or download, or use your FTP program.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
MySQL Database user prefix MosleyCale 1 6 ,666 10-17-2020, 09:11 PM
Last Post: Ron-e
Senator crash problem with mysql provokas 3 12 ,261 08-20-2020, 04:11 AM
Last Post: Your Creator
MySQL remote access... pixelbat 11 45 ,809 05-02-2020, 07:40 PM
Last Post: upendra.sahu1990@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)