Syncplicity Support

Follow

Trust mode - optimize data upload

Summary

Trust mode is an optimized way to upload data to destination when we know that files with same paths are identical on both source and destination. When trust mode is enabled, DataHub matches files by name only and does not perform extra calls to verify file sizes dates etc.

Job JSON Example

Trust Policy can be set with trust_mode to:

  • true
  • false

Example

{
    "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"
    }
}

Powered by Zendesk