regex + sbackup

dave s ubuntu at pusspaws.net
Tue Feb 14 21:44:17 UTC 2006


On Tuesday 14 Feb 2006 21:37, Robbo wrote:
> On Tue, 2006-02-14 at 20:47 +0000, dave s wrote:
> > OK this may be dumb but ...
> >
> > I have installed sbackup, it backs us up some directories but I do not
> > want it to backup any sub directories called just 'data'
> >
> > I used the regex option and entered
> >
> > ^data$
> >
> > It still backs up data directories ... there goes 1GB ... If I change the
> > regex to just plain
> >
> > data
> >
> > it works fine but it also excludes 'process_data' python directories.
> >
> > Either I have my regex wrong (very possible) or sbackup is not working
> > the way it should.
> >
> > Can anone shed any light on this problem before I commit a bug report ?
>
> I don't use sbackup, but perhaps the regex uses the full path and not
> just the folder name.  Try these if thats the case...
>
> /data$
> ^.*/data$

Just tried them, still no go. I got a feeling its a bug

Dave





More information about the ubuntu-users mailing list