Data import fatal error on 4.6.0

I’m experiencing a similar issue. I get the same initial error message, but then for each entity I get a different error message:

- admin::permission:
  -  exists in destination schema but not in source schema
- admin::user:
  -  exists in destination schema but not in source schema
- admin::role:
  -  exists in destination schema but not in source schema
- admin::api-token:
  -  exists in destination schema but not in source schema
- admin::api-token-permission:
  -  exists in destination schema but not in source schema
- plugin::upload.file:
  -  exists in destination schema but not in source schema
...

I have even tried importing in the same strapi app from which I have exported and it failed on all entities.

Here’s the archive with my project code:

Included in the archive:

  • backup/backup_test.tar.gz - the backup file from which I tried to import
  • import_error_log_1676583740176.log - the error log of the failed import

Steps to reproduce:

  1. Unpack the archive on a windows machine (I haven’t tried it on Linux)

  2. Run:

    yarn install

  3. Run:

    yarn strapi export --no-encrypt -f backup/backup

  4. Run:

    yarn strapi import -f backup/backup.tar.gz

My environment:

  • OS: Windows 11 Pro
  • node 16.9.0
  • yarn 1.22.19