man amanda.conf
  include [ list | file ][[optional][append][ string ]+]

All include expressions are expanded by Amanda, concatenated in one
           file and passed to GNU-tar as a --files-from argument. They must
           start with "./" and contain no other "/".

You can't do what you try to do.

Jean-Louis

On 05/23/2012 11:19 AM, Greg Copeland wrote:
I'm having a hard time getting a DLE correctly created to archive some snapshots. My snapshots are housed in directories like:
snapshot/monthly.0/
    a/
    b/
    c/
snapshot/monthly.1/
    a/
    b/
    c/
snapshot/monthly.2/
    a/
    b/
    c/
...so on and so on... For each snapshot, I must create multiple DLEs to make the volume of data more manageable. As such, for each snapshot directory, I need to create multiple DLEs. The data is very uniform within each snapshot directory so I'd love to be able to provide broad regexs to snatch everything up within each DLE.

At this time I either wind up with no data or a backup which ran for over 50-hours, which should have finished in less than 19. I had to kill it. Frequently I get a nice message saying that something strange happened with the backup and the strangeness is always associated with these snapshots. Which isn't exactly surprising in that its not backing up any data. Obviously I'm not doing something right here.

What I would like to have is DLEs which grabs something like:
DLE 1: snapshot/monthly*/a/*
DLE 2: snapshot/monthly*/b/*
DLE 3: snapshot/monthly*/c/*

I've tried many variations of defining my DLE to do this so I'll not bother sharing what I have. Honestly, I doubt I can recall all the variations I've tried.

I'll also add, I have many DLEs working without issue with regexes. All of the ones which are proving problematic are the ones which require multiple wildcards.

Can someone shed some light on this or perhaps suggest a better strategy for doing this type of thing?

Thanks,

--
Greg Copeland <[email protected] <mailto:[email protected]>>
Copeland Computer Consulting



Reply via email to