- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restore function
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
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
тАО02-03-2004 07:57 AM
тАО02-03-2004 07:57 AM
restore function
I have used the dump command to backup data to a tape but am in a big dilemma now. How can I use the restore option to restore a particular dir from tape. I would like to restore /var/opt/testing from tape. Any help is greatly appreciated and points will be assigned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:08 AM
тАО02-03-2004 08:08 AM
Re: restore function
Example threads
http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D236549&qt=dd+%2Bscript&hit=3
http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D66591&qt=dd+%2Bscript&hit=1
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:11 AM
тАО02-03-2004 08:11 AM
Re: restore function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:14 AM
тАО02-03-2004 08:14 AM
Re: restore function
I used dump long time back. So, I am dependent on the man pages now.
With -x option, you should be able to restore an individual directory. The man page of 'restore' says
//
x Extract the named files from the tape. If the named file
matches a directory whose contents had been written onto
the tape, and the h modifier is not specified, the
directory is recursively extracted. The owner,
modification time, and mode are restored (if possible). If
no file argument is given, the root directory is extracted,
which results in the entire contents of the tape being
extracted, unless h has been specified. //
What is the problem you have?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:17 AM
тАО02-03-2004 08:17 AM
Re: restore function
I never uses dump/restore myself but a look at the man page says you should use the x option. See man page for restore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:27 AM
тАО02-03-2004 08:27 AM
Re: restore function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 08:39 AM
тАО02-03-2004 08:39 AM
Re: restore function
# restore -x /etc/hosts
Note: Doing Quad swapping
You have not read any tapes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2004 10:40 AM
тАО02-03-2004 10:40 AM
Re: restore function
"Specify next volume #:"
At which point, if you don't know which tape the file is on,
you will enter "1" (without quotes) then press enter.
Note that you may want to try without specifying the path:
# cd /desired_directory_here
# restore -xv name_of_file
(Enter 1 when it asks for volume number, then y for next question)
If that doesn't work, see if the path is different than "./"
# restore -tv |grep name_of_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 12:52 AM
тАО02-05-2004 12:52 AM