Archive Workflow Data
This task will archive all files in the working directory for the current workflow. Please note that it won't automatically archive any files in sub-directories of the working directory. You can adjust how many archives, or how long archives are kept, using the house keeping settings.
We recommend to use this task at the end of a workflow to backup and remove files per run.
Settings
Archive Folder
Required
The folder where archives will be stored. Defaults to 'Archive' within the working directory. The directory will be created if it does not already exist.
External Files/Directories
Optional
Used to specify files or directories outside the working directory that you wish to add to the archive. Can also be used to specify files or directories within a sub-directory of the working directory. Any files or directories specified here won't be deleted after being archived.
There are different ways to provide this, depending on the data type selected:
- List - Allows you to provide a list of files/directories to add to the archive.
- File - Allows you to provide a single file to add to the archive.
- Folder, HTTP or FTP location - Allows you to provide a single directory to add to the archive. All sub-directories and files within the directory specified will be added to the archive.
- Output from the previous task - Use in conjunction with the List Files task to dynamically build a list of files to add to the archive.
House Keeping Settings - Number
Required
Used to set either the number of days to keep archives for, or the total number of archive to store, depending on the Type selected.
House Keeping Settings - Type
Required
Choose the type of house keeping to perform on the archives. The available options are:
- NotEnabled - House keeping will be disabled. All archives will be kept
- NumberOfArchives - If the number of archives exceeds the chosen number, the oldest archives will be deleted.
- NumberOfDays - Any archives older than the chosen number of days will be deleted.