"n8n import:workflow --separate" does not import all .json files

Hi @Georgina, welcome to the community!

I am sorry you’re having trouble. I just exported 85 workflows from my own production n8n instance using docker exec -it -u node n8n-n8n-1 n8n export:workflow --backup --output=/storage/export/ and also got the Successfully exported 85 workflows. message as expected.

I have then started a new n8n instance, imported all workflows and retrieved them through n8n’s REST API - the count was identical, all 85 workflows were imported.

So unfortunately, I was not able to reproduce your problem so far :slightly_frowning_face:. Could you share example workflow files that won’t import as they should using the CLI? These workflows won’t have to actually do anything, so anything confidential (such as URLs or auth information) can be redacted or removed, but it’d be great to see if there might be any duplicate IDs or anything else that would cause this problem.

Thank you!