Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »



The Initialization Policy determines how the job will behave the first time it executes.

Options

Behavior

"on_initialize": "none"

Nothing is done prior to the first job execution. (This is the default.)

"on_initialize": "purge_destination"

All files and folders in the destination path of the job are deleted prior to starting the file transfer.

{
  "name":"Initialization_test",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
    "transfer_type": "copy",
	"on_initialize": "purge_destination",
    "source": {
      "connection": {
        "id": "{{nfs_connection}}" 
      },
      "target": {
        "path":"/"
      }
    },
    "destination": {
      "connection": {
        "id": "{{cloud_connection}}"
      },
      "target": {
        "path": "/proptest1"
      }
    }
  },
  "schedule": {
    "mode": "manual"
  }
}


  • No labels