Save all credentials before updating

Hi friends, last time I updated my n8n in digital ocean I lost all my credentials… is there any way to save them?

Thank you!!!

Hi @Aleix_Iglesias,

The credentials should be saved in the database and would normally persist between updates, How did you perform the update last time?

To answer your question though… Yes you can export credentials using the CLI tool, This page should help: CLI commands for n8n | Docs

1 Like

I did it from digital ocean terminal :smile: