Help Center > > Developer Guide> Data Export> Using GDS to Export Data to a Remote Server> Planning Data Export

Planning Data Export

Updated at: Sep 17, 2021 GMT+08:00


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
  1. Log in to the GDS data server as user root and create the /output_data directory for storing data files.

    mkdir -p /output_data

  2. (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.

    groupadd gdsgrp
    useradd -g gdsgrp gdsuser

    If the following information is displayed, the user and user group already exist. Skip this step.

    useradd: Account 'gdsuser' already exists.
    groupadd: Group 'gdsgrp' already exists.

  3. Change the directory owner to gdsuser.

    chown -R gdsuser:gdsgrp /output_data 

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel