This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)