• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

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