[Box Backup] Wildcards in BackupLocations

James O'Gorman boxbackup@fluffy.co.uk
Sun, 23 Mar 2008 15:17:46 +0000


On Sun, Mar 23, 2008 at 03:13:56PM +0100, Kjell Christian Bruheim wrote:
>  The idea was to use %USERNAME% as remote folder name and %USERPROFILE%\My 
>  documents as local folder to store like this:
> 
>  %USERNAME%
>     {
>     Path = %USERPROFILE%\My documents\
>     }
> 
>  I was kinda hoping this would solve the problem. But it does not recognize 
>  the %VARIABLE% :(

Why not just have one store called "Users" which points to C:\Documents
and Settings"? Something like:

users
{
	Path = C:\Documents and Settings
	ExcludeDirsRegex = .*
	AlwaysIncludeDirsRegex = My Documents$
}

NB: This is untested, so may not be exactly right.

James