- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to recover file system from 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
Discussions
Discussions
Forums
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
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
тАО08-24-2001 01:56 AM
тАО08-24-2001 01:56 AM
How to recover file system from tape ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2001 02:12 AM
тАО08-24-2001 02:12 AM
Re: How to recover file system from tape ?
if you want to restore the system file systems of your system it will be a bit more diff.
for this you need to install ignite on yuor system and then run make_recovery on your systemanf then boot to the tape that you did the make_recovery and then to choose the option to restore the system .
if you are taring a file system to a tape ( a regular file system ) you just need to tar it back to te file system with the command
tar -xvf /dev/rmt/0m /new_fs
do you mean restoring your system ?
or a reguler file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2001 02:15 AM
тАО08-24-2001 02:15 AM
Re: How to recover file system from tape ?
-2- Put tape in drive (say /dev/rmt/0m)
-3- Check contents of tape:
# tar tvf /dev/rmt/0m
Note if the tape has saned the information with absolute paths (eg /home/mys) or relative paths (myfs/).
-4- If tape is OK & does indeed contain the information you require
-5- If you want to restore onto a blank filesystem make sure it is mounted & that it has enough space. say /home/myfs, e.g
# bdf
:
/dev/vg01/myfs /home/myfs ... 0% uesd
-6- extract the tape
If you have absolute paths then
# tar xvf /dev/rmt/0m /home/myfs
If you have relative paths
cd /home
# tar xvf /dev/rmt/0m myfs
There are some other issues
* Are you restoring a filesystem ontop of an old or is it an entirely new one?
* is the filesystem on the pate the same name as the one you want? (e.g. stored on tape as /home/myfs but you want /usr/anofs)
* Do you already have a filesystem called the same thing on the tape?
Cheers
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 05:57 AM
тАО08-28-2001 05:57 AM
Re: How to recover file system from tape ?
If it was application data, were all the users logged out and (preferably) any database servers shut down?
If it involved O/S file systems such as root, /var, /usr and so on, I agree that Ignite (free download from HP) is your best tool. I used it last year for disaster recovery testing on an entirely different hardware platform, and it worked great! The best part is, you can make a clean backup of your operating system (everything on volume group vg00) without any down time.
Another alternative is to use fbackup or tar when in single user mode.
I only like using tar when I need to port files between different operating systems; it simply is not very good at making sure you have a clean backup of files that are currently in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 06:19 AM
тАО08-28-2001 06:19 AM
Re: How to recover file system from tape ?
If you used tar -cf /dev/rmt/0m /filesystem
then use
tar -xf /dev/rmt/0m /filesystem
to restore.
Omniback is a much better solution and you can restore just one file or subdirecory from the tape backup.
Otherwise use make_tape_recovery for backup.