RE: Backing Up MySQL databases
12-22-2017, 09:44 PM
(This post was last modified: 12-23-2017, 02:10 AM by rsthomas.)
(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.