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.
Automated Backup of n8n Workflows and Credentials
Node Count | 6 – 10 Nodes |
---|---|
Nodes Used | cron, executeCommand, manualTrigger |
Reviews
There are no reviews yet.