Backups Deleting & Retain Question
Hi,
I am using a 250GB disk mounted as "/backup" and just about to switch to the new cpanel backup system (nice, well done guys)
My backup file is about 90GB, so I have set to do backups every day but only retain two daily backups. 2 x 90 will comfortably fit in 250GB (yes, even I can do those maths)
My question is does cpanel delete the oldest daily backups directory first before it generates and retains the new daily one? If not then does this mean my backups will fail because it is trying to fit a third backups in before it deletes the older ones.
Thank you for any help.
HP
-
Hello :) The retention function occurs after the new backup has been generated. Thus, in your scenario, the third backup would generate before the first one is removed. You may want to reduce the number of backup files retained if disk space is an issue. Thank you. 0 -
[quote="cPanelMichael, post: 1454932">Hello :) The retention function occurs after the new backup has been generated. Thus, in your scenario, the third backup would generate before the first one is removed. You may want to reduce the number of backup files retained if disk space is an issue. Thank you.
Thanx heaps for your answer Michael. I think it is time for me to upgrade my backup disk to 500gb. I will be able to retain more daily backup as well. But how cool is it to now be able to retain individual daily backups. This is a real superb move. All good. Thanx0 -
My searching has found this: Thank you.
0 -
Thank you Michael for that. I have trouble making a cuppa coffee let alone trying to create "hooks". Does cPanel have a custom authoring service or do you know any trusted person or organisation I could approach please? Thank again Happy 0 -
We don't recommend any specific development companies, but you can find a list of offers at: cPanel App Catalog - Development Services Thank you. 0 -
An easier solution that might be in your grasp is to write a daily cron job to nuke the old backup. 0
Please sign in to leave a comment.
Comments
8 comments