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".
Cheers,
Raman
------------------------------------------------------------------------------
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/
|