I was wondering if anyone had experience with incremental/differential backups and if i had something like Monday - Full and Tues-Fri incremental.
The scenario pans out as: It’s Wednesday and i want to recover Tuesday’s backup. Would i need to have all the files to recover that specific day? What if i am missing Tuesday, would this affect the recovery?
I want a incremental/differential backup. What would be the best solution for this type of request?
EC2 Snapshots? No, you can delete snaps and the differences are resolved. You can skip snaps without concern. If a snap exists for the date you want, all of the bytes associated with that snapshot also exist.
EC2 Snapshots are incremental, but opaque. It sounds like you might want an actual backup solution though, so probably worth investigating backup tooling.
If you’re using EC2 Snapshots, you’re probably fine. However, it’s very important to practice your recovery plan! Backups are only as good as the last time they were tested in a restore scenario.
AWS makes this relatively painless. Use your volume(s) snapshot to create a brand new EC2 instance. Fire up that instance. Log into it and poke around. This shouldn’t have any impact on your production system. Once you’re satisfied things look good, delete the test instance and delete the restored volumes (so you don’t accrue unnecessary additional charges).
You’ll want to get approval from your superiors first, as this exercise is not free. It’s pretty minimal cost, though, and well worth the piece of mind and CYA factor.
Thank you for the backup suggestion. While we already have a backup solution this looks good for my personal use.
My company is looking for an outsourced solution with a more set it and forget approach. Right now we have our server, NAS and a sneaker net type deal with an external hard drive. I’d like to get rid of the last step and make it more automated.
S3 is just a storage service, it is not a backup solution. It will hold your backup files, whatever they may be.
You can configure an object lifecycle on a s3 bucket, where the object(s) move through various storage classes all the way to ‘deleted’, i.e.: Standard → IA → Glacier → Deleted
I’ve had much success with CloudBerry backups. It can be configured with several different backup methods (full, incremental, differential), using s3 as it’s backup destination. The backup method used is not mutually exclusive from the storage method used, and s3 is nothing more than a place to put your things (in this context).
To answer your question about incremental vs differential; with an incremental, if you’re missing a set of backups between the last full backup, and day you’re looking to restore to, then you won’t be able to restore. You need the last full backup and all the incremental backups after for a full restore. Each backup set is typically small, and goes fast, since it’s just looking at what’s changed since the last incremental.
For a differential restore, you need the last full plus the last differential. In that scenario, you can restore with just Wednesday’s backup even if Tuesday’s was lost. The tradeoff is that the size of each diff is larger than the previous diff and the time to take a diff is progressively longer.
Thank you for the reply. Much appreciated it. I am really wondering if s3 can do such a thing. I have seen people reporting this is possible although the verbiage is not concise but doable. We’re looking at all the ways to save money with such a solution.
That’s a good point. I could always make the back ups on my end and then transfer them to S3.