Anatoly writes:

> My os Debian x64
> I use first backuppc 2.1.2 from apt repositories, and try 3.0 from src now.
> When i start restore incremental or full backup, symlinks with relative path
> restore broken, without leading slash. for example:
> 
> before restore:
> ------------
> /etc:# ls -la ./motd
> lrwxrwxrwx 1 root root 13 2007-04-24 21:32 ./motd -> /var/run/motd
> ------------
> after restore:
> ------------
> /etc:# ls -la ./motd
> lrwxrwxrwx 1 root root 12 2007-09-26 18:33 ./motd -> var/run/motd
> ------------
> all configs is standart. in web-interface viewing file /etc/motd is ok
> ------
> /var/run/motd
> ------
> config for this host
> $Conf{XferMethod} = 'rsyncd';
> $Conf{RsyncdAuthRequired} = 0;
> $Conf{RsyncShareName} = ['here'];
> $Conf{BackupFilesExclude} =
> ['/proc', '/sys', '/opt/tmp', '/opt/projectlog/', '/opt/var'];
> -----------
> command restore from config.pl
> $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath
> $argList+';
> 
> what i need to change in config or libs for repair it?

Strange.  I did a quick test and confirmed that the absolute
symlinks are correctly restored with rsync.

The only case I know where the leading "/" is stripped is
with a tar restore if you don't specify -P.

Did you restore with tar or rsync?

What does /etc/rsyncd.conf contain?  What version of rsync are you
using?

Please email me the RestoreLOG file.

Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to