Help me make backups better on GNU/Linux

Jorge Fábregas jorge.fabregas at gmail.com
Wed Mar 20 00:13:19 UTC 2013


On 03/19/2013 02:29 AM, Gordon Messmer wrote:
> After publicly bitching about Linux's poor backup infrastructure for the 
> hundredth time, I decided to write a common system for making snapshots. 

Hi,

This is interesting since we have nothing like the VSS infrastructure on
Windows.

My experience is with snapshots at the hypervisor level (VMware vSphere)
where I've been doing the quiescing you mention by means of the
following 2 scripts that the "VMware Tools"(inside the VM) would call
(when you request a snapshot):

/usr/sbin/pre-freeze-script
/usr/sbin/post-thaw-script

It's just a matter of putting the necessary stuff in those scripts and
you're done.  BTW, I always thought it would be great if there were some
standard directory where every app, when it gets installed, would put
its pre-freeze & post-thaw stuff.  (Just like Apache puts its logrotate
config file in /etc/logrotate.d/ when you install it).   That way,
whenever you perform a snapshot (no matter the kind of snapshot), all
files within those directories would be executed (prior & post snaps).

The thing is to separate the snapshotting & the quiescing activities so
that the quiescing works regardless of the snapshot technology being
used.  Is this more or less what you're doing?

--
Jorge


More information about the users mailing list