|
Home > Archive > Data Storage > July 2004 > Legato Networker - is it possible to archive complex directory subsets
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Legato Networker - is it possible to archive complex directory subsets
|
|
|
| Howdy,
I would like to use Networker to archive and groom a select subset of a
directory containing ~600k files (>800 GB) without having to break the
archive up into several thousand seperate jobs, or having to archive the
entire thing and manually groom the files. Looked into writing a custom
directive file, but this seems almost impossible given the very limited
regex support.
Here's an incomplete command line to illustrate what I need to archive
(the complete version is about 10x longer with many nested parentheses):
find /study/fMRI_tools/analysis | PERL -ne \
'print if m$/afni/\d{3}/(gng(/gng_[12])?|nbk)/mc(_acc|_fast)?$'
Watching the output of "nsrarchive -nv ..." indicates that uasm is
called for each file, but I'm lost on where this gets directed to. Is
it be possible to generate a script that would be the equivalent of
calling nsrarchive with clone, verify, groom, and annotation options
using something similar to the above command line to produce a list of
files?
Thanks for any advice,
coax
| |
|
| "coax" <.@.> wrote in message
news:3lqre0puas35i31k80f86ti24qkp637ojh@
news.easynews.com...
> Howdy,
>
> I would like to use Networker to archive and groom a select subset of a
> directory containing ~600k files (>800 GB) without having to break the
> archive up into several thousand seperate jobs, or having to archive the
> entire thing and manually groom the files. Looked into writing a custom
> directive file, but this seems almost impossible given the very limited
> regex support.
>
> Here's an incomplete command line to illustrate what I need to archive
> (the complete version is about 10x longer with many nested parentheses):
>
> find /study/fMRI_tools/analysis | PERL -ne \
> 'print if m$/afni/\d{3}/(gng(/gng_[12])?|nbk)/mc(_acc|_fast)?$'
>
> Watching the output of "nsrarchive -nv ..." indicates that uasm is
> called for each file, but I'm lost on where this gets directed to. Is
> it be possible to generate a script that would be the equivalent of
> calling nsrarchive with clone, verify, groom, and annotation options
> using something similar to the above command line to produce a list of
> files?
>
I believe that you can call your own script to select the files and pass
this onto the networker backup program. ( in the clients view, program
entry. )
I suggest calling your legato support people, they should beable to explain
how to do this.
|
|
|
|
|