RMAN的基本命令-创新互联

     1.list 显示命令 RMAN> list backup;      --显示备份 # lists backup sets, p_w_picpath copies, and proxy copies RMAN> list backupset; --显示备份集 # lists only backup sets and proxy copies RMAN> list copy;      --显示(镜像拷贝的备份) # lists only disk copies RMAN> list backupset of tablespace newtbs; -----------------------------------------------------------------------------------------------------------------     RMAN> show device type;     --查看rman配置信息     RMAN configuration parameters for database with db_unique_name PROD are:     CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;          RMAN> configure device type disk parallelism 1 backup type to copy;  --修改默认属性 -----------------------------------------------------------------------------------------------------------------                                                                                                                                                                                                       2.report 报告命令 RMAN> report schema;     --显示可备份的目标;                                                        策略,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        RMAN> report obsolete;     --显示那些不再需要的备份文件; 3.delete 删除命令 RMAN> delete obsolete; 4.backup RMAN> backup tablespace newtbs; RMAN> backup datafile 10; RMAN> backup database; 5.resotre 备份还原 RMAN> restore tablespace newtbs;  --将数据文件 cp 到原来的地方并覆盖源文件 6.recover 修复 RMAN> recover tablespace newtbs;      --跑日志,修复scn

在苏州等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供成都网站建设、成都网站设计 网站设计制作定制网站设计,公司网站建设,企业网站建设,品牌网站设计,全网整合营销推广,成都外贸网站制作,苏州网站建设费用合理。

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网站名称:RMAN的基本命令-创新互联
文章源于:http://abwzjs.com/article/jcjih.html