1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Cron job to backup httpdocs

Discussion in 'Plesk for Linux - 8.x and Older' started by eliboone, Jul 19, 2007.

  1. eliboone

    eliboone Guest


    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.

  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    Jul 5, 2007
    Likes Received:
    Seattle Area
    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.