Try this (Windoze optimised command follows. It's easier with Eunuchs)
mminfo -s servername -r ssid -q
"!incomplete,copies<2,any_other_selection_criteria" | nsrclone -s servername
-v -S -f -
The "!incomplete" ensures that no incomplete savesets are selected. The
"copies<2" ensures that already cloned savesets aren't cloned again.
No need to look at the fragflags.
regards
Andrew McGeorge
-----Original Message-----
From: francis.berges [mailto:francis.berges AT LAPOSTE DOT NET]
Sent: 17 July 2003 11:02:PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Re: [Networker] fragflags values for cloning ??
let me give you some additionnal information:
hello bart
let me give you some additionnal information:
Every day i look at the tapes written during the night and i
search ( via a perl script ) the saved savesets.
Tape by Tape i build a file containing the list of the ssid to
clone. once these files are built i launch the command
nsrclone -b clone_pool_name -S -f file_of_ssid_to_clone
i agree with you with the meaning of the flags, so for me i
use the first flag only if equals to c ( complete ) or h ( head )
and the second ( b : browsable (savesets ) or r : recoverable
( indexes and bootstrap ) )
As i don't have an up to date documentation ( i have 5.5 docs
and my server is 6.0.1 ).I wonder if the fragflags values can
have additionnal values in 6.0
Hope i was clear enough
thanks for your answers
>To check which savesets are to be cloned, i look at the saveset's
fragflags:
> if cb or hb, it is a data saveset so i do clone it.
> if cr it is a bootstrap or an index and i do clone it too
Where do you get the relationship between the fragflags and the
requirement for cloning ???
The first letters stands for the part of the saveset contained
on the
volume (complete, head, middle or trail)
The second letter for the save set status (browsable, recoverable,
aborted or incomplete)
Bart
--
Note: To sign off this list, send a "signoff networker"
command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34EUR/mn) ; tél : 08 92 68 13 50 (0,34EUR/mn)
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
========================================================================================
This email message and attachments are confidential to our organisation and
subject to legal privilege. If you have received this email in error, please
advise the sender immediately and destroy the message and any attachments. If
you are not the intended recipient you are notified that any use, distribution,
amendment, copying or any action taken or omitted to be taken in reliance of
this message or attachments is prohibited. You can read our Privacy Policy
here: <http://www.asbbank.co.nz/privacystatement.stm>
=========================================================================================
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|