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/