...
Parameter | Argument Type | Description | Required | Default | Example |
---|---|---|---|---|---|
--tenant <arg> | string | Tenant for which all objects are to be exported. | yes | - | --tenant default |
--fetch-size <arg> | int | Fetch size for database requests. The value must be at least 1 and not bigger than 100000. | no | 1000 | --fetch-size 500 |
--folder-size <arg> | int | Maximum number of items per folder to prevent performance issues when browsing folders. The value must be at least 1 and not bigger than 10000. | no | 5000 | --folder-size 50 |
--target-directory <arg> | string | Target directory for exported items. | no | . | --target-directory C:\Users\myusername\ymexports |
--start-date <arg> | string | Start date. Every item that was created since this date will be exported (e.g., 2018-03-13). If not specified, the first creation date will be used. | no | firstobjectcreation | --start-date 2021-09-01 |
--end-date <arg> | string | End date. Every item that was created until this date will be exported (e.g. 2021-03-13). If not specified, the end date is today. | no | today | --end-date 2021-09-01 |
Example
In the following example, all objects that were stored since 2021-09-01
by any user of tenant default
will be exported. Additionally, only 50 items should be stored in each folder, so a nesting strategy is used.
...