Help Center/
GaussDB(DWS)/
Data Migration and Synchronization/
Exporting Data/
Using GDS to Export Data to a Remote Server/
Planning Data Export
Updated on 2024-05-07 GMT+08:00
Planning Data Export
Scenarios
Before you use GDS to export data from a cluster, prepare data to be exported and plan the export path.
Planning an Export Path
- Remote mode
- Log in to the GDS data server as user root and create the /output_data directory for storing data files.
1
mkdir -p /output_data
- (Optional) Create a user and the user group to which it belongs. This user is used to start GDS and must have the write permission on the directory for storing data files.
1 2
groupadd gdsgrp useradd -g gdsgrp gdsuser
If the following information is displayed, the user and user group already exist. Skip this step.
1 2
useradd: Account 'gdsuser' already exists. groupadd: Group 'gdsgrp' already exists.
- Change the directory owner to gdsuser.
1
chown -R gdsuser:gdsgrp /output_data
Parent topic: Using GDS to Export Data to a Remote Server
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