Networker

Re: [Networker] How to duplicate a client from command line? (SOLVED 99.9%)

2006-07-05 06:06:10
Subject: Re: [Networker] How to duplicate a client from command line? (SOLVED 99.9%)
From: Manel Rodero <manel AT FIB.UPC DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 5 Jul 2006 11:56:51 +0200
But, if I enable the group and skip every day I'll get an skip bootstrap
report for this group every day. I want this group disabled and only
"execute" it using command line nor the GUI (it works ok using the 'savegrp'
command as most people recommend to me).

Now I would like to schedule it for a concrete day (i.e. next sunday) so the
operator can insert the HISTORY tapes in the autochanger and launch the
process that will remain scheduled for this day. The operator can then
shutdown the networker program and logoff of his windows session (terminal
or console).

Is the AT windows command a good utility for launching my 'savegrp' command?
(I ask this because of the SYSTEM account, permissions, etc.). Our Networker
services are running using the SYSTEM account in the server so I suppose
that this trick will work but ... any idea or comment about this?

Thanks.

> -----Original Message-----
> From: Legato NetWorker discussion 
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Krishnan, 
> Ramamurthy
> Sent: Wednesday, July 05, 2006 10:46 AM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: Re: [Networker] How to duplicate a client from 
> command line? (SOLVED 99.9%)
> 
> 
> Enable the HISTORY group.  Assign it a schedule which "skips" 
> everyday.
> Override the schedule for a full ONLY on days that you require the
> backups. 
> 
> HTH
> 
> Rgds, Ram.
> 
> -----Original Message-----
> From: Legato NetWorker discussion 
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
> On Behalf Of Manel Rodero
> Sent: 05 July 2006 09:39
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: Re: [Networker] How to duplicate a client from command line?
> (SOLVED 99.9%)
> 
> Hello,
> 
> Thank you for all your answers.
> 
> Finally, I did something similar to your ideas.
> 
> Now I have the "NORMAL-Backup" group and the "HISTORY-Backup" 
> group. The
> normal backup group is scheduled every day for level backup and the
> weekend for full backup.
> 
> I now only have 1 instance of every client. When I want to do the
> history backup (2 times a year) I add to this group the necessary
> clients. All its savesets are OK because they are the client 
> definitions
> used every day.
> 
> Then, I use the command line of savegrp:
> 
>       savegrp -l full -y "1 year" -w "1 year" -G "HISTORY-Backup"
> 
> for running the HISTORY backup with the new retention/browse policy.
> 
> But, if I want to schedule this backup for a concrete day 
> (not a week or
> month schedule, I want to execute it for example next 
> sunday), what must
> I do? I can't use an schedule because I only want this backup run only
> one conrete day, so using Windows AT command will work?
> 
> Thank you very much.
> 
> > -----Original Message-----
> > From: Legato NetWorker discussion
> > [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Vince Howard
> > Sent: Thursday, June 29, 2006 4:29 PM
> > To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> > Subject: Re: [Networker] How to duplicate a client from 
> command line?
> > 
> > 
> > Hi Manel,
> > 
> > I do something similar to Will Parsons.  I have two sets of groups 
> > (and pools), one for daily backups and one for monthly - with 
> > appropriate browse/retention policies.  I also edit the 
> schedules with
> 
> > overrides so that the daily backups do a 'skip' when the monthly 
> > backup is due to run, e.g. a schedule for full every Friday 
> is set up 
> > as:
> > 
> > Period:   Week
> > Action:   skip incr incr incr incr full skip
> > Override: skip 01/06/06
> >           skip 02/03/06
> >           skip 03/03/06
> >           skip 03/31/06
> >           skip 05/05/06
> >           skip 06/02/06
> >           skip 06/30/06
> >           skip 08/04/06
> >           skip 09/01/06
> >           skip 10/06/06
> >           skip 11/03/06
> >           skip 12/01/06
> > 
> > This will schedule a full backup every Friday EXCEPT the 
> weekends when
> 
> > I want to run a monthly backup. The corresponding monthly 
> schedule is:
> > 
> > Period:   Month
> > Action:   skip skip skip skip skip skip skip 
> >           skip skip skip skip skip skip skip 
> >           skip skip skip skip skip skip skip 
> >           skip skip skip skip skip skip skip 
> >           skip skip skip
> > Override: full 01/07/06
> >           full 02/04/06
> >           full 03/04/06
> >           full 04/01/06
> >           full 05/06/06
> >           full 06/03/06
> >           full 07/01/06
> >           full 08/05/06
> >           full 09/02/06
> >           full 10/07/06
> >           full 11/04/06
> >           full 12/02/06
> > 
> > All I have to do is remember to load the correct tapes into the 
> > library and update the overrides at the start of each year.
> > 
> >  
> > Best Regards,
> >  
> > Vince
> >  
> > 
> > Vince Howard
> > Programmer/UNIX System Administrator
> > IT Section
> > Wansbeck District Council
> > Front Street West
> > Bedlington
> > Northumberland
> > NE22 5TU
> > UK
> >  
> > Tel (DDI): +44 (0)1670 843472
> > Fax:       +44 (0)1670 843484
> > e-mail:    v.howard AT wansbeck.gov DOT uk
> > 
> > 
> > -----Original Message-----
> > Manel Rodero wrote:
> > 
> > >Hello,
> > >
> > >I'm trying to create an script for duplicating clients from command
> > line.
> > >The idea is the following:
> > >
> > >- I have more than 100 clients defined with its savesets 
> and arranged
> > in the
> > >"normal" backup group (with the "normal" retention and
> > browse policy of
> > 28
> > >days)
> > >- Two times a year I need to do an "special" backup with a 
> different 
> > >retention policy (1 year)
> > >
> > >Until now, this special backup was for only 1 or 2 machines, so I
> > created
> > >manually these clients, changed their browse and retention 
> policy and
> > add
> > >them to a new backup group.
> > >
> > >The problems with this are:
> > >
> > >1 - I need to create manually the clients and I need to define them
> > with the
> > >same savesets as the normal clients
> > >2 - Then in the clients view I have duplicated clients so is
> > difficult
> > to
> > >differentiate wich one is the "normal" client and wich one is the
> > client
> > >with the different policies
> > >
> > >So the idea is create an script similar to this:
> > >
> > >- The day of the special backup execute an script that
> > >- Lists all the clients in the normal group and duplicate
> > them chaging
> > the
> > >retention/browse policy and the backup group
> > >- Do the backup (start the group)
> > >- When the backup finishes, erase these special clients 
> (the data in
> > the
> > >tapes will not be erased because of its 1 year retention policy)
> > >
> > >If we need to recover data from these special backups
> > (rarely), we will
> > >recreate the necessary client and recover its data.
> > >
> > >Any ideas about how to solve this problem? Any other ideas?
> > >
> > >Thank you very much.
> > >
> > >PS: Sorry for my bad english ;-)
> > >
> > >--
> > >
> > >o o o  Manel Rodero                   | LCFIB - UPC
> > >o o o  Systems Manager                | Campus Nord - Modul B6
> > >o o o  Laboratori de Calcul           | Jordi Girona, 1-3
> > >U P C  Facultat Informatica Barcelona | 08034 Barcelona (Spain)
> > >                                      |
> > >       manel AT fib.upc DOT edu              | Tel: +00 34 93 401 6940
> > >       http://www.fib.upc.edu/~manel  | Fax: +00 34 93 401 7040
> > >
> > >To sign off this list, send email to 
> listserv AT listserv.temple DOT edu and
> > type "signoff networker" in the
> > >body of the email. Please write to
> > networker-request AT listserv.temple DOT edu if you have any problems
> > >wit this list. You can access the archives at
> > http://listserv.temple.edu/archives/networker.html or
> > >via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> > >  
> > >
> > 
> > 
> > --
> > 
> > 
> > w.parsons AT leeds.ac DOT uk
> > UNIX Support
> > Information Systems Services
> > The University of Leeds
> > +44 113 343 5670
> > 
> > To sign off this list, send email to 
> listserv AT listserv.temple DOT edu and 
> > type "signoff networker" in the body of the email. Please write to 
> > networker-request AT listserv.temple DOT edu
> > if you have any problems
> > wit this list. You can access the archives at 
> > http://listserv.temple.edu/archives/networker.html or via RSS at 
> > http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> > 
> > 
> > 
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ _ _ _ _ 
> > _ _ _
> > 
> > This e-mail and any files transmitted with it are confidential and 
> > intended solely for the use of the individual or entity to 
> whom they 
> > are addressed.  If you have received this e-mail in error please 
> > notify the originator of the message.
> > 
> > Any views expressed in this message are those of the individual 
> > sender, except where the sender specifies and with 
> authority, states 
> > them to be the views of Wansbeck District Council.
> > 
> > This footer also confirms that this e-mail message has been scanned 
> > for the presence of computer viruses.
> > 
> > Wansbeck District Council Web Site is: www.wansbeck.gov.uk
> > 
> > To sign off this list, send email to
> > listserv AT listserv.temple DOT edu and type "signoff networker" 
> in the body 
> > of the email. Please write to 
> networker-request AT listserv.temple DOT edu if
> 
> > you have any problems wit this list. You can access the archives at 
> > http://listserv.temple.edu/archives/networker.html or via RSS at 
> > http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> > 
> 
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type "signoff networker" in the
> body of the email. Please write to 
> networker-request AT listserv.temple DOT edu
> if you have any problems
> wit this list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> 
> 
> 
> This email has been sent from KPMG LLP, a UK limited 
> liability partnership, or from one of the companies within 
> its control (which include KPMG Audit Plc , KPMG United 
> Kingdom Plc and KPMG UK Limited). The information in this 
> email is confidential and may be legally privileged. It is 
> intended solely for the addressee.  Access to this email by 
> anyone else is unauthorised.  If you are not the intended 
> recipient, any disclosure, copying, distribution or any 
> action taken or omitted to be taken in reliance on it, is 
> prohibited and may be unlawful.  When addressed to our 
> clients any opinions or advice contained in this email are 
> subject to the terms and conditions expressed in the 
> governing KPMG client engagement letter.
> 
> To sign off this list, send email to 
> listserv AT listserv.temple DOT edu and type "signoff networker" in the
> body of the email. Please write to 
> networker-request AT listserv.temple DOT edu if you have any problems
> wit this list. You can access the archives at 
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> 

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER