一:进入RMAN
(1)连接本地数据库
set oracle_sid=zsddb
rman target /
(2)以辅助日志帮助分析rman的执行情况
rman target / log /data/backup/rman.log
(3) 查看全库的备份
list backup of database(数据库的备份)
list backup of tablespace users(表空间的备份)
list backup of controlfile(控制文件的备份)
list backup of archivelog all(查看归档日志的备份)
(4) 查看rman的配置参数
show all
(5) 修改rman的配置参数
configure retention policy to recovery window of 7 days;
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/data/backup/rman/con_%F';
configure compression algorithm 'medium';
configure archivelog deletion policy to applied on all standby;
(1)连接本地数据库
set oracle_sid=zsddb
rman target /
(2)以辅助日志帮助分析rman的执行情况
rman target / log /data/backup/rman.log
(3) 查看全库的备份
list backup of database(数据库的备份)
list backup of tablespace users(表空间的备份)
list backup of controlfile(控制文件的备份)
list backup of archivelog all(查看归档日志的备份)
(4) 查看rman的配置参数
show all
(5) 修改rman的配置参数
configure retention policy to recovery window of 7 days;
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/data/backup/rman/con_%F';
configure compression algorithm 'medium';
configure archivelog deletion policy to applied on all standby;