Quote:
Originally Posted by PastulioLive
How do you make sure none of the files in your backup are corrupted?
|
As per above, we take a random sample and compare the tape to the production server. This ensures that what's on the tape matches what's on the server.
Quote:
Originally Posted by PastulioLive
- Files that are rarely used and got corrupted on the production environment would overwrite previous good backups of that file.
|
Or the files can be changed by a user legitimately, "file integrity" isn't a function of backup, the function of backup is to ensure you've a copy of what is on the server. If you're looking for "corruption" or file change detection then make use of something like "AIDE (Advance Intrusion Detection Environment)".
We have this run daily on each of the individual servers and report on any file changes found. We exclude things that we "know" will change, for example user content or log files. The reports from AIDE are checked daily and anything unexpected is investigated.
Quote:
Originally Posted by PastulioLive
Do you keep a yearly rotation too to make sure you can always go back far enough?
|
Monthly off-site tapes will be retained up to our retention period (7 years), although it's only within the last 2 years that I've been employed to implement this strategy so we've a few years left before we have to deal with disposal (which will be actioned by having the tapes physically shredded).
Also be smart when deciding what you need to back up from each server. For example if you have load balanced web servers where the website code is the same across them all then you only need to back up the content files from one of them and back up the log/config files from the others.
If you're backing up log files then make sure these rotate on a daily basis (especially if you're using any form of "differential" backup), for example if you have a log file that grows by 1Gb a day then ensure that it's rotated each day and that it's not a single file that grows from 1Gb to 2Gb to 3Gb etc. By the end of the week you'll have backed that file up once a day when it increments, so you'll have backed up 1+2+3+4+5+6+7 = 28Gb instead of just the "new" 1Gb per day parts (=7Gb). Saving 21Gb a week doesn't sound much, but when you're dealing with 50 servers that's 1Tb saved!