BackupPC-users

Re: [BackupPC-users] why are excludes sent to rsync when none are present in the config file?

2011-09-19 11:17:59
Subject: Re: [BackupPC-users] why are excludes sent to rsync when none are present in the config file?
From: Raman Gupta <rocketraman AT fastmail DOT fm>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 19 Sep 2011 11:16:20 -0400
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&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; 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/