/
Initialization Policy
Initialization Policy
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"
}
}
Related content
Job Type
Job Type
Read with this
Initialization Policy
Initialization Policy
More like this
Job Transfer Direction
Job Transfer Direction
Read with this
Job Failure Policy
Job Failure Policy
More like this
Job Failure Policy
Job Failure Policy
More like this
Empty Container/Folder Policy
Empty Container/Folder Policy
More like this