• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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