Hi,
Bernhard Ott wrote on 16.02.2007 at 01:21:56 [[BackupPC-users] rsyncp problem
--prune-empty-dirs]:
> there seems to be a problem using the rsync --prune-empty-dirs
> (-m) option with backuppc (see log-file/config).
presuming I had a new enough version of rsync for the man page to include an
explanation of what '--prune-empty-dirs' does, I'd probably be asking, why
you would want to use that.
Generally speaking, you can't just add any option your client side rsync
might support. Some options might work, some might be silently ignored,
others will break things. Is '--prune-empty-dirs' a request to the server
side rsync process (modifying the file list) or to the client side
(File::RsyncP in this case), or does it even affect the protocol exchange
between both? File::RsyncP is known not to support all rsync options, much
less recent extensions.
> ### log
> Connected to 192.168.x.x:873, remote version 29
> Negotiated protocol version 26
This seems to indicate you are not running the latest version of
File::RsyncP. Which version are you running?
> Sending args: --server --sender --numeric-ids --perms --owner --group -D
> --links --times --block-size=2048 --recursive --prune-empty-dirs -D
> --ignore-times . .
This does not seem to agree with your config file.
> ### Rsync Args of host.pl
> $Conf{RsyncArgs} = [
> '--numeric-ids',
> '--perms',
> '--owner',
> '--group',
> '--devices',
^^^^^^^^^
> '--links',
> '--times',
> '--block-size=2048',
> '--recursive',
> '--prune-empty-dirs',
> '--checksum-seed=32761',
^^^^^^^^^^^^^^^^^^^^^
> # Add additional arguments here
> #
> '-D',
>
> '--include', '**/',
> '--include', '**/[mM][iI][tT]_[aA][lL][lL][eE][sS]/*',
> '--exclude', '*',
>
> ];
Are you sure your --include and --exclude options are compatible with what
BackupPC generates? Are '--include=**/' and '--prune-empty-dirs' compatible?
Regards,
Holger
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/