Visit Our UNIX and Linux User Community


back up probelm


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers back up probelm
# 1  
Old 12-27-2001
Data 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
# 2  
Old 12-27-2001
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
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.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #687
Difficulty: Medium
In comparison testing of reverse Polish notation with algebraic notation, reverse Polish has been found to lead to slower calculations.
True or False?

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

I'm back

Hi all, I used to post here years ago, and was a moderator, my old username: zazzybob. Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again. I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies

2. Shell Programming and Scripting

Probelm setting a variable to $* in C Shell

Trying to put all command line arguments to the script in a variable msgst01 $* does not seem to work set msgst01 = $* (2 Replies)
Discussion started by: kristinu
2 Replies

3. Shell Programming and Scripting

for loop probelm

for index in `find /technologies -name *.jar | grep "/lib"`; do echo "$index"; done sometimes its throwing error saying find: paths must precede expression Usage: find but i execute same in cmd prompt its working (1 Reply)
Discussion started by: crackthehit007
1 Replies

4. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

5. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

6. Shell Programming and Scripting

python probelm

Colleagues when i types python in console my system shows following error message python: error while loading shared libraries: /usr/lib/libdb.so.3: ELF file OS ABI invalid Any solution. My machine is Fedora Core 6 jaganadh (4 Replies)
Discussion started by: jaganadh
4 Replies

7. Programming

probelm with purify

Hi, I am using purify to find memory leak in my process. When I run the instrumented program I get error I donot have this file in the specified directory. Instead I have following files in the directory /usr/lib/nls/loc/locales.2 What should I do in such case? I undersatnd... (1 Reply)
Discussion started by: shriashishpatil
1 Replies

8. UNIX for Advanced & Expert Users

help with back up please

Can anyone please tell me how safe is the following backup script? Does it really backing up the WHOLE system or just part of it? I do that with the system running an oracle database. Will I be able to restore the system in case of a fault? <pre> Here is the output of 'df -k' ... (11 Replies)
Discussion started by: guest100
11 Replies

Featured Tech Videos