cancel
Showing results for 
Search instead for 
Did you mean: 

shell script to eject tapes

SARA_8
Level 4

I have created a  shell script to weekly generate a  list of media IDs to be ejected which will be vaulted.

I need another  script to use robtest to  eject those tapes.

 

Sincerely , Sara

5 REPLIES 5

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Have you seen this discussion?

https://www-secure.symantec.com/connect/forums/netbackup-windows-scripts-automatically-eject-tapes

SARA_8
Level 4

 

I'm not using Windows. I'm using AIX 6.1

 

I wonder if theres is a script which takes a list of media IDs and eject them

 

Many Thanks

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Why do you want to use robtest and not 'vmchange.... -multi_eject ...' ?

vmchange will eject and update NBU config.

SARA_8
Level 4

please if you have a shell script using  vmchange to take a list of media IDs and eject them.

I need a script to run weekly. I already have my media ID list generated weekly.

 

 

Many Thanks, Sara

Mark_Solutions
Level 6
Partner Accredited Certified

SARA_8

Why not install a Windows NetBackup Admin Console on your PC

You can then run my script to eject tapes from your PC, you just need to make sure -h emmservername is in each line and it should work fine.