欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

【RMAN】使用RMAN增量备份刷新StandbyDatabase

程序员文章站 2024-01-29 14:56:40
...

Step 1: Create the Incremental Backup RMAN BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 750983 DATABASE FORMAT /tmp/incr_for_standby/bkup_%U; Step 2: Make the Incremental Backup Accessible at the Standby Database ftp or scp copy 增量备份到

Step 1: Create the Incremental Backup

RMAN> BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 750983 DATABASE
     FORMAT '/tmp/incr_for_standby/bkup_%U';

Step 2: Make the Incremental Backup Accessible at the Standby Database

ftp or scp copy 增量备份到 standby 端

Step 3: Catalog the Incremental Backup Files at the Standby Database

RMAN> CATALOG START WITH '/standbydisk1/incrback/';

Step 4: Apply the Incremental Backup to the Standby Database

RMAN> RECOVER DATABASE NOREDO;