well, i found answer. for correct work rsync symlink restore in rsyncd.conf set option "use chroot = yes" without it symlink restore is not work. it not a bug of rsync - it rsync feature :) https://bugzilla.samba.org/show_bug.cgi?id=4263 i think, will be good for update FAQ & install HOWTO about this option. > 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
-- Yours sincerely Anatoly V Zhestov Senior system Administrator <СУП-Фабрик>
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/