Netbackup Restores
Created: 16 Apr 2012 | 7 comments
I am lookimg at automating netbackup restores at user level .. Is there any third party tool which can simplify this ?
example - user enters
server name
date of restore
path of data
restore path
and upon interactive input ..should be able to restore without netbackup administrator help
Discussion Filed Under:
Comments 7 Comments • Jump to latest comment
You could write a shell script (if customers system is UNIX based) and that may work.
Otherwise you could give your user/s access to the Backup, Archive and Restore GUI, but this gives them access to restore from all systems.
Normally you would restrict restores only to administrators.
Or is it all disk-based?
Regards Andy
"Have you still got the box it came in?"
I cannot see this being automated unless you are a very accomplished script writer.
Get your users to start using bprestore command.
Using bprestore from cmd (or script) to alternate folder requires setup of <RenameFile>. If more than one folder needs to be restored, <RestoreFileList> text file will also be needed. See http://www.symantec.com/docs/TECH21196
Another thought:
Why not just teach them to use the GUI? Client-side GUI will be easiest.
See NBU Backup, Archive, and Restore Getting Started Guide http://www.symantec.com/docs/DOC3642
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Interactive scripts for users? That would be an intensive task to do from my opinion, not to mention keeping track of the request logs.
My suggestion: you can setup security for your Netbackup environment, either by NBAC or Java console auth.conf. This would allow you to create a "shared" user (or even more users) who can only access the GUI to perform restore-only task.
.
Netbackupfan,
You need to ask yourself the question. Do you want users to be able to restore from any client backup to any system? This poses possible security conflicts.
Here is a basic interactive restore script as requested.
At the moment, this does NOT cope with alternate location restores - I'll add this when I get time.
It does not really do any checking - for example, is the master server name entered valid etc ... This is not really essential for basic functionality, I might add this in if I get time.
Run it like this .. /tmp/filelist contains the list of files to restore in format :
/path/to/file1
/path/to/file2
Run it like this ...
./restore2.sh 04/16/2012
Would you like to reply?
Login or Register to post your comment.