1833861 Members
2234 Online
110063 Solutions
New Discussion

command line tape change

 
SOLVED
Go to solution
Jeff Hengesbach
Occasional Contributor

command line tape change

I typically manage my SureStore 4/40 library using Omniback(/Data Protector) but am beginning work on a project requiring command line tar to tape. What I'm looking for is a way to instruct the library to change tapes from the command line - that I can place into a shell script. My setup is the above library (only has 2 8000 drives though) direct connected via 1G fibre to an L class 11.00 box.

Thanks - Jeff
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: command line tape change

Have a look at the 'mc' command.

# man mc

for more info.
RAC_1
Honored Contributor

Re: command line tape change

Man mc.

mc "device_file_of_libray" -s source" -d "destination"
There is no substitute to HARDWORK
Ashwani Kashyap
Honored Contributor

Re: command line tape change

mc - media changer manipulation utility .
uma - controls the robotics of SCSI II compliant autochangers .
Jeff Hengesbach
Occasional Contributor

Re: command line tape change

Thanks all. 'mc' is exactly what I was looking for!