Archive and encrypt files from on-prem storage

Recipe ToolsMarketingDocument/FileUtilitiesDeveloper Tool

What it does

When the clock triggers every 5 minutes in Clock, this automation lists files in an on-prem folder, downloads each one, and compresses them into a single archive. The File connector encrypts the result with Pgp, uploads it back to on-prem storage, and logs any errors to the job report.

Who it's for

IT teams who need to regularly archive and encrypt sensitive files stored on-premises without manual intervention.

How teams use this

Secure archived backups on-premises

Automatically compress and encrypt files every 5 minutes so sensitive data is protected at rest in on-prem storage. The team does not need to manually handle encryption or compression.

Retain compliance-required file archives

Run this automation on a compliance folder to ensure all files are encrypted and archived according to regulatory requirements. Only the folder path changes to point to the compliance location.

Add retention metadata to encrypted files

Extend the automation to include a retention date or classification tag when the file is encrypted so archived records include metadata for lifecycle management. Add a metadata step before upload.

Filter files by type before archiving

Set a condition to only process files matching specific extensions so the archive contains only relevant documents. This requires adding a file type filter after the list step.

How it works

  1. Run every 5 minutes. This automation starts on a schedule, checking for files to process every 5 minutes.
  2. List files in the on-prem folder. Retrieve all files from the designated on-prem folder so each one can be processed in the next steps.
  3. Download each file and compress into archive. Download each file from on-prem storage using File connector and combine them into a single compressed archive for efficient storage and transfer.
  4. Encrypt the compressed archive. Apply encryption to the compressed file using Pgp to protect sensitive data before it is stored or transmitted to on-prem storage.
  5. Upload encrypted file and log errors. Save the encrypted archive back to the on-prem folder using Onprem Files. If an error occurs, the job report is updated and the job stops.