Sponsored Content
Operating Systems Linux Red Hat How to see files backed up on tape using dd command Post 302492404 by ahmerin on Monday 31st of January 2011 09:26:49 AM
Old 01-31-2011
How to see files backed up on tape using dd command

Hi all,

I need some help...

- I have two servers - serverA and serverB.
- ServerB has a tape drive
- I took a backup of some files on serverB on to tape drive on serverA.
- I used the following command:

serverB> tar cvfb - 20 ./<file> | ssh <serverA> 'dd of=/dev/nst0 bs=20b'

- I repeated the same command for lots of other database files...
- Above works fine and gives no errors
- I went to serverA, which has tape drive, and rewind the tape, using

'mt -f /dev/nst0 rewind' commnd

- Now, I want to see contents on the tape but dont know how Smilie

- I thought tar tvf /dev/nst0 will do the trick but it gives input/output errors - there are no errors when files were copied to the tape.

- I now realise that command used to put files on tape was 'dd' and now I do not know how to display the contents of backup using dd command... I do not want to restore files to see if they backed up OK... I just want to see files are in the tape... I have 6TB of files to check Smilie

Any help from you will be appreciated.

Regards
Ahmerin
 

8 More Discussions You Might Find Interesting

1. Cybersecurity

Unix Backed up with Windows NT?

We are running a Windows NT environment and have a stand alone Unix box. Is there software that would allow this Unix machine to be backed up along with our routine Windows NT backups? Any suggestions would be appreciated. Thanks!!! (3 Replies)
Discussion started by: G-Money
3 Replies

2. AIX

Echo Command to Tape

I've just got a new server running AIX5.3 When I Try this command: echo ABC123 > /dev/rmt0 I get the following message : A system call received a parameter that is not valid It worked OK on 4.3. Has something changed in the operating system> (0 Replies)
Discussion started by: gordbaby
0 Replies

3. Solaris

TAR command , listing backed up files

I've backed up several files to tape using tar, and wish to list those that have backed up. % tar cvf /dev/rmt/2un /s_1/oradata/pgpub/config.ora a /s_1/oradata/pgpub/config.ora 2 tape blocks But when I go to list the files: % tar tvf /dev/rmt/2un tar: tape read error What am I... (3 Replies)
Discussion started by: FredSmith
3 Replies

4. UNIX for Dummies Questions & Answers

Help recovering a backed up file

Hello, By accident I erased a file at work and I need to restore it from a backup tape. My manager says I will have to use the mt command with the fsf option to look through the tape but I am confuzed. I did a restore -t to get a listing of the tape. This is taking a long time. If I sound... (1 Reply)
Discussion started by: mojoman
1 Replies

5. AIX

Tape status command

We sometime run backups to tape in the background using the cron. Is there a command that will show me how fast the information is being written and or how much data has been written? I know if we enter the information via the command prompt or smit it shows the speed and amount written. (2 Replies)
Discussion started by: daveisme
2 Replies

6. UNIX for Dummies Questions & Answers

How to Identify date of file backed up used FBACKUP cmd?

Dear UNIX Experts, I'm a newbie. My name is Budi. I need some help from any body in this forum. How do we identify the backed up date of file in the Back up tape ? I did the back up using FBACKUP cmd. I tried to googling it, but unfortunately no aimed solution that I got. :confused: I've... (0 Replies)
Discussion started by: Bhoed
0 Replies

7. Solaris

files in tape

unix1{owadmin}% tar tvf /dev/rmt/1 -rw-rw-rw- 1021/10 0 Sep 11 17:54 2011 TinahPF_Far_32bit.segy tar: directory checksum error unix1{owadmin}% i know in this tape 3 files not only one file so what can i do to view 3 files and what is this error mean ( tar: directory checksum error... (2 Replies)
Discussion started by: ayman
2 Replies

8. UNIX and Linux Applications

how can i change inactive backed up filename on tsm

does any one know how to change inactive filename that is backed up on tsm? (1 Reply)
Discussion started by: curtis911
1 Replies
AMVERIFY(8)						      System Manager's Manual						       AMVERIFY(8)

NAME
amverify - check an Amanda tape for errors SYNOPSIS
amverify config [ slot [ runtapes ] ] DESCRIPTION
Amverify reads an Amanda format tape and makes sure each backup image can be processed by amrestore and, if possible, the appropriate restore program (e.g. tar). Amverify runs amrestore on each file of the tape and pipes the output to a restore program (if available) with an option to create a cata- logue of the backup. The catalogue itself is discarded. Only the success or failure of the operation itself is reported. If the backup image cannot be processed by the restore program, e.g. if it was written on a different operating system, the image is sent through dd to /dev/null. This still determines if the tape is readable, but does not do any internal consistency check on the image. If config is set up to use a tape changer, the slot argument may be used to choose the first tape to process. Otherwise, the current slot is used. The runtapes configuration parameter determines how many tapes are processed unless it is specified on the command line. See the amanda(8) man page for more details about Amanda. AUTHOR
Axel Zinser <fifi@icem.de> SEE ALSO
amrestore(8), amanda(8), amverifyrun(8) AMVERIFY(8)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy