數據庫還原流程v3.0(from32 to 64bit)
[@more@]數據庫還原流程v3.0(from32 to 64bit)說明:當澳門通數據庫出現問題或需要把數據庫還原到某一天的備份準備:把需要還原的備份檔案複製到伺服器以下目錄:/u04/flash_recovery_area/MPACC/backupset//u04/flash_recovery_area/MPACC/archivelog//u04/flash_recovery_area/MPACC/autobackup/詳細流程: (以還原2009-01-07日備份為例子)1. 打開terminal, 登入RMAN[oracle@localhost ~]$ rman target / (或 rman target sys/mpacc@mpacc, 對emc把mpacc換成mpemc)Recovery Manager: Release 10.2.0.1.0 - Production on Sat Apr 1
expdp、impdp小结
[@more@]---导出用户test2的所有数据和对象expdp test2/test2 directory=test_dir dumpfile=test2_all.dmp--仅仅将test2_all.dmp文件生成 sql脚本,不导入数据impdp test2/test2 directory=test_dir dumpfile=test2_all.dmp sqlfile=test2_all.sql--导出用户test2的所有procedure对象expdp test2/test2 directory=test_dir dumpfile=test2_procedure.dmp include=procedure;impdp test2/test2 directory=test_dir dumpfile=test2_procedure.dmp sqlfile=test2_procedure.sql;--导出用户test2的所有package对象expdp test2/test2 directory
test
test[@more@]