Hi All,
Im having trouble getting a crob job to run.
What i have so far is
/home/backup.sql.gz mysqldump -h 82.108.157.106 -u root -ppassword database name | gzip > /home/echou/backup.sql.gz
any assistance would be appreciated
Hi All,
Im having trouble getting a crob job to run.
What i have so far is
/home/backup.sql.gz mysqldump -h 82.108.157.106 -u root -ppassword database name | gzip > /home/echou/backup.sql.gz
any assistance would be appreciated
Does that command run in your terminal? If it does then all you need to do is to to edit crontab and add the format to schedule the backup. How often do you want to run the command?
See here for the format to use for scheduling tasks in crontab
sorted thank you
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.