Holger Parplies wrote:
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.
It's the only way (as far as I understood the rsync-man page) to include
a directory recursively. The downside is, that the whole tree is
included (containing only directories but no files) which makes it
difficult to find the backup files for recovery.
I tried the $Conf{BackupFilesOnly} first, but that didn't work.
>
> 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.
I was afraid to hear that;-)
> This seems to indicate you are not running the latest version of
> File::RsyncP. Which version are you running?
Debian says 0.64-1, backuppc is 2.1.2pl1
>
>> 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.
you're right - I have to check that ...
>
>
> Are you sure your --include and --exclude options are compatible with what
> BackupPC generates? Are '--include=**/' and '--prune-empty-dirs' compatible?
Syntax is from manpage and, as mentioned above, the only way to solve my
"problem" including a specific pattern (directory) wherever it shows up
in the tree.
rsync -avm [EMAIL PROTECTED]::share --include=*/ --include=MIT_ALLES/*
--exclude=* works as expected.
The main problem for me was to find out how backuppc and the different
transfer methods deal with $Conf{BackupFilesOnly}-values: I still have
to work on that next week ;-) Unfortunately I deleted the complete
pc-directory (including the log files), so I have to set up a new host.pl.
Kind regards,
Bernhard
-------------------------------------------------------------------------
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/