The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
back to back printing in UNIX amirthraj_12 AIX 3 05-06-2008 04:42 AM
python probelm jaganadh Shell Programming and Scripting 4 02-22-2008 08:48 AM
Back-to-Back Connection using HBAs aldowsary IP Networking 2 11-12-2007 03:43 PM
probelm with purify shriashishpatil High Level Programming 1 05-18-2006 07:22 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-26-2001
Registered User
 

Join Date: Jul 2001
Location: India
Posts: 57
Unhappy back up probelm

Hi

I am using tar utility to take back up on HPUx and SUN 5.8 servers

yesterday i made some change.....in the cronjob
29 23 * * 1,3,5 echo "`date` COMPLETE BACKUP TAR `uname``hostname`">/dev/rmt/0myn
30 23 * * 1,3,5 tar cvf /dev/rmt/0mny <filesystems>

i am confused with the no rewind and rewind options

now when i am seeing the listing..
tar tvf /dev/rmt/0mny
It is giving error Tar Block size changed....
when i did
tar tvf /dev/rmt/0myn
it is giving error
tar Block size error

please suggest me wht to do..as it is a important back up

Previously i was taking back up with out the rewind ,no rewind option........and it was fine.....

thanks
Prafulla
Forum Sponsor
  #2  
Old 12-27-2001
Registered User
 

Join Date: Jul 2001
Location: Malaysia
Posts: 20
i had did backup with rewind tape command, it is working as normal. The rewind command i used in HP unix is like this:

mt -t /dev/rmt/0m rew

actually u can set the block size on the command but i am not sure how it exactly look like, u can refer to this command below:

tar cvfb -20 * | remsh 123.456.789.00 dd of=/dev/rmt/0m obs=20b

note:
b=blocksize, dd= drive as directory, 20b=blocksize is 20

i think "tar cvb -20 . "also can work, try this.
  #3  
Old 01-15-2002
Registered User
 

Join Date: Jan 2002
Location: Georgia and Florida
Posts: 64
Why not just write a small shell script or use the 'touch' command to create this file in the root directory or use the banner command and send notification to a printer? I don't like the no-rewind options for a tape drive. Most of my backups are scheduled to run in cron and I want to know that my tapes are re-wound and at the beginning ready to accept data.
__________________
:D
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0