12c-Say goodbye to your backup when dropping your PDB
SQL> drop PLUGGABLE database ZSKMSDB;
Pluggable database dropped.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
4 OSSPORTALDB MOUNTED
SQL>
只能全容器庫恢復了:-----想當然的看問題了!!!
反覆嘗試恢復失敗,最終發現一旦pdb drop後沒法恢復的,天呢!!!
後來vpn**谷歌,發現有個老外有寫到:
RMAN 12c : Say goodbye to your backup when dropping your PDB:
I was working on my presentations for IOUG Collaborate, and I came upon this strange behaviour in RMAN 12c (12.1.0.1.0) which to me, shouldn’t happen. Seems that when you do a DROP PLUGGABLE DATABASE , it is the equivalent of DROP DATABASE INCLUDING BACKUPS. This means that if you need to restore your PDB later on, you won’t have this registered – just be careful when dropping them-----------
http://www.pythian.com/blog/rman-12c-say-goodbye-to-your-backup-when-dropping-your-pdb/
他測試和我測試差不多,結論也一樣:一旦pdb drop後,拿備份根本恢復不了:DROP PLUGGABLE DATABASE =DROP DATABASE INCLUDING BACKUPS.
***********************************************************
If you have a valid RMAN backups then do the following and it will work:
1) Create a new Auxiliary instance, and do a RMAN restore for the following PDBS only : ROOT, PDB$SEED and the Dropped PDB that needs to be restored.
2) Open this newly created Auxiliary instance.
3) You should be able to see all the 3 PDB (root, pdb$seed and dropped PDB) with all the datafiles.
4) Follow the process of unplugging and then plugging in this dropped PDB from the restored auxiliary instance into the original source CDB and you should be all set.
5) Drop the Auxiliary instance now.
***********************************************************************************
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13750068/viewspace-1177355/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Pay close attention to your download code——Visual Studio trick to run code when buildingUI
- Your title
- Scan Your Truck Using Nexiq Adapter: Simplifying Your Diagnostic ProcessAPT
- Prettier your projectProject
- Offering Your Seat
- Structuring Your TensorFlow ModelsStruct
- translate-your-site
- deploy-your-site
- your Android sdk is missingAndroid
- talk-to-your-data
- connect your tunnel to CloudflareCloud
- Creating your first iOS FrameworkiOSFramework
- RuneScape - To verify your level of combatBAT
- 錯誤內容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverErrorMySqlServer
- Project Management - 2) Estimate Your WorkProject
- Boost Your Strategy With The Content Marketing Tools
- Your VM has become "inaccessible.
- Getting NOW() in your preferred time zone
- 勇者鬥惡龍: “Your Story”失敗,但“Your RPG”或將續寫傳奇
- Make sure to include VueLoaderPlugin in your webpack configVuePluginWeb
- Would you like to develop a story for your character?dev
- JQuery Plugin 2 - Passing Options into Your PluginjQueryPlugin
- Writing your first Django app, part 1DjangoAPP
- How to build your custom release bazel version?UI
- godaddy 的 Monitoring performance to make your website fasterGoORMWebAST
- Your Tokens Are Mine: A Suspicious Scam Token in A Top Exchange
- 使用yum報錯Your license is invalid.
- Vultr賬號被封:Your account is currently closed
- DrawERD makes it easy to visualize your database structure.DatabaseStruct
- WWDC 2017:Your Apps and Evolving Network Security StandardsAPP
- today, is it worth 1/30,000 of your life?
- Elevate Your Lead Generation Game with Maps Scraper AIGAMAI
- How to prevent your jar packages from being decompiled?JARPackageCompile
- ou have not concluded your merge (MERGE_HEAD exists)
- 如何解決"You have an error in your SQL syntax"ErrorSQL
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.APPContextPackage
- Transformer網路-Self-attention is all your needORM
- Call Me By Your Name - node.js的小美好Node.js
- What’s your own way of spending two-day weekend?