A link allow to precisely define what files are automatically transfered between a volume and a hub in one direction. In the «Parameters» tab, we can specify the filter rules used by the underlaying rsync for this specific link.
Rsync provides a wide range of options that enable you to customize its behaviour and control various aspects of file transfer.
# The producer sends the software for the
# pipeline in continuous integration (CI):
+ /tools/
+ /tools/**
The options specified on a link affect only this link. Visit the Rsync-Parameters page for more details.
--delete
# The option: rsync --delete is set (see the
# eraser icon) to have an identical copy at
# destination (local file deletion and
# renaming at source are passed on
# destination)
The status is a bunch of information on links, to know when was the last run, the duration, and possible errors encountered in the process.
Links and properties can be accessed as JSON objects:
{
"_id": "lnk_01G0J7XSPSE6C93H1B9RRFE9S7",
"author": "support",
"enable": true,
"include": "# The producer sends the software for the\n# pipeline in continuous integration (CI):\n\n+ /tools/\n+ /tools/**\n\n# The option: rsync --delete is set (see the\n# eraser icon) to have an identical copy at\n# destination (local file deletion and\n# renaming at source are passed on\n# destination)",
"name": "tools",
"rsync_args": "--delete",
"src_id": "vol_01FWEWD03P3J2H98TQ0Y4AXF3H",
"tgt_id": "hub_01FX33ZYB78E9F5FTZMKC96A4P",
"time": 1649879738073,
"timeBegin": "2023-12-15 11:16:09+00:00",
"timeEnd": "2023-12-15 11:18:24+00:00",
"timeRead": "2023-12-15 11:16:09+00:00"
}
Please read Environment-Setup and API for details about how to setup a client programming environment.
You can try the demo link interface, continue reading the documentation about the Volume and Hub.