Help Center/
GaussDB/
Developer Guide(Centralized_8.x)/
SQL Reference/
SQL Syntax/
E/
EXPDP DATABASE
Updated on 2024-06-03 GMT+08:00
EXPDP DATABASE
Function
EXPDP DATABASE exports all physical files in a database.
Syntax
EXPDP DATABASE db_name LOCATION = 'directory';
Parameter Description
- db_name
Name of the database to be exported.
- directory
Directory for storing exported files.
Examples
-- The EXPDP DATABASE 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=# EXPDP DATABASE test LOCATION = '/data1/expdp/database';
Parent topic: E
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot