Skip to main content

Archive Source Files

Determines if the source files are copied to the defined archive container, once processing is completed. A project with a Persistent Landing Connection copies them to the persistent landing folder of that connection instead. A copied file is deleted from the source location only with Delete Source Files enabled.

The file move applies to files read from a source connection that is cloud enabled with the Azure Blob Storage, Data Lake Gen 2, Data Lake Gen 1, Azure File Storage or File System Linked Service Type or, outside a Fabric project, with the Fabric Lakehouse Linked Service Type and a file format System Type, and in a Fabric project also to files read from a source connection of the Azure Blob Storage, Azure Data Lake Store or Azure File Server Connection Type with Cloud off or with no Linked Service Type. Here the landing connection is the Landing Connection of the project or, in a project without one, a Target Connection with the Landing Area Integration Stage. The Data Factory pipeline that loads the object from such a source connection writes the move when the landing connection has the Binary Format System Type or the project uses Pushdown Extraction, and the Persistent Landing Connection or, without one, the landing connection is of the Azure Blob Storage, Azure Data Lake Store or Azure File Server Connection Type or, outside a Fabric project, is cloud enabled with the Fabric Lakehouse Linked Service Type and a file format System Type. An Archive Source Files extension point that applies to the object takes the place of the move. A Databricks project with Pushdown Processing generates no file move for this setting.

When to Change This Setting​

Keep the default Y to retain processed source files in the archive container, or in the folder described above for a project with a Persistent Landing Connection. Disable it when source files should remain in the source location or be removed by Delete Source Files instead, which then removes the files of a successful load only when OnError Source Files generates no file move either.

SettingInteraction
Delete Source FilesDeletes source files after their archive copy. Where this setting generates no file move it deletes them after a successful load only when OnError Source Files generates no file move either
OnError Source FilesCopies source files to the error location on failure
Archive Landing FilesThe equivalent archive move for landed files

Notes​

  • This setting is part of the Azure settings category.
  • The default value for this setting is Y.