Importing Your Data
Prerequisites
Before proceeding with copying the existing folder to the ZebClient mount point, ensure you have completed the following prerequisites as detailed in the Guided Installation section:
Your storage backend is set up and ready. This is necessary for successful data transfers to ZebClient. Defining backend with Azure Blob Storage Defining backend with AWS S3
The ZebClient mount point is properly mounted on your system. Mounting ZebClient with Azure Blob Storage Mounting ZebClient with AWS S3
If you are already using ZebClient and if you want to import data from a remote machine you can Mount additional agent node.
Copy the Existing Folder to ZebClient Mount Point with Rsync
These chapters provide detailed instructions on setting up your storage backend, which is a prerequisite for successful data transfer to ZebClient.
Once you have ZebClient installed and running you can copy the existing location mounted to your machine to the ZebClient mount point located at /zcfs
(default location) using Rsync, follow these steps:
Open a terminal window on your computer.
Navigate to the directory containing the folder you wish to copy with the
cd
command. For example, if your folder is located in your home directory:
Use the
rsync
command to copy the folder to the/zcfs
mount point. Replaceyour-folder-name
with the name of your folder. Add-av
to include all subdirectories and verbose output:
Verify that the folder has been copied successfully by listing the contents of the
/zcfs
directory:
You should see your folder, including its contents, listed in the output.
Your folder is now copied to the ZebClient mount point at /zcfs
.
Please adjust the Rsync options according to your needs, and ensure /zcfs
is the correct mount point for your ZebClient configuration.
Copy the Existing Folder from S3 to ZebClient Mountpoint
Once you have ZebClient installed and running you can copy the existing data from an S3 bucket to the ZebClient mount point located at /zcfs
(default location), follow the steps below:
Open a terminal window on your computer.
Ensure you have AWS CLI installed and configured with the necessary permissions to access the S3 bucket.
Use the
aws s3 sync
command to copy the folder from S3 to the /zcfs mount point. Replaces3://your-bucket-name/your-folder-name
with your S3 bucket and folder path:Verify that the folder has been copied successfully by listing the contents of the /zcfs directory:
You should see your-folder-name
listed in the output.
Your folder should now be copied from S3 to the ZebClient mount point at /zcfs
.
Last updated