- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to backup the database on the raw device to th...
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
тАО09-27-2006 06:32 AM
тАО09-27-2006 06:32 AM
How to backup the database on the raw device to the filesystem using 'dd'.
HOW TO SET THE skip=
WHAT IS THE APPROPRIATE VALUE=0,1,2,3,4...???
THIS IS THE SOLUTION FOR AIX SERVER FROM ORACLE METALINK SITE.
Solution Description:
=====================
The following commands will allow you to copy a raw device to the filesystem
and restore from the filesystem to the raw device.
You must use the dd command to copy from the raw device.
Please Note:
============
1. Caution is required because some AIX backup programs ignore large
files; you must verify that any oversized AIX files are indeed
backed up.
2. When doing copy/backup operations, please consider the 4KB
offset (taken by Oracle) for the Logical Volume Control Block(LVCB) at
the beginning of all IBM Virtual Shared Disks when performing
backup/restore operations.
Copying to Filesystem
--------------------------
Use the command:
% dd if=
skip=
Example:
% dd if=/dev/rVh09.za.716c1 of=/a/spdevs04/ibmfs/osupport/dismith/test.ctl
bs=4096 skip=1
In the above example we specify the blocksize as 4096 bytes and skip 1 block
for the offset for the Logical Volume Control Block(LVCB)
bs=BlockSize - Specifies both the input and output block size,
superceding the ibs and obs flags. The block size values specified with
the bs flag must always be a multiple of the physical block size for the
media being used.
skip=SkipInputBlocks - Skips the specified SkipInputBlocks value of
input blocks before starting to copy.
Restoring from Filesystem
--------------------------
Use the command:
% dd if=/a/spdevs04/ibmfs/osupport/dismith/test.ctl of=/dev/rVh09.za.716c1
bs=4096 seek=1
In the above example we specify the blocksize as 4096bytes and seek 1 block
past the beginning of output file before copying, so we will not
overwrite the Logical Volume Control Block(LVCB)
seek=RecordNumber - Seeks the record specified by the RecordNumber
variable from the beginning of output file before copying.
- Tags:
- dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 06:42 AM
тАО09-27-2006 06:42 AM
Re: How to backup the database on the raw device to the filesystem using 'dd'.
--
When doing copy/backup operations, please consider the 4KB offset (taken by Oracle) for the Logical Volume Control Block(LVCB) at
the beginning of all IBM Virtual Shared Disks
--
This is specific for this IBM AIX, Nelson shared this command for hpux.
dd if=/dev/sapdata/rora001dbf bs=1024k of=/cheapsataraid/rora001.dd
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1031872
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 01:29 AM
тАО09-28-2006 01:29 AM
Re: How to backup the database on the raw device to the filesystem using 'dd'.
I dont have to make backup on tape, to make on filesystem the setup command did you means i have to set the skip= at 4Kb in my comman line ?
Example:
dd if=
tanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 01:34 AM
тАО09-28-2006 01:34 AM
Re: How to backup the database on the raw device to the filesystem using 'dd'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 07:53 AM
тАО09-29-2006 07:53 AM