- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restoring an ersthwhile cooked File to an existing...
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
тАО04-11-2007 08:02 AM
тАО04-11-2007 08:02 AM
/oradata/master_tb01.dbf -> /dev/vx/rdsk/oradg/master_tb01
And on Tape/backup I have master_tb01.dbf as a file from an earlier backup made when it was stored on cooked storage -- will my restore actually overwrite the link and restore the cooked file? Or will it obey the link and restore to the linked raw device?
Or it depends on the backup software/utility used?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 08:19 AM
тАО04-11-2007 08:19 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 08:42 AM
тАО04-11-2007 08:42 AM
Re: Restoring an ersthwhile cooked File to an existing File that's a link to a RAW Device.
It appears, tar, cpio, legato and netbackup DO NOT follow the link... It wipes off the link and restore the cooked file...
I guess we'll simply just have dd backups of our existing cooked files then...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 09:53 AM
тАО04-11-2007 09:53 AM
Re: Restoring an ersthwhile cooked File to an existing File that's a link to a RAW Device.
I also have a vague memory of needing an oseek on the dd to skip the first 64kb or so, but that may have been platfor dependent.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 10:11 AM
тАО04-11-2007 10:11 AM
Re: Restoring an ersthwhile cooked File to an existing File that's a link to a RAW Device.
Suggestion 1:
Maybe via a named pipe instead of a link?
I'd think the following has a reasonable chance of working...
# mknod -p /oradata/master_tb01.dbf
# dd if=/oradata/master_tb01.dbf of=/dev/vx/rdsk/oradb/master_tb01 &
-> run your restore if you got your tar to a stream and sent that to the file:
# tar xvf /dev/rmt/0m "/ordata/master_tb01.dbf"
(restores to the location).
If THAT doesn't work: there's possibly another way...
-> restore the file to a stream and redirect it to the /dev/xxxdevicexxxx
-> Let's say as a bad example the file was the the only thing on the tape:
# dd if=/dev/rmt/0m | tar xvf - "/oradata/master_tb01.dbf" > /dev/vx/rdsk/oradg/master_tb01
I'd think one of the two above suggestions should work - maybe :-)
Re: "I guess we'll simply just have dd backups of our existing cooked files then..."
-> That's funny, because "way back when" the only people who did "dd" backups of data were those using raw databases, now for you, everything is backwards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 10:11 AM
тАО04-11-2007 10:11 AM
Re: Restoring an ersthwhile cooked File to an existing File that's a link to a RAW Device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 10:13 AM
тАО04-11-2007 10:13 AM
Re: Restoring an ersthwhile cooked File to an existing File that's a link to a RAW Device.
Suggestion 1:
Maybe via a named pipe instead of a link?
I'd think the following has a reasonable chance of working...
# mknod -p /oradata/master_tb01.dbf
# dd if=/oradata/master_tb01.dbf of=/dev/vx/rdsk/oradg/master_tb01 &
-> run your restore if you got your tar to a stream and sent that to the file:
# tar xvf /dev/rmt/0m "/oradata/master_tb01.dbf"
(restores to the location).
Suggestion 2:
If THAT doesn't work: there's possibly another way...
-> restore the file to a stream and redirect it to the /dev/xxxdevicexxxx
# dd if=/dev/rmt/0m | tar xvf - "/oradata/master_tb01.dbf" > /dev/vx/rdsk/oradg/master_tb01
I'd think one of the two above suggestions should work - maybe :-)
Re: "I guess we'll simply just have dd backups of our existing cooked files then..."
-> That's funny, because "way back when" the only people who did "dd" backups of data were those using raw databases, now for you, everything is backwards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 10:15 AM
тАО04-11-2007 10:15 AM