On Tue, Feb 14, 2012 at 2:11 PM, Harry Bullen <hbullen@...> wrote:
> I'm looking at using lvm snapshots and rsync to back up a bunch of svn
> repositories every night. The repositories total about 200GB (some
> people might have committed movies to svn but I may not fix this)
> which is why I want to do this instead of svn hotcopy, which will have
> to copy all 200GB every day. I wanted to know if their is any danger
> from doing this, and if anyone might have some advice for me.
> Thank you.
LVM snapshots do not guarantee completion of commits that are in
progress when the snapshot has occurred, even if it's complete the
filesystem is concerned, because it may not yet have been written to
*dsk*. ve effectively used the stunt you describe for MySQL backups,
but always made sure to *shut down* the database and "sync" the
before LVM snapshotting, re-activating the backup, and doing this backup.
For a big envornmnent, rather than trying to outsmart things yourself,
may I suggest considering Wandisco's multi-homed commercial system to
avoid any skew between the primary and locally available secondary
servers? And if that's not feasible, visit the idea of svnsync mirrors
with configuration files transferred via a different channel for
potential merging and activation?
> Harry William Bullen IV