BackupPC-users

Re: [BackupPC-users] Missing symlink backups, rsync+ssh

2008-07-10 14:55:09
Subject: Re: [BackupPC-users] Missing symlink backups, rsync+ssh
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Jason Jorgensen <jasonj AT fasturl DOT net>
Date: Thu, 10 Jul 2008 11:54:58 -0700
Jason writes:

> If anyone has some guess where I can look for this problem I would
> appreciate some help.

Did you see my earlier reply?  See below.

> Examining the Xferlog I see that the rsync definately saw the /bin/sh
> symlink during the transfer.
> 
> create l 777       0/0           4 bin/sh -> bash

Ok.  Please email me the output of:

    ls -l TOPDIR/pc/HOST/NNN/fSHARE/fbin

Is there a file fsh there?  If so, what is the output of

    BackupPC_zcat TOPDIR/pc/HOST/NNN/fSHARE/fbin/fsh

Also, please email me the file TOPDIR/pc/HOST/NNN/fSHARE/fbin/attrib.

Craig

---------- Forwarded message ----------
To:   Jason Jorgensen <jasonj AT fasturl DOT net>
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Cc:   backuppc-users AT lists.sourceforge DOT net <backuppc-users AT 
lists.sourceforge DOT net>
Date: Tue, 8 Jul 2008 02:00:22 -0700
Subj: Re: [BackupPC-users] Missing symlink backups, rsync+ssh

Jason writes:

> Searching the wiki, docs and web and I havent found an answer yet.
>
> Currently using BackupPC Version 3.0.0 on a Debian box.
>
> Backing up over 40 hosts. Has been working wonderful, thanks alot!
>
> My current problem is that not all symlinks are being backed up.
>
> This symlink is backed up:
> /lib/libcrypt.so.1 -> /lib/libcrypt-2.3.6.so
>
> But this symlink is not backed up for any host:
> /bin/sh -> bash
>
> The following are the default parameters rsync/backuppc is using. If I
> use these parameters to clone one box to another box all the symlinks
> are intact, but not in the backups.
> --numeric-ids
> --perms
> --owner
> --group
> -D
> --links
> --hard-links
> --times
> --block-size=2048
> --recursive
> --archive

Sorry about the delay in replying.

Hmmm, the default $Conf{RsyncArgs} doesn't include --archive.
I'm not sure what side effects it might have.

Two questions:

   - What version of rsync is on the client?

   - Do the symlinks appear when you browse the backup (ie: is this
     a restore problem or a backup problem)?

If the symlinks don't appear when you browse the backup, try
removing the --archive flag and run another full.

If the symlinks do appear in the backup but not the restore, please
send me the RestoreLOG file.

Craig


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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/