Can ufsdump do an autoload tape ?

Can ufsdump do an autoload tape and continue backup without operator intervention ? That means we don't have to enter 'yes' for continue the backup.
zonnoAsked:
Who is Participating?
 
davidmwilliamsConnect With a Mentor Commented:
 Yes, using the -l option ... but you will need a tape stacker or some sort of physical device to do the job.  The -l option just tells ufsdump to pause for two minutes, if the tape runs out before the dump finishes, and then continue.
  Here's the official man page text ...

     l              Autoload.  When the  end-of-tape  is  reached
                    before  the  dump is complete, take the drive
                    offline and wait up to two  minutes  for  the
                    tape  drive  to  be  ready  again. This gives
                    autoloading  (stackloader)  tape   drives   a
                    chance  to  load a new tape.  If the drive is
                    ready within two minutes, continue. If it  is
                    not, prompt for another tape and wait.
0
 
zonnoAuthor Commented:
Thanks for the answer but for your information I have the tape stacker and I have already use the -l options. Yes, it can change to another tape but it still want me to answer 'yes' to proceed the backup. Maybe the time for the drive to get ready is to short, Can we extend it from 2 minutes to 5 minutes ? Thank you for your cooperation.
0
 
davidmwilliamsCommented:
Unfortunately, you can't extend it to 5 minutes, which is disappointing - but maybe you could pipe output from the 'yes' command into your ufsdump?  Although, this may require the autoloader to act fast!
0
 
davidmwilliamsCommented:
I'll give what you said a test; on my system ufsdump -l works silently ... what version of Unix are you using?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.