Skip to content

Automated script to migrate from Directus v8 to Directus v9

Notifications You must be signed in to change notification settings

ahmedkamalio/migration-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migration Tool

Migrate from a v8 instance to v9 instance.

This tool will copy over:

  • Schema (collections / fields)
  • Files (including file contents)
  • User data (eg all items in all collections)
  • Roles
  • Users

Note: This tool will NOT copy over:

  • Interface/display configurations
  • Permissions
  • Activity / revisions

Usage

  1. Clone this repo
  2. Add a .env file with the following values:
V8_URL="https://v8.example.com/project"
V8_TOKEN="admin"

V9_URL="https://v9.example.com"
V9_TOKEN="admin"
  1. Run the index.js file: node index.js

About

Automated script to migrate from Directus v8 to Directus v9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published