Sync folder with another lab

BM
Benjamin M
4 days ago
Public
Agent description

This agent is used to synchronize a folder of a data with another data lab. In the source lab it uses 'rclone' package to sync and the destination lab works like an S3 server. 



The S3 server in the destination lab must be configured : https://constellab.community/bricks/gws_academy/latest/doc/data-hub/use-data-lab-as-s3-server/5bced14a-3af5-4c4a-8adc-1521d4157b54

Latest version infos (V1)

Infos about this version
Parameters

s3_endpoint

Url of the lab S3 server (should end with 's3-server/v1'

Type : string

bucket

Name of the destination bucket

Type : string

access_key_id

Access key id for the S3 bucket

Type : string

secret_access_key

Secret access key for the S3 bucket

Type : string

source_folder

The source folder to sync with the destination lab. Must be absolute.

Type : string

destination_folder

Optional

Destination folder in the bucket. If empty, write in bucket root folder.

Type : string

transfers

Optional

Number of parallel file to transfer

Type : intDefault value : 16

chunk_size

Optional

Size of the chunk to send

Type : stringDefault value : 128M
Environment file
Code

Comments - 0

Authors
BM
Benjamin M