On Wed, Jan 21, 2009 at 6:24 PM, Michael Gorman
<[email protected]> wrote:
> Don't forget copy the backup to remote location with scp

Best solution I've ever found for replicating data between sites is
rsnapshot.  It uses rsync and hard-links to kind of do snapshotting
the way that devices like NetApp do it, so it's very space efficient.
It supports hourly, daily, weekly, and monthly snapshots, but each
successive snapshot only consumes space for the difference in size
(with some overhead for creating the directory structure, the bigger
the directory structure, the more overhead space).

It could probably do yearly if you make it start only once a year, but
I'm just suppositioning, never tried it.  It can manage lvm
devices/sources as well.

It's not useful for a complete system crash and recovery (ie the boot
record, disk layouts, etc), but it's great for replicating raw data.
I use it for backing up my webserver configs and content to my system
at home:

[r...@trip snapshots]# du -sh *
3.4G   monthly.0
53M   weekly.0
5.2M   weekly.1
6.0M   weekly.2
5.4M   weekly.3
5.1M   weekly.4
5.8M   weekly.5
5.5M   weekly.6
4.8M   weekly.7

In my case, the overhead associated with the directory structure seems
to sit right around 4.8 MB.  Also, as opposed to a NetApp, monthly.0
doesn't necessarily equate to the past month's snapshot.  It's the
last snapshot that rolled off of the previous tier, so it is what
would have become weekly.8.

[r...@trip snapshots]# vdir
total 0
drwxr-xr-x 4 root root 112 2008-11-09 00:00 monthly.0
drwxr-xr-x 4 root root 112 2009-01-18 00:00 weekly.0
drwxr-xr-x 4 root root 112 2009-01-11 00:01 weekly.1
drwxr-xr-x 4 root root 112 2009-01-04 00:00 weekly.2
drwxr-xr-x 4 root root 112 2008-12-28 00:01 weekly.3
drwxr-xr-x 4 root root 112 2008-12-21 00:01 weekly.4
drwxr-xr-x 4 root root 112 2008-12-14 00:00 weekly.5
drwxr-xr-x 4 root root 112 2008-12-07 00:00 weekly.6
drwxr-xr-x 4 root root 112 2008-11-30 00:01 weekly.7

If anybody else has something better, I'm all ears.
-- 
Regards...      Todd
All truth passes through three stages. First, it is ridiculed. Second,
it is violently opposed. Third, it is accepted as being self-evident.

Reply via email to