This is something that I am really
surprised that Symantec/Veritas has not picked up on.
There needs to be a way of migrating from
one backup platform to another. For example, when migrating from one
NetBackup master server to a new one there’s really no good method for
moving your old policies & clients to the new environment. It’s
even more difficult to migrate from a completely different backup environment
(like TSM or Legato) to NetBackup.
It sure would be nice to have a script to
automatically put together the NetBackup policies from a flat file containing
all of the information containing stuff like client names, paths, backup policy
type, policy name, schedule names, etc and then generate the commands to create
the policies in NetBackup.
Hey Symantec…..are you listening?
--stuart liddle
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Mark.Donaldson AT cexp DOT com
Sent: Wednesday, October 17, 2007
2:09 PM
To:
Anil.Maurya AT sanofi-aventis DOT com; veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Help in
using command line.
Anything that can be done in the NB GUI
can be done via command line, usually faster (with the possible exception of
cold building a policy and schedule set). Netbackup is very extensible
via command-line. If it doesn't do what you want out of the box, you can
probably script it.
That said, your request is a bit
broad. I have 250 custom scripts written for Netbackup and just burying
you in them wouldn't make sense (plus at least half are specific to my environment).
I'd suggest starting with the command line reference guide here:
http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/279299.pdf
..and just read it. It's boring to
read cover to cover but it's a great way to see all what's possible.
You also might just search the history of
this mail list, I know many code snippets have been posted.
Good Luck.
I'll forward the pdf from my Veritas
Vision presention on writing your own tools directly. It was written when
v4.5 was the top version but a lot of it is still applicable.
-M
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Anil.Maurya AT sanofi-aventis DOT com
Sent: Wednesday, October 17, 2007
1:45 PM
To:
veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Help in
using command line.
My company planning to migrate backup strategy from TSM to
Netbackup. I am good in writing script in TSM but very bad in Netbackup. Do any
body have command line examples or script i can use ?
Anil Maurya
DCO Backup/Recovery team
Email : Anil.Maurya AT Sanofi-aventis DOT com