Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smonn/directus-migrate

Unofficial migration CLI for Directus CMS
https://github.com/smonn/directus-migrate

Last synced: 7 days ago
JSON representation

Unofficial migration CLI for Directus CMS

Awesome Lists containing this project

README

        

# directus-migrate

> - Only migrates the data models for `collections`, `fields`, and `relations`. No items (data) is migrated.
> - Does not remove data models.
> - Use with caution, backup your data before attempting this.

Usage:

```sh
npx directus-migrate config.json
```

Example config:

```json
{
"dry": false,
"source": {
"url": "https://directus-source.domain.tld",
"token": "source admin user token"
},
"target": {
"url": "https://directus-target.domain.tld",
"token": "target admin user token"
}
}
```