On Wed, August 30, 2006 11:22, Craig Barratt wrote:
> Sturla writes:
>
>> Hi there list.
>> I've been using backuppc for quite a while and am extremely happy with
>> it
>> so far, but..
>> I had to do a full restore of my web/mail-server the other day and had a
>> nasty surprise when all symlinks where restored but dangling...
>> They looked all righ, they seemed to be pointing to the right place but
>> they where all reported as "dangling".
>> Anyone else seen this and perhaps can tell me what I'll have to do to
>> prevent it?
>
> Can you be more specific about what XferMethod you are using,
> and the exact error message?  What program reports them as
> "dangling"?
>
> Perhaps the symlink gets created before the target file, which
> should be ok.  After the restore is complete is the symlink correct
> or not? Perhaps you are restoring to a different directory, in which
> case any absolute symlinks would now point to the wrong place.
>
> Craig
>
I'm using rsync, I'm not sure what told me that "xxx is a dangling
symlink" other than that it was in bash, but I can't seem to replicate it
now.
I restored to the same directory as the backup was taken from and the
symlinks LOOK ok when I stat them, but they just won't work.
If I delete the symlink and create it again with the info from stat it
works, but it's kinda tedious doing this on every symlink.
I tried to write a script to do it for me, but I'll have to work some more
on the selection-part on what to do with regards to what the first char in
the symlink is (wether its / or .. or just a regular letter).

Any pointers would be great...

Thanx

Sturla


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to