Cron Job For Backups

JZM

Member
Aug 17, 2007
19
0
51
How can I write a cron so that it deletes the previous days back up at midnight - They are backed up to S3 so I am wanting to remove the local copy out of ~/backups
 

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
585
25
153
cPanel Access Level
Root Administrator
Hello,

Apparently you are using a custom backup script, not the one in cPanel is that correct?
It would probably be a good idea to ask the author of the custom script you are using to backup to S3.
 

JZM

Member
Aug 17, 2007
19
0
51
Hello,

Apparently you are using a custom backup script, not the one in cPanel is that correct?
It would probably be a good idea to ask the author of the custom script you are using to backup to S3.
Peter,

I have been there and tried that - I am using /http://s3backupwhm.com/