Git backup of workflows and credentials — n8n Workflow
Overzicht
This creates a git backup of the workflows and credentials.
It uses the n8n export command with git diff, so you can run as many times as you want, but only when there are changes they will create a commit.
Setup You need some access to the server.
Create a repository in some remote place to host your project, like Github, Gitlab, or your favorite private repo.
Clone the repository in the server in a place that the n8n has access. In the example, it's the ., and the repository name is repo.
Gebruikte knooppunten
Workflow-voorvertoning
Hoe het werkt
- 1
Trigger
De workflow start met een trigger-trigger.
- 2
Verwerking
Gegevens stromen door 7 knooppunten, connecting cron, executecommand, manualtrigger.
- 3
Uitvoer
De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.
Knooppuntdetails (7)
On clicking 'execute'
manualTrigger
git push
executeCommand
Cron
cron
Hoe deze workflow te importeren
- 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
- 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
- 3Selecteer het gedownloade bestand
git-backup-of-workflows-and-credentialsen klik op Importeren. - 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
- 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.
Of plak rechtstreeks in n8n → Importeren uit JSON:
Integraties
Gemaakt door
Allan Daemon
@allandaemon
Tags
Nieuw bij n8n?
n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.
n8n gratis ophalen →