Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Pulling a file off a backup tape Post 51702 by Perderabo on Friday 28th of May 2004 10:05:33 AM
Old 05-28-2004
find just produces a list of filenames. Take another look at the script. I'll bet it more like...

find <some stuff> | cpio <more stuff>

If so, then cpio is being used to create the tape. You will need to know the parameters to cpio in order to read the tape. For example, I'll bet that you're using -B in the cpio.

A good first step is to just read the tape and produce a list of filenames without trying to restore anything. In the simplest form, the command would be:

cpio -itv < /dev/tapedrive

but that probably won't work well because you are not matching the way it was written. It might really need:

cpio -itvB < /dev/tapedrive

Bear in mind that I don't know AIX so I don't know if your cpio is special. And all of this assumes that you are using cpio which may not be the case. We need more info from that script.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies

2. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

3. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

4. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

5. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

6. AIX

Backup on Tape

Hi, I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system /usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0 You can what i have in my root volume group in the atached file and and you can also see the backup information of... (14 Replies)
Discussion started by: salmanucit
14 Replies

7. Solaris

define .rhost file for tape backup to remote host

howdy experts, i am using 2 server- Solaris 5.9 i have tape device attached with 1 of my solaris server. But others not. # modinfo|grep tape 152 13d43e4 1333c 33 1 st (SCSI tape Driver 1.231) now i want to Backup DATA file and System File in Tape Drive. How do I take data and... (3 Replies)
Discussion started by: thepurple
3 Replies

8. UNIX for Dummies Questions & Answers

Copy file from a backup tape

I have several files that I need to get off of a backup tape. I'm using AIX 4.3 (I know this is old) and our backups are done using the bru command. I need to copy these files to a specific location, and not restore them to the original location. Can anyone tell me what command I should use to do... (4 Replies)
Discussion started by: troy
4 Replies

9. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies

10. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies
AMRMTAPE(8)						      System Manager's Manual						       AMRMTAPE(8)

NAME
amrmtape - remove a tape from the Amanda database SYNOPSIS
amrmtape [ -n ] [ -v ] [ -q ] [ -d ] config label DESCRIPTION
Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten. See the amanda(8) man page for more details about Amanda. OPTIONS
-n Generate new tapelist and database files with label removed, but leave them in /tmp and do not update the original copies. -v List backups of hosts and disks that are being discarded. Enabled by default. -q Opposite of -v. -d Run in debugging mode so all executed commands are shown. EXAMPLE
Remove tape labeled DAILY034 from the DailySet1 configuration. # amrmtape DailySet1 DAILY034 AUTHOR
Adrian T. Filipi-Martin <atf3r@cs.virginia.edu> SEE ALSO
amadmin(8), amanda(8) AMRMTAPE(8)
All times are GMT -4. The time now is 10:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy