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
- 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
Any help from you will be appreciated.
Regards
Ahmerin