• 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/

Cron job to backup httpdocs

E

eliboone

Guest
Hi,

I need to create a Cron job for 3 domains that will backup httpdocs nightly and then gzip and tar the backup. I would then like to be able to ftp the backup to an in-house file server. I have read lots of posts on cron jobs but don't know what I need to include in a php script to run the backup. Does anyone know where a primer on creating such a script would be located?

I am running Red Hat 2.6.9.
Thanks,

eli
 
You can already do this in plesk - go to the client in the UI and then click on backup, then schedule backup.

Fill in the information and setup a FTP repository.
 
Back
Top