在进行达梦数据库(DSC)脱机备份时,需要特别注意以下两点:
[dmdba@localhost ~]$ dmrman dcr_ini=/home/dmdba/DSC/dmdcr.ini
dmrman V8
RMAN> backup database '/home/dmdba/DSC/dsc01_config/dm.ini' full backupset '/home/dmdba/full2025'
backup database '/home/dmdba/DSC/dsc01_config/dm.ini' full backupset '/home/dmdba/full2025'
file dm.key not found, use default license!
Processing backupset /home/dmdba/full2025
[Percent:100.00%][Speed:0.00M/s][Cost:00:00:47][Remaining:00:00:00]
backup successfully!
time used: 00:00:57.905
RMAN>
dmrman dcr_ini=/home/dmdba/DSC/dmdcr.ini
restore database '/home/dmdba/DSC/dsc01_config/dm.ini' from backupset '/home/dmdba/full2025'
recover database '/home/dmdba/DSC/dsc01_config/dm.ini' from backupset '/home/dmdba/full2025'
recover database '/home/dmdba/DSC/dsc01_config/dm.ini' update db_magic
启动dmrman工具:
dcr_ini
参数指向dmdcr.ini文件执行备份命令:
backup database '数据库ini文件路径' full backupset '备份集存放路径'
/home/dmdba/full2025
目录文章
阅读量
获赞