You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
The Directus docs read: "However, because Directus stores your content as pure SQL, that data is always portable between versions". This is not true for uploaded user content, which is stored in directus_files. There seems to be not automated way to copy data from Directus-internal tables.
I'd expect to:
Copy my database (including Directus tables of the former version)
Run the install wizard of Directus 7
Point the wizard to the copied database
The wizard alters the tables (while keeping the data)
Alternatively: a file export, file import feature.
Actual Behavior
Pointint Directus 7 to an old DB will cause the installation wizard to show an error and not complete. There seems to be no way to migrate files between versions.
Steps to Reproduce
Point the Directus 7 install page to an existing Directus 6.* data base
The text was updated successfully, but these errors were encountered:
directus_files is not a requirement of data portability — your files are on the server (or wherever the storage adapter is set to). The issue is not the system table, it's how to do bulk (re)uploads of the actual Files. This could be done in batches (you can drag multiple files at a time into File Library) or through a new feature (eg: FTP upload).
From v7+ this won't be an issue since we have a set versionless schema, but to get there we had to make some sacrifices with upgrades from previous version.
As Welling said, if someone wants to draft a script to map/migrate v6 system data to v7 we'll gladly take a look... but unfortunately our internal Core team doesn't have time to work on this.
I'll close this since it's not something we'll be able to work on and I think a "Bulk FTP Upload" would solve this specific case. Happy to continue the discussion though!
Version Info
Expected Behavior
The Directus docs read: "However, because Directus stores your content as pure SQL, that data is always portable between versions". This is not true for uploaded user content, which is stored in directus_files. There seems to be not automated way to copy data from Directus-internal tables.
I'd expect to:
Alternatively: a file export, file import feature.
Actual Behavior
Pointint Directus 7 to an old DB will cause the installation wizard to show an error and not complete. There seems to be no way to migrate files between versions.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: