rman配置配置
执行执行show all命令可以显示命令可以显示rman的当前配置的当前配置。
rman> show all;
使用目标数据库控制文件替代恢复目录
rman 配置参数为:
configure retention policy to redundancy 1; # default
configure backup optimization off; # default
configure default device type to disk; # default
configure controlfile autobackup off; # default
configure controlfile autobackup format for device type disk to '%f'; # default
configure device type disk parallelism 1 backup type to backupset; # default
configure datafile backup copies for device type disk to 1; # default
configure archivelog backup copies for device type disk to 1; # default
configure maxsetsize to unlimited; # default
configure encryption for database off; # default
configure encryption algorithm 'aes128'; # default
configure archivelog deletion policy to none; # default
configure snapshot controlfile name to 'd:/oracle/product/10.2.0/db_1/database/s
ncfrome.ora'; # default
如果想恢复某项设置,我们执行如下命令:如果想恢复某项设置,我们执行如下命令:configure... clear,例如:,例如:
注:大部分配置项的值都是to后边的内容,个别的除外,例如:
configure encryption for database off
rman> configure retention policy to redundancy 2;
新的 rman 配置参数:
configure retention policy to redundancy 2;
已成功存储新的 rman 配置参数
rman> show all;
rman 配置参数为:
configure retention policy to redundancy 2;
configure backup optimization off; # default
configure default device type to disk; # default
configure controlfile autobackup off; # default
configure controlfile autobackup format for device type disk to '%f'; # default
configure device type disk parallelism 1 backup type to backupset; # default
configure datafile backup copies for device type disk to 1; # default
configure archivelog backup copies for device type disk to 1; # default
configure maxsetsize to unlimited; # default
configure encryption for database off; # default
configure encryption algorithm 'aes128'; # default
configure archivelog deletion policy to none; # default
configure snapshot controlfile name to 'd:/oracle/product/10.2.0/db_1/database/s
ncfrome.ora'; # default
rman> configure retention policy clear;
文档被以下合辑收录
评论