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!

New Thread How do incremental backups work?

Discussion in 'Data Protection' started by coursevector, Jun 14, 2019 at 3:22 PM.

  1. coursevector

    coursevector Well-Known Member

    Feb 23, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I know there have been some posts before on how this works but non really explain it in detail.

    So I am currently using compressed backups and it's getting to the point where it's impacting the server and taking too long. I'd like to switch to incremental backups. Our backups are uploaded to S3.

    Here is my first question, if I switch to incremental, when is the full backup created? So for example, I set it to incremental on Jan 1 with daily incrementals and I want to retain the last 30 days of backups. It uploads to S3 and the bucket has a retention policy to only keep the last 31 days (for example). So, March 30, i decide i need to restore a backup, do I need all 90 days worth of backups in order to restore the account? I'd assume not if the retention period is set to 30 days, but that means at some point, it created a new full backup for the incrementals to build from. So on day 31, did it create a new full backup or did it merge day 1 and day 2? And if it is merging the two oldest days, how can it do this if they are uploaded to S3 and not stored on the server itself?

    My other question is, what if i have a full backup on Jan 1, it fails on the 3rd day and I go to restore in on the 7th day. Will all the incrementals on the 4th, 5th, 6th be corrupted since they build off the 3rd incremental?

    Finally, how does this handle files that were deleted? If i have an account with a large log file i want deleted. If i go to restore it, will that file come back? (same goes for directories)

    If someone could clear up how incrementals work in detail, i'd appreciate it.

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