Syncplicity Support

Search our knowledgebase to get the help you need, today

Follow

Version preservation

DataHub will preserve and transfer all versions of a file on supported platforms

Options

"Preserve" Options include:

  • none
  • native

"Select" options include:

  • all
  • latest 
  • published
  • unpublished

Preserve Latest Version will only copy the latest version.

On subsequent runs, only the latest version from the source will be transferred to the destination; even if there are many versions on the source. 

Create Job - Transferring Versions with Dropbox

The Dropbox platform treats content version history a bit different than other cloud platforms, with each native move and rename tracked as a new version.

In order to only transfer true version history, enable the scripting option on step 6 during job creation and copy the following JSON:

UI - Advanced Scripting

1
2
3
4
5
6
7
8

{
"transfer": {
"versioning": {
            "preserve": "native",
            "select": "published"
        }
    }
}

Example JSON

POST {{url}}v1/jobs

{
    "name":"Preserve Latest Versions",
    "kind": "transfer",
    "transfer": {
        "transfer_type": "copy",
        "batch_mode": "always",
        "versioning": {
            "preserve": "native",
            "select": "latest"
        },
        "source": {
            "connection": { "id": "{{cloud_connection_source}}" },
            "target": {
                "path": "/SourcePath"
            }
        },
        "destination": {
            "connection": { "id": "{{cloud_connection_destination}}" },
            "target": {
                "path": "/DestinationPath"
            }
        }
    },
    "schedule": {
        "mode": "manual"
    },
    "stop_policy": {
        "on_success": 2
    },
    "category": {
        "name": "Preserve Latest Version Job Reports"
   }
}

Powered by Zendesk