On Wednesday 09 January 2008 19:58:06 Philipp Marek wrote:
> Can you send me a tar of /etc/fsvs/6666* and /var/spool/fsvs/66/66/*?
> Privately, if you prefer? Or at least the dir and Urls files.
>
> Does the dir file get rsynced?

When I perform the fsvs in a chroot, I rsync the conf and WAA back from 
the snapshot onto the live filesystem, yes.  When I use the softroot 
approach, no (since fsvs should have honoured the FSVS_CONF and 
FSVS_WAA envars).

I'm attaching 4 tarballs, plus the script I'm using for the test 
backups.  Note that I'm now backing up a directory called the-only-dir, 
not root's home directory.  The tarballs contain:

with-chroot-1.tar.gz    Log file showing first run with chroot, along
                        with conf, waa and repo.
with-chroot-2.tar.gz    Log file showing second run with chroot, along
                        with conf, waa and repo.
without-chroot-1.tar.gz Log file showing first run without chroot,
                        along with conf, waa and repo.
without-chroot-2.tar.gz Log file showing second run without chroot,
                        along with conf, waa and repo.

The two methods fail in different ways. :-)

Using the chroot method, a file created in the snapshot is committed to 
the backup.  This proves that fsvs is backing up off the snapshot.  
However, the second commit breaks with "Name does not refer to a 
filesystem directory".

Using the softroot method, a file created in the snapshot is not 
committed to the backup.  This proves that fsvs is not backing up off 
the snapshot.  Other than that, everything works.  But then everything 
works if I don't bother with snapshots, anyway. ;-)

This took a bit of effort, so I'm hoping what I've provided is enough.  
If not, it might be time for me to provide you with administrative 
login on a scratch box. :-\

Ciao,
Sheldon.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to