Menu

exclude regex problem

Help
dave_s22
2006-02-14
2013-02-05
  • dave_s22

    dave_s22 - 2006-02-14

    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 !

     
    • Aigars Mahinovs

      Aigars Mahinovs - 2006-02-14

      The regex is applied to full path of every file or directory, so in your case a regex of "/data/" should work.

       
    • dave_s22

      dave_s22 - 2006-02-17

      OK I gave it a go but /data/ excludes directories

      /home/dave/test/data

      as  well as

      /home/dave/test/data_process

      dave

       
    • dave_s22

      dave_s22 - 2006-02-17

      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

       

Log in to post a comment.