Timestamp Preservation Using REST API

Learn how to set the timestamp preservation for migration jobs using the DryvIQ REST API.


On This Page

Overview

Timestamp preservation will maintain the original time the content was created, as recorded on the source. The policy can be set with either "timestamps": true (the default setting) or "timestamps": false.

Platform Effect on Timestamps

Although DryvIQ will preserve timestamps when migrating content, the receiving platform may alter the timestamps DryvIQ provides. This may cause a slight discrepancy between the source and destination timestamps.

 

 

{
  "name":"Simple Transfer Job with Timestamp Preservation",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
      "transfer_type": "copy",
      "timestamps": true,
      "source": {
        "connection": { "id": "{{nfs_connection}}" },
        "target": {
          "path": "/SourcePath"
        }
      },
      "destination": {
        "connection": { "id": "{{cloud_connection}}" },
        "target": {
          "path": "/DestinationPath"
        }
      }
  },
  "schedule": {
    "mode": "manual"
  }
}