Trust Mode (Optimize Data Upload) Using REST API
Learn how to optimize data upload for migration jobs using the DryvIQ REST API.
Trust mode is an optimized way to upload data to the destination when DryvIQ knows that files with the same paths are identical on both the source and destination. When trust mode is enabled, DryvIQ matches files by name only and does not make additional calls to verify file sizes, dates, etc. The default Trust Policy is set to “trust_mode”: false. To enable it, use “trust_mode”: true.
{
"name":"Simple Transfer Job with trust mode",
"kind": "transfer",
"transfer": {
"trust_mode": true,
"transfer_type": "copy",
"source": {
"connection": { "id": "{{nfs_connection}}" }
},
"destination": {
"connection": { "id": "{{cloud_connection}}" },
"target": {
"path": "/MyDestination1"
}
}
},
"schedule": {
"mode": "manual"
}
}