Using the --one-file-system option, the tar method fails to back up files in
the target subdirectory of a mounted partition.  It backs up directories without
their files, unlike the rsync method using the --one-file-system option, which
works as expected.

I checked the log to verify that the tar command was correct.  No errors were
indicated.

I don't have a small enough partition to see whether this happens when
an entire partition is the backup target, and is implied to work by the
following comment in config.pl:

# On the other hand, if you add --one-file-system to $Conf{TarClientCmd}
# you can backup each file system separately, which makes restoring one
# bad file system easier.  In this case you would list all of the mount
# points here, since you can't get the same result with
# $Conf{BackupFilesOnly}:
#
#     $Conf{TarShareName} = ['/', '/var', '/data', '/boot'];

That is what I tried except that my back up target was a subdirectory
of a mount point.  The tar man page does not explain it, and seems to
imply that it should work as expected:

       -l, --one-file-system
              stay in local file system when creating an archive


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to