[Box Backup] Windows regex help
Peter Jalajas, GigaLock Backup Services
boxbackup@fluffy.co.uk
Thu, 29 May 2008 08:45:53 -0400
Hi Timothy,
I'm not sure, but I think this line:
> AlwaysIncludeDirsRegex = D:\BU08\.*
should be more like:
> AlwaysIncludeDirsRegex = D:\\BU08.*
I hope that helps.
Good luck.
Pete
On Thu, May 29, 2008 at 8:12 AM, Timothy Wilson
<timothy.wilson87@gmail.com> wrote:
> Hello guys,
>
> I've read the wiki and the mailling lists, but I can't seem to find
> the regex I need.
>
> I'm using the windows client. All I want to do is backup a bunch of
> BU08xxxx folders. So I have a hierarchy like this:
>
> D:\
> D:\somefolder
> D:\somefiles.zip
> D:\somefiles2.zip
> D:\BU080521
> D:\BU080522
> D:\BU080523
>
> etc.
>
> At the moment I have the following regex:
>
> Path = D:\
> # So we don't copy gb's and gb's of old data
> ExcludeFilesRegex = D:\\.*$
> ExcludeDirsRegex = D:\\.*$
> AlwaysIncludeDirsRegex = D:\BU08\.*
>
>
> But this doesn't backup anything!! In the logs, box connects, then
> disconnects straight away, so I know it's a problem with my regex. Can
> someone please help?
>
> Thanks,
> Timothy.