How to transfer the backup set on ASM to the file system

Source: Internet
Author: User
How to transfer the backup set on ASM to the file system and meet user requirements through the backupbackupset in rman.

How to transfer the backup set on ASM to the file system and meet user requirements through the backup backupset in rman.

I just saw a problem about the migration of the asm backup set. Specially sorted out

There are two methods.

Method 1: Using rman and rman is a very good tool. It is not just a backup function. If you only use rman for backup, it is a waste.
You can use the backup backupset in rman to meet your requirements.
The following is a demo process.
Prepare a backupset first.
Here I backed up a single archivelog for demonstration.
RMAN> backup archivelog sequence 83294;
Starting backup at 06-MAY-10
Using channel ORA_DISK_1
Channel ORA_DISK_1: starting archive log backupset
Channel ORA_DISK_1: specifying archive log (s) in backup set
Input archive log thread = 1 sequence = 83294 recid = 83294 stamp = 718324431
Channel ORA_DISK_1: starting piece 1 at 06-MAY-10
Channel ORA_DISK_1: finished piece 1 at 06-MAY-10
Piece handle = + DG1/soldb/backup/0dld1gpq_201710000718324538_20100506 tag = TAG20100506T223536 comment = NONE
Channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 06-MAY-10

View the backupset
RMAN> list backup of archivelog sequence 83294;
List of Backup Sets
==============================
BS Key Size Device Type Elapsed Time Completion Time
--------------------
8 97.50 k disk 00:00:01 06-MAY-10
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100506T223536
Piece Name: + DG1/soldb/backup/0dld1gpq_1_718324538_20100506

List of Archived Logs in backup set 8
Thrd Seq Low SCN Low Time Next SCN Next Time
-------------------
1 83294 3111066080 06-MAY-10 3111066263 06-MAY-10

Next we will use rman to apply this backup set in asm to the file system.
Backup backupset.
As follows:
RMAN> backup backupset 8 format'/export/home/

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.