- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Viewing contents of Ignite tape...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:08 PM
11-24-2004 06:08 PM
I want to restore ONE directory that was backed up during a full system Ignite backup.
I've never used ignite before (set up by previous sysadmin) and don't want to wipe the tape or accidently restore the entire OS!
Thanks in advance
Jimmy,
Perth WA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:16 PM
11-24-2004 06:16 PM
Solutionan Ignite tape contains two 'archives'.
The first is bootable, the second a tar-archive.
You need to position the tape just before the tar-archive and next give the tar-extract command (using a no-rewind device).
mt -t /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn '
If you are using wildcards in
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:18 PM
11-24-2004 06:18 PM
Re: Viewing contents of Ignite tape...
mt -f TAPE_NAME rew
mt -f TAPE_NAME_NO_REWIND fsf 1
tar tvf TAPE_NAME
If the tape is OK, you will see a list of backed up files.
To recover a particular FILE:
tar xvf TAPE_NAME /path/filename (will only recover full path)
Note:
TAPE_NAME=/dev/rmt/0m
TAPE_NAME_NO_REWIND=/dev/rmt/0mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:21 PM
11-24-2004 06:21 PM
Re: Viewing contents of Ignite tape...
Ignite tape is not intended for selective recoveries. It's not a good idea to make a full backup of the system using ignite. It's better if ignite is limited only to vg00 filesystems. Rest can be easily imported.
Having said that, it is possible to recover the selected files/directories from the tape. The tape is basically written in two parts. 1- bootarea and 2-archive. You will need to forward the tape past bootarea and extract the archive. Try the following commands.
#cd /some_staging_area
#mt -t /dev/rmt/0m rew
#mt -t /dev/rmt/0mn fsf 1
#tar xvf /dev/rmt/0mn apps/your_directory
Look at the no-rewind device in last two steps.
Note that you have specify full path to your directory without the first '/' as ignite backs up the contents relative to /.
These steps are illustrated in make_tape_recovery man page. It can be a painfully waiting process. Since you are handling it first time, I suggest you recover it on a test system. You can always copy the content over the network once it is recovered.
I suggest you take 'fbackup' of OS along with make_tape_recovery so that you can easily recover the files in case needed.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:25 PM
11-24-2004 06:25 PM
Re: Viewing contents of Ignite tape...
Which directory you want to restore. Do u have a habit of taking a normal root backup ? In that case you can restore from that.
You can try a check_recovery.
This will update your old tape. After that you can do a full recovery with the same tape.
Take a full system backup before you proceed with any kind of ignite restore as a safe step.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:31 PM
11-24-2004 06:31 PM
Re: Viewing contents of Ignite tape...
i just want to tar txf it i guess, because i want to see the permissions (permissions got messed up on the systems /home).
however, when i type
tar tvf /dev/rmt/0mn "/home"
it begins to list the entire contents of the tape.. how do i get it to just list /home?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:35 PM
11-24-2004 06:35 PM
Re: Viewing contents of Ignite tape...
Take the first / out and specify it as just home.
tar tvf /dev/rmt/0mn home
Ignite backs up the contents relative to /, like usr/bin, etc/lvmconf etc.,
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:38 PM
11-24-2004 06:38 PM
Re: Viewing contents of Ignite tape...
[root@*******]# tar tvf /dev/rmt/0mn home
r-xr-xr-x 2/2 0 Dec 10 16:29 2003 stand/
rwxr-xr-x 0/0 0 May 17 13:22 2002 stand/lost+found/
rw-r--r-- 0/1 1639 Dec 10 16:09 2003 stand/system
r--r--r-- 0/3 82 Nov 16 03:04 2000 stand/kernrel
rw-r--r-- 0/3 3336 Dec 10 16:29 2003 stand/ioconfig
rw-r--r-- 0/3 19 May 17 13:28 2002 stand/bootconf
rw------- 0/3 0 May 17 13:43 2002 stand/.kminstall_lock
rwxr-xr-x 0/3 0 May 17 13:52 2002 stand/system.d/
rw-r--r-- 0/3 174 May 17 13:52 2002 stand/system.d/krm
rwxr-xr-x 0/3 0 Dec 10 16:14 2003 stand/build/
rw-r--r-- 0/3 95658 Dec 10 16:13 2003 stand/build/conf.c
rwxr--r-- 0/3 11567 Dec 10 16:13 2003
etc etc
at the moment i am running it, grepping for home, and piping it to a file for reference.. just hoping there is a better (more efficient) way..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:39 PM
11-24-2004 06:39 PM
Re: Viewing contents of Ignite tape...
is for listing the content of the tar's part, to selectively recover, you should issue the following command:
tar xvf /dev/rmt/0m /path/filename
remember this will only recover full path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 11:39 AM
11-25-2004 11:39 AM
Re: Viewing contents of Ignite tape...
everything ran ok, tar tvf gave the permissions listing for the files i was looking for, but not the ownership.
restoring has been done and ownership compared. thanks for your help
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 11:41 AM
11-25-2004 11:41 AM
Re: Viewing contents of Ignite tape...
tar tvf /dev/rmt/0mn >> output
Thanks to all