Re: [Networker] How to duplicate a client from command line?
2006-06-29 01:49:16
Hi Manel,
We do this be having all the clients that require special (in our case
monthly) backups in a secondary group:
client: aserver
groups: web_group, web_group_MONTHLY
I then have a script which is used to run the _MONTHLY group with the
browse/expire set at run time for the entire group:
savegrp -e year -l full web_group_MONTHLY
This works well, and gives visibility to which clients have got the
Special backups configures (just look at the group membership).
HTH.
Will
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
|
|
|