Delete Policy
On This Page
Overview
When a delete is detected on either the source or the destination, the Delete Policy determines how DryvIQ will behave.
Mirror the Deletion When Items are Deleted from Source
When a delete is detected on either the source or the destination, DryvIQ will take action and delete the file on the opposing side. This option will never ignore delete events.
Based on the transfer type selected for the job, you can expected the following behavior for Delete Policy Mirror.
Transfer Direction | Behavior |
---|---|
Synchronize | When a delete is detected on either the source or the destination, DryvIQ will take action and delete the file on the opposing side. This option will never ignore delete events. |
Copy | When a delete is detected on the source, DryvIQ will take action and delete the file on the destination on subsequent job runs. This option will never ignore delete events. |
Migrate | Delete Policy Mirror is not applicable. |
Publish | Delete Policy Mirror is not applicable. |
Move | Delete Policy Mirror is not applicable. |
Copy folder structure | Delete Policy Mirror is not applicable. |
Ignore Items Deleted from Source
When a delete is detected on the source, DryvIQ will ignore and take no action. If a delete is detected on the destination, the delete will propagate. This is the default Delete Policy for Copy jobs.
Based on the transfer type selected for the job, you can expected the following behavior for Delete Policy Ignore Source.
Transfer Direction | Behavior |
---|---|
Synchronize | When a delete is detected on the source, DryvIQ will ignore and take no action. If a delete is detected on the destination, the delete will still occur. |
Copy | This is the default Delete Policy for Copy jobs. When a delete is detected on the source, DryvIQ will ignore it and take no action. If a delete is detected on the destination, the delete will still occur. |
Migrate | Delete Policy Ignore Source is not applicable. |
Publish | Delete Policy Ignore Source is not applicable. |
Move | Delete Policy Ignore Source is not applicable. |
Copy folder structure | Delete Policy Ignore Source is not applicable. |
Ignore Items Deleted from Destination
When a delete is detected on the destination, DryvIQ will ignore and take no action. If a delete is detected on the Source, the delete will propagate.
Based on the transfer type selected for the job, you can expected the following behavior for Delete Policy Ignore Destination.
Transfer Direction | Behavior |
---|---|
Synchronize | When a delete is detected on the destination, DryvIQ will ignore and take no action. If a delete is detected on the source, the delete will still occur. |
Copy | Delete Policy Ignore Destination is not applicable. With transfer type Copy, DryvIQ will always use the Ignore Source Delete Policy, so Delete Policy Ignore Destination would not be applicable. |
Migrate | Delete Policy Ignore Destination is not applicable. With transfer type Migrate, DryvIQ does not run change/delete detection on subsequent job runs, Delete Policy Ignore Destination would not be applicable. |
Publish | Delete Policy Ignore Destination is not applicable. Based on the definition of transfer type Publish, it must make deletes on the destination to ensure it matches the Source, so Delete Policy Ignore Destination would not be applicable. |
Move | Delete Policy Ignore Destination is not applicable. Based on the definition of transfer type Move, it must evaluate the source, transfer all content to the destination, then delete everything from the Source, so Delete Policy Ignore Destination would |
Copy folder structure | Delete Policy Ignore Destination is not applicable. With transfer type Copy Folder Structure, DryvIQ does not run change/delete detection on subsequent job runs, Delete Policy Ignore Destination would not be applicable. |
Ignore Items Deleted from Both Source and Destination
When a delete is detected on either the Source or the Destination, DryvIQ will ignore and take no action. Ignore Both is the system default Delete Policy.
Based on the transfer type selected for the job, you can expected the following behavior for Delete Policy Ignore Both.
Transfer Direction | Behavior |
---|---|
Synchronize | When a delete is detected on either the source or the destination, DryvIQ will ignore and take no action. |
Copy | Delete Policy Ignore Both is not applicable. |
Migrate | Delete Policy Ignore Both is not applicable. |
Publish | Delete Policy Ignore Both is not applicable. |
Move | Delete Policy Ignore Both is not applicable. |
Copy folder structure | Delete Policy Ignore Both is not applicable. |
Delete Policy Using REST API
Configuration options available in using the REST API correspond directly with the user interface options.
REST API Setting | UI Setting |
---|---|
ignore_both | Ignore items deleted from both Source and Destination |
ignore_source | Ignore items deleted from Source |
ignore_destination | Ignore items deleted from Destination |
mirror | Mirror the deletion when items are deleted from Source |
POST {{url}}v1/jobs |
{
"name":"Test Delete Policy",
"kind": "transfer",
"transfer": {
"audit_level": "error",
"transfer_type": "copy",
"delete_propagation": "ignore_source",
"source": {
"connection": { "id": "{{cloud_connection_source}}" },
"target":
{"path":"/SourcePath"}
},
"destination": {
"connection": { "id": "{{cloud_connection_destination}}" },
"target": {
"path": "/DestinationPath"
}
}
},
"schedule": {
"mode": "manual"
}
} |