• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Cron Job for Tar and Mysql backups

M

matteveryday

Guest
I'm using Plesk 7.5.4 and it has a built in cron job interface. I want to use it to automate my backups. Right now I'm making a mysqldump and tar file of httpdocs directory (every 2 weeks).

I want to create a cron job for each of these processes. Would the commands be the same?

Mysqldump:
mysqldump --opt -uusername -ppassword database > /www/var/vhosts/website.com/private/backupname.sql

Tar:
tar -cvvf private/tarbackup.tar httpdocs/
 
Back
Top