Hi I want to do a daily backup of the databases in mysql. I would prefer a script and crontab entry.
Does anyone have such a script before I try to reinvent the wheel?
It is currently Wed Jan 20, 2021 7:18 pm
All times are UTC + 8 hours
James.W@AST wrote:Hi ho66es,
Sure, we will put mysqldump in the next minor release (1.0.9) which should be released very soon.![]()
or if you would like to give it a try in advance, you can download the attached file, unzip and save it to /volume0/usr/builtin/sbin/
JW
James.W@AST wrote:You are welcome, feel free to let me know if it works for you, okay?
# backup prep
10 1 * * * /volume1/misc/mysqlbackup.sh
echo -e "password" >> /etc/backuppass
Users browsing this forum: No registered users and 1 guest