...
none - disable the batch mode for all job's executions
initial - use batch mode for the first job execution only
always - (default behavior) use batch mode for all job executions
Code Block |
---|
{
"name":"Simple Transfer Job with no batch mode",
"kind": "transfer",
"transfer": {
"batch_mode": "none",
"transfer_type": "copy",
"source": {
"connection": { "id": "{{nfs_connection}}" }
},
"destination": {
"connection": { "id": "{{cloud_connection}}" },
"target": {
"path": "/MyDestination1"
}
}
},
"schedule": {
"mode": "manual"
}
} |
Enable Batch Manifests
Batch Manifests are configured in your appSettings.json file.
...
You need the platform ID. See List Platform ID's for the call to return the ID.
You must restart your SkySync Service for the batch size to be applied.
The Default Batch Size is 100.
Code Block |
---|
{
"data": {
"provider": "sqlserver",
"connection": "SERVER=localhost;DATABASE=SkySyncV4;Integrated Security=SSPI;",
"directory": "C:\\ProgramData\\SkySync\\v4"
},
"server": {
"proxy_url": "http://192.168.1.76:9090/"
},
"deployment": {
"packageDirectory": "C:\\ProgramData"
},
"office365": {
"batch_save_manifests": true,
"batch_item_limit": "5"
},
"onedrive-business": {
"batch_save_manifests": true,
"batch_item_limit": "5"
},
"license": {
"activation_key": "ab4e994a-342f-0000-0000-b5da2577579b"
}
}
}
|
Settings Through the UI
Add the following to the JSON block in Create Job Advanced Features.
...