Copy file from a backup tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copy file from a backup tape
# 1  
Old 01-05-2011
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 this? I'm assuming it's bru -option -files but we all know what happens when we assume. Thanks in advance
# 2  
Old 01-06-2011
There are many products which run on AIX called "bru". Let's assume that is the old unix "bru" command.
Can you post the exact script containing the "bru" command which was used to produce the backup?
It is very important to know whether the backup contains absolute pathnames or relative pathnames.
# 3  
Old 01-06-2011
Our current backup script is as follows:

umask 0
cd /
bru -cvvvZ -X -S -d * | tee /usr8/BACKUPLIST

I need to get about 12 files, and put them where I want them, not where they were originally backed up from. I will be happy to restore them 1 at a time until I get the 12 files I need. I just don't know exactly what command to use. I tried using bru -xvvv -T /dev/rmt0 getfiles but it did not work. I am having to relearn unix, it has been over a decade since I last used it. getfiles is the list of files that I need, there are 2 columns...
/usr3/IN01 /inv10/IN01ye09
Column 1 (/usr3/IN01) is the original location (where it should be on the tape) and /inv10/IN01ye09 is where I want to put the file with the new name. I will even be happy to restore the file with the same name to the new location and then rename it, just as long as I don't overwrite the current file in the correct location. Obviously I'm not doing it right, so any help will be very much appreciated! Thanks
# 4  
Old 01-06-2011
Broad advice is to use the "bru -t" option to verify whether the files were backed up with relative (not absolute) filenames and to verify that your file is on the tape. Then restore a test file which is expendable to a test area. Only then attempt to restore the important file to a test area.

The following link is to a large document about "bru". It describes restoring a file from a "bru" backup to a new location in some detail. Always test with an irrelevant and expendable file. The document also advises write protecting the tape (a very good idea).

There have been umpteen versions of programs called "bru" in unix so please please do verify that any suggested commands match your version.

Link to large pdf manual for "bru". Read the whole document before typing any commands.
http://www.avanu.com/new/documents/BRUWDPE_Manual.pdf

Take you time and good luck.
This User Gave Thanks to methyl For This Post:
# 5  
Old 01-07-2011
Thanks

Thanks for the posts' I was able to determine that my backup was relative, and I was able to restore the file, it just put it in a different location than what I had originally thought, so I just had to move it where I wanted it, but either way, it didn't overwrite the file that was in its original location. Thank you for all the posts, this helped me a lot!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to copy a 2 Volume mksysb backup to a single tape?

Hi, I have an mksysb backup which consists of 2 Volume, how do I combine it into a single Volume or tape ? Appreciate it (1 Reply)
Discussion started by: AIXBlueCat
1 Replies

2. 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

3. AIX

How to make a copy of a tape to another tape?

Hello, We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it. my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies

4. SCO

copy crontab file from backup server

Hi, I did a terrible mistake of issuing crontab -r command which deleted my table on a new installation. Is there any way i can transfer the table from an existing unix box. Regards, Joseph:confused: (4 Replies)
Discussion started by: njoroge
4 Replies

5. 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

6. 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

7. 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

8. UNIX for Dummies Questions & Answers

Pulling a file off a backup tape

I have AIX 5.1 This may sound like a really dumb question but I have never done this before. I would like to pull a file off a backup tape and put back on the AIX is this as simple as as doing a mount /dev/rmt1 then the file name that is on the tape /dump/rpt/xxxxxx Do I just copy it... (14 Replies)
Discussion started by: rocker40
14 Replies

9. 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

10. UNIX Desktop Questions & Answers

Copy a file from tape drive

Hi, How to copy a file (online.exp031204.tar.Z) from the tape drive /dev/rStp0 (2 Replies)
Discussion started by: rahmanm
2 Replies
Login or Register to Ask a Question