Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel Backup Via PHP script and Cron Job - Not Deleting Backup off Server

Discussion in 'Data Protection' started by scubasteveownz, Jan 22, 2010.

  1. scubasteveownz

    scubasteveownz Registered

    Jan 22, 2010
    Likes Received:
    Trophy Points:
    I'm using the script below to remotely backup some user accounts on my server by running a Cron Job.

    The script works great however, once the backup file is sent via FTP it remains in the home directory of the user. This is going to fill up eventually and cause me issues.

    I'm using this same solution on another server running: cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9 - and no backup file remains on the server.

    Any ideas on how I can correct this on my server running:
    cPanel 11.25.0-R42404 - WHM 11.25.0 - X 3.9

    Thanks for the help.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice