On 9/19/2011 11:16 AM, Raman Gupta wrote:
> On 09/18/2011 10:29 PM, Adam Monsen wrote:
>> AHA, adding the following entry to BackupFilesOnly '*' worked:
>>
>> /opt/backup/stage/other/*
>>
>> Now that directory is backed up. But I don't understand why. :)
> Because
>
> /opt/backup/stage/other
>
> backs up the directory entry itself, but not its contents.
>
> /opt/backup/stage/other/*
>
> backs up the directory entry and contents but not subdirectories.
>
> /opt/backup/stage/other/**
>
> backs up the directory and all contents, including subdirectories.
>
> Do "man rsync" and check out the section "INCLUDE/EXCLUDE PATTERN RULES".
That's not the behavior that I'm seeing. I have a linux host that I am
backing up via rsyncd. BackupFilesOnly includes "/etc" and a couple of
other directories. This successfully backs up the entire subtree on all
three specified directories. No asterisks required anywhere.
--
Bowie
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|