AIX backup script for TS3100 3573-L2U

We have IBM 9111 520 on AIX 5.3 and planning to replace the existing SCSI 3581 auto loader with the TS3100 3573-L2U SCSI.
I currently using backup script with AIX command tapeutil (mount & unmount) & backup.  
I wish to know if the same script will work on the T3100 3573?

the script as follows:
/usr/bin/tapeutil -f /dev/rmt1 mount ${2}  
/usr/sbin/chdev -l rmt1 -a block_size=0
/bin/find acu opt etc usr var/spool/ cron/crontabs/root scripts home `find * -prune -type l` data  | /usr/sbin/backup -ivqf /dev/rmt1 -b100
/usr/bin/tapeutil -f /dev/rmt1 unmount ${2}

Thanks
Ken LauAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pierre FrançoisSenior consultantCommented:
Supposing you installed the same utilities on both computers, the only non portable part of your script is the reference to the device accessing the tape rmt1.
So, you only have to check if the tape device where you write the backup is accessed in the same way on both computers. If you have only one tape device, it will have the same number on both computers and you will need no change in the script.
It is always wise to run a test on an empty tape before.
andyalderCommented:
Surely you have to do something to tell it that the library is different? Otherwise tapeutil would not know how to tell the robot to mount the tape.
Carlos IjalbaIT Systems DirectorCommented:
Hello,

tapeutil has been replaced quite a while ago by the IBM Tape Diagnostic Tool (ITDT), but the options are exactly the same.

itdt -f /dev/rmt1 status			Query drive status
itdt -f /dev/rmt1 vpd			Display drive Vital Product Data (VPD)
itdt -f /dev/rmt1 devinfo			Show device information
itdt -f /dev/rmt1 path			Check tape and path SCSI information
itdt -f /dev/rmt1 fuser			Display which process is using the drive
itdt -f /dev/rmt1 mount <element number>	Mount tape from element number on drive rmt0
itdt -f /dev/rmt1 unmount <element number>	Dismount tape from element number on drive rmt0

Open in new window


So yes, it should work OK, unless you share the TS3100 with other OS, or use a backup software like Spectrum Protect, etc, in which case, you might have to use tape library commands instead of tape drive commands. Otherwise, it will work the same as before with the tapeutil cmd.
andyalderCommented:
But how do either program know what the library is? the commands used to move a tape on one type of library are not the same as those for a different type. There has to be some sort of configuration file or do they interrogate the library every time to see what make/model it is? With Windows for example you have to change the driver if you change the library even if you retain the same tape drive. That's what Ken Lou will have to configure.
Ken LauAuthor Commented:
Thanks to replies, but our IBM server lack any updates to its AIX 5.3 OS since 2004.
Adding this tape library is purely to "keep the lights on" whilst new ERP is being implemented.
Will close question as have engage local IBM partner

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.