On Sunday 13 January 2008 Sheldon Hearn wrote:
> It works!
>
> With r1339 applied to 1.1.11 release, and then this patch applied on top
> of that, the sample script (attached) backs up from snapshot using the
> softroot approach, and when you're done, "fsvs status /" shows
> that /the-only-dir/from-snapshot is gone.
Very good! Just as designed :-)
> I think that, in the DO_CHROOT=0 case, the binds list could be reduced
> to:
>
> binds="$BACKUP_PREFIX $BINDS"
Well, the $BINDS is for /boot - so not FSVS-specific; and $BACKUP_PREFIX
should not be necessary, too.
- It's the repository URL, which isn't modified by softroot (correct?)
- If you're going via svn+ssh, http: or something else, it surely won't
matter.
> So there are now two working approaches to using fsvs to back up from
> LVM snapshots. :-)
>
> The softroot approach is nice, because it will work for backups of
> directory trees other than the root filesystem itself
> (e.g. /home/sheldonh), and will work on platforms that don't have
> mount --bind.
That's what it was designed for.
> However, I'm likely to carry on using the chroot approach until I
> understand softroot enough to trust it. :-)
No worries :-)
Do you have some blog or similar, where you write about that, so I can just
link there?
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]