HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restore mount point from tape backup
Operating System - HP-UX
1825751
Members
2713
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-21-2005 06:06 PM
07-21-2005 06:06 PM
restore mount point from tape backup
Please help.
We have a machine running HPUX 11i that has two physical volumes, which are also volume groups called, vg00 and vg01. Well vg01 died and so was replaced. I am now trying to restore the information onto vg01 from a backup tape. Unfortunately the machine does not have a tape drive so it was backed up over the net with the following command :
/usr/sbin/vxdump -u -0 -b 64 -f - /home | (remsh /usr/bin/dd of=/dev/rmt/0mn bs=64k 2>&1) tee /tmp/tmp.2222
(unfortunately the originator of the script has moved on to another job)
How do I reverse this command and restore the missing data to the newly installed physical volume?
Many thanks,
Mary
We have a machine running HPUX 11i that has two physical volumes, which are also volume groups called, vg00 and vg01. Well vg01 died and so was replaced. I am now trying to restore the information onto vg01 from a backup tape. Unfortunately the machine does not have a tape drive so it was backed up over the net with the following command :
/usr/sbin/vxdump -u -0 -b 64 -f - /home | (remsh
(unfortunately the originator of the script has moved on to another job)
How do I reverse this command and restore the missing data to the newly installed physical volume?
Many thanks,
Mary
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 06:16 PM
07-21-2005 06:16 PM
Re: restore mount point from tape backup
Make sure your /home is empty, then: -
# cd /home
# (remsh /usr/bin/dd if=/dev/rmt/0mn bs=64k 2>&1) | vxrestore -f - -r -v
the "-f -" part of vxrestore and vxdump is telling it to write to stdout or read from stdin. This is then written/read from the pipe over remsh.
However I'm not sure why the previous administrator wouldn't have used rvxdump, which allows a vxdump to a remote tape drive?
# cd /home
# (remsh
the "-f -" part of vxrestore and vxdump is telling it to write to stdout or read from stdin. This is then written/read from the pipe over remsh.
However I'm not sure why the previous administrator wouldn't have used rvxdump, which allows a vxdump to a remote tape drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 06:19 PM
07-21-2005 06:19 PM
Re: restore mount point from tape backup
Hi Mary,
Good day to you !
Use vxrestore to restore, check the man page of vxrestore for more details :
# man vxrestore
Check this url also regarding vxrestore :
http://docs.hp.com/en/5971-4772/apas08.html
Hope this can help you.
Cheers,
AW
Good day to you !
Use vxrestore to restore, check the man page of vxrestore for more details :
# man vxrestore
Check this url also regarding vxrestore :
http://docs.hp.com/en/5971-4772/apas08.html
Hope this can help you.
Cheers,
AW
now working, next not working ... that's unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2005 06:51 AM
07-22-2005 06:51 AM
Re: restore mount point from tape backup
Many Thanks for the help! I used the script as you suggested. It worked perfectly! Unfortunately when I forwarded the tape to the mount point that I still got an error message about it not being a vxdump tape. So I decided that since the drive has been causing problems for some time now, the backup was probably bad and so I used an older tape and it did repopulate the drive.
PS. I don't know why the backup was done using the vxdump and then the dd. I will try to re-write it using rvxdump. thanks for the suggestion.
PS. I don't know why the backup was done using the vxdump and then the dd. I will try to re-write it using rvxdump. thanks for the suggestion.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP