Automated FTP/SFTP to MinIO Backup Workflow

somdn_product_page

This n8n workflow automates the backup of files from an FTP or SFTP server, such as a WordPress website’s media content, to a MinIO storage server. It is designed to run on a schedule, ensuring regular backups without manual intervention.

The workflow begins with a Schedule Trigger node that initiates the process at a specified interval, for example, daily at 2 AM. Once triggered, it activates the ‘List FTP Folder contents’ node, which connects via SFTP to a specified directory on the server (e.g., WordPress uploads folder) and lists all files—including subfolders due to the recursive setting.

Next, the ‘Download content’ node fetches each listed file from the FTP/SFTP server based on the paths obtained. The ‘Create Path for MinIO’ node processes each file path, removing the filename to generate the correct target directory structure for MinIO.

Finally, the ‘Upload on MinIO with correct Path’ node uploads each file to a designated MinIO bucket, preserving the folder structure in the storage service. This setup ensures an organized, automated backup system that can also be adapted for other cloud storage providers supporting S3 protocols.

This workflow is ideal for website administrators or developers who want a reliable, hands-off solution to back up website media, logs, or other critical files regularly, reducing data loss risk and simplifying data management.

Node Count

6 – 10 Nodes

Nodes Used

ftp, s3, scheduleTrigger, set, stickyNote

Reviews

There are no reviews yet.

Be the first to review “Automated FTP/SFTP to MinIO Backup Workflow”

Your email address will not be published. Required fields are marked *