|
|
Install rdiff-backup for incremental backups
A couple of years ago, when rdiff-backup was first written, I thought it was a good idea and did all my unattended (nightly) backups using it. (This was on Linux, but it's the same program, even though more recently copies may be a bit different nowadays.)
One day, a minor problem corrupted something and I found that getting back to earlier revisions of a file became impossible. A backup solution that doesn't have the ability to work around media failures was false security! Note: the program may have improved in this capability since then, but my feeling is once bitten twice shy. I now use rsync exclusively with intelligent "--exclude" names such as "Cache/" and "core.*" etc. In addition, rsync "out of the box" has the capability to create incremental backups (--backup and --backup-dir). The incrementals are the directory structure and flat files containing the old values when they change. Using the correct rsync options to support extended attributes, it makes it easy to restore any version of a file on a granularity of 24 hours. I use the following backup directory naming convention:
The Of course, I now have a LOT of incremental files. When the directories are more than a month old, I use "gzip" to compress them to save space.
I also use another system to back up the full and incrementals over the LAN to a backup system so that I have machine-independence (it's not 100% secure: a bad fire in my house will render both the main system and backup system useless, but I figure I have worse problems to worry about then). People might want to consider copying the incrementals to DVD or CD-RW discs. Things to worry about are
For people planning on using this technique, here's most of the command line that I use:
I do all this within a perl script and the command line is generated on the fly, but this is the gist of what's actually happening. When run at an opportune time by |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.25 seconds |
|