[RSS Feed/News] Can't get crontab working for mysql backups

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I've got mysql and Xenforo running inside of Docker containers, with mapped volumes to the main virtual private server (VPS).

I'm having issues in trying to use crontab in order to schedule daily database dumps from mysql.

If I'm on the main VPS, I can successfully manually run this command in order to run a shell script inside of the mySQL Docker container in order to do the backup:
Code:

/usr/bin/docker exec -ti mysql sh -c "/var/lib/mysql/backups/xenforo_mysql_backup.sh"

If I place...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom