Archive Stage
Determines if the staged Blob Storage files are moved to the defined archive container, once processing is completed. This will use AzCopy v.10 commands, so requires AzCopy v.10 and SAS Tokens for access.
In the generated SSIS staging flow, enabling this adds AzCopy steps that create the archive container if needed, copy the object's staged files from the stage container to the archive container, and remove them from the stage container. The steps are only generated when the configured AzCopy Version is 10 or later and the package stages the files, with Stage On Extract on or for a persistent object, and they authenticate with the stage and archive SAS tokens. With Stage On Extract off, an object that is not persistent gets no archive steps and its files stay in the stage container, and where the steps would otherwise be generated the build gives the warning OBJ_27005009 for the object.
When to Change This Setting
Enable this to keep a per-load history of the staged files in the archive container instead of leaving them in the stage container. It requires AzCopy v10, SAS tokens for both the stage and archive storage accounts, and Stage On Extract on or a persistent object.
Related Settings
| Setting | Interaction |
|---|---|
| AzCopy Version | Must be 10 or later for the archive-stage steps to be generated |
| Stage On Extract | Must be on, or the object persistent, for the archive-stage steps to be generated |
| Stage Container | The container the staged files are moved from |
| Archive Container | The container the staged files are moved to |
| Stage SAS Token | Authenticates the copy from the stage container |
| Archive SAS Token | Authenticates the copy to the archive container |
Notes
- This setting is part of the Azure settings category.
- The default value for this setting is
N.