Something is not working as expected. I wanted to migrate from SQLite to PostgreSQL as well, so I jumping right in.
I’m running n8n in a docker container via docker-compose. So on my host I tried:
docker exec -it n8n n8n export:workflow --backup --output=backup/
That results in:
Error exporting workflows. See log messages for details.
No workflows found with specified filters.
Sadly I’m unable to find the logs, at least I can’t find anything in the container logs.
I’ve also tried to login to the container via sh
and execute the command directly in the container, but that doesn’t change anything:
/data # n8n export:workflow --backup --output=backup/
Error exporting workflows. See log messages for details.
No workflows found with specified filters.
Exporting the credentials also don’t work for me:
/data # n8n export:credentials --backup --output=backup/
Error exporting credentials. See log messages for details.
No credentials found with specified filters.
Any ideas why I can’t export my data?