Menu ▾ ▴

#23 Flexbackup not correctly excluding directories.

open
nobody
None
5
2007-09-05
2007-09-05
No

I had './ftp/anonymous/media/.*' in the exclude list, but the filename './ftp/anonymous/media/pelis/PELICULA - Manuale de Amore (Espa\361ol).avi'. Changing the name of the file to something less strange excludes it correctly, so my guess is that flexbackup does not correctly parse some characters.

Discussion

  • John R. Graham

    John R. Graham - 2008-03-15

    Logged In: YES
    user_id=1745635
    Originator: NO

    Exclude is really designed for individual files that may occur anywhere, not for specific paths where you want to exclude all files under that path. Use prune instead. For your example, if your backup set was baching up from the root of the volume (i.e., "/"), then the prune term would be:

    $prune{'/'} = 'ftp/anonymous/media';

    Note that, with prune and exclude that the terms are regular expressions, not filename globs. Furthermore, flexbackup does some manipulation of the terms to come up with the final regular expressions that is somewhat unintuntive. I've created enhanced documentation that explains a great deal about prine and exclude. Email me if you want it.

    - John

     

Log in to post a comment.