• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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