Hi all,
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' a python directory.
Can anybody tell me where my exclude regex is wrong ?
Cheers
Dave
PS Love the software !
The regex is applied to full path of every file or directory, so in your case a regex of "/data/" should work.
OK I gave it a go but /data/ excludes directories
/home/dave/test/data
as well as
/home/dave/test/data_process
dave
Opps, I take it back
/data/ does work as expected, I suspect I had not saved the latest config.
Many thanks for your help, a great project just what I needed :)
Log in to post a comment.
Hi all,
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' a python directory.
Can anybody tell me where my exclude regex is wrong ?
Cheers
Dave
PS Love the software !
The regex is applied to full path of every file or directory, so in your case a regex of "/data/" should work.
OK I gave it a go but /data/ excludes directories
/home/dave/test/data
as well as
/home/dave/test/data_process
dave
Opps, I take it back
/data/ does work as expected, I suspect I had not saved the latest config.
Many thanks for your help, a great project just what I needed :)
Dave