Automated Backup of n8n Workflows and Credentials

somdn_product_page

This n8n workflow automates the process of regularly backing up your n8n workflows and credentials by exporting them, then committing and pushing the backups to a Git repository. It is triggered by a cron schedule at four different times daily, ensuring that your automation setup is consistently saved and versioned. The process begins with a manual trigger or the scheduled cron trigger, which initiates the export of workflows and credentials using n8n CLI commands. These exported files are then added to a Git repository, committed with a timestamped message, and pushed to a remote repository. This workflow is ideal for maintainers who want to safeguard their automation configurations without manual intervention, ensuring version control and easy recovery in case of misconfigurations or failures.

Node Count

6 – 10 Nodes

Nodes Used

cron, executeCommand, manualTrigger

Reviews

There are no reviews yet.

Be the first to review “Automated Backup of n8n Workflows and Credentials”

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