On Mon, 4 May 2009, Mark Maciolek wrote:
> hi,
>
> You should leave the RysncShareName as / and add the directories under
> BackupFilesOnly
>
>
> $Conf{BackupFilesOnly} = {
> '*' => [
> '/home',
> '/etc'
> ]
> };
No, because I want the whole of the / partition backed up (seperately to
the home, boot, dos and "volatile" partitions). rsync has been
supplied with --one-file-system.
I just realised of course that I was mistaken about the "/" directory
already appearing in the pool causing the test to be erronously triggered
(I forgot that "/" would be munged to "f%2f" that wouldn't collide with
anything already there), so I don't actually know why it is failing.
The /pcbackups/pc/dirac/new directory (so far, halfway through the backup)
contains:
-rw-r----- 1 backuppc backuppc 45 May 4 21:15 attrib
drwxr-x--- 4 backuppc backuppc 4096 May 4 21:15 f%2fboot
drwxr-x--- 12 backuppc backuppc 4096 May 4 21:41 f%2fdos
drwxr-x--- 5 backuppc backuppc 4096 May 4 21:14 f%2fhome
whereas, if "/" was listed first, you also end up with f%2f, like I did in
the previous successful backup:
-rw-r----- 2 backuppc backuppc 112 Apr 30 20:14 attrib
-rw-r----- 1 backuppc backuppc 609 Apr 30 20:24 backupInfo
drwxr-x--- 33 backuppc backuppc 4096 Apr 30 03:47 f%2f
drwxr-x--- 4 backuppc backuppc 4096 Apr 30 19:23 f%2fboot
drwxr-x--- 12 backuppc backuppc 4096 Apr 30 19:56 f%2fdos
drwxr-x--- 5 backuppc backuppc 4096 Apr 30 19:22 f%2fhome
drwxr-x--- 11 backuppc backuppc 4096 Apr 30 20:14
f%2fvolatile%2fvar%2fcache%2fapt-cacher-ng
The logfile shows this:
2009-05-03 19:03:00 full backup started for directory /home (baseline backup
#89)
2009-05-04 21:14:47 unexpected repeated share name / skipped
2009-05-04 21:14:47 full backup started for directory /boot (baseline backup
#89)
2009-05-04 21:15:10 full backup started for directory /dos (baseline backup #89)
--
Tim Connors
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|