Back up data files on bare Devices

Source: Internet
Author: User

Back up data files on bare devices 1. using dd is the fastest method to accomplis h this. however, it isnecessary to know how many blocks to skip in the raw device (e.g ., on Tru64 uni x you must skip 64 KB) so that y ou do not overwriteinform ation necessary for the operating system. the information onhow many blocks to skip is different on differe nt platforms. note that the number of data blocks to be skipped varies with OS.

# Dd if =/dev/raw/raw1 of =/u01/oradata/test_ts.dbf 'bs = 16 K (Keep the Block size to multiple of the Oracle Block Size) 2. from file system to raw device: RMAN> run {2> allocate channel c1 type disk; 3> copy datafile '/u01/oradata/test_ts.dbf' to '/dev/raw/raw1'; 4 >}from raw device to file sy stem: RMAN> run {2> allocate channel c1 type disk; 3> copy datafile '/dev/raw/raw1' to '/u01/oradata/test_ts.dbf'; 4>}

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.