Share

flexbackup

Tracker: Bugs

5 Flexbackup not correctly excluding directories. - ID: 1788129
Last Update: Comment added ( john_r_graham )

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.


Paco Arjonilla ( arjonais ) - 2007-09-05 00:05

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2008-03-15 22:53
Sender: john_r_graham


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


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.