IMPDP RECOVER
Function
IMPDP RECOVER specifies the execution phase of importing a database.
Syntax
IMPDP DATABASE RECOVER SOURCE = 'directory' OWNER = user [LOCAL];
Parameter Description
- directory
Data source directory of the imported database.
- user
Owner of the imported database.
- LOCAL
If this column is specified, data is imported to the original cluster. If this column is not specified, data is imported to a new cluster.
Examples
-- The IMPDP DATABASE RECOVER syntax is used for fine-grained backup and restoration and is called by the backup and restoration tool. If you directly call the syntax, an error message may be displayed, indicating that the directory does not exist. Therefore, you are not advised to directly call the syntax.
gaussdb=# IMPDP DATABASE RECOVER SOURCE = '/data1/impdp/database' owner=admin;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot