How to backup workflows in Drive automatecally?
I tired to solve that and I came up with this workflow:
But something is missing and I’m not sure how to fix it.
How to backup workflows in Drive automatecally?
I tired to solve that and I came up with this workflow:
But something is missing and I’m not sure how to fix it.
Hello @Vasislav
There are many free templates for backup workflows to Google Drive.
I recommend checking them out for inspiration as you build your own. If you find one that fits your needs exactly, you can import it directly into your instance and customize it as needed.
Hey @mohamed3nan,
Thanks for the reply I managed to back the workflows, but I’m not sure how to load them in n8n automatically.
Hi,
Below is an example. You can add the trigger for your needs which can extract the file back from gdrive and input it into the “create workflow” node.
I am not sure if the n8n API
is the good way to backup.
But I used n8n command
In this way. All workflows can save into Google Drive
Then you can get the json import back using n8n UI or n8n import
command.
Another reason to use command is
** It can backup credentials either **
Take this template as example and replace the node after git
Glad to hear it! If you think I helped resolve the issue, please feel free to mark my reply as the solution. It’s greatly appreciated.
Cheers.
Oh nice, I actually only found out there an execution node too, which u can run shell command in, been looking at other method to backup, I use a github workflow atm, just for my workflows, but I think I might try this now too.