There is a cli tool that can be used to export workflows and credentials, you can also use it to import them either one at a time or in bulk.
With the credentials it is worth noting that are encrypted, you can export decrypted versions or you can make a copy of the key from the config file (pop it in a password manager, put it on a usb stick and lock it away or whatever you want to do with it) and that way you only need to work with the encrypted values.
Which method? You can still run the docker exec command I shared on v1 and the cli still functions. This is different to say starting a worker on v1 using docker run.
Hi @Jon,
Thanks.
When I run this on V < 1.0 /usr/bin/docker exec -u node -t n8n-digital-ocean_n8n_1 n8n export:workflow --backup --output=/files/backups
I get this message - which implies it wont work in future versions - and if I remember right v1.x already has removed Basic auth (I could be wrong)
Basic auth has been deprecated and will be removed in a future version of n8n. For authentication, please consider User Management. To learn more: https://docs.n8n.io/hosting/authentication/user-management-self-hosted
That message is around basic auth not the command itself and is unrelated, We have removed basic auth in favour of the User Management feature for the web interface. Basic Auth is that little browser pop up for authenticating, Instead of that the option now is the n8n login page.