078b2e6051
- Fix: replace QueryComposer::toDb() (protected) with camelCaseToUnderscore
for table name resolution — was causing 500 on real import
- Feat: optional database snapshot (mysqldump) before import with UI checkbox
(checked by default). Snapshot saved to data/backups/snapshot-{timestamp}/
- Feat: skip entity types whose module is not installed (import resilience)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
981 B
JSON
33 lines
981 B
JSON
[
|
|
{
|
|
"route": "/DataMigration/action/status",
|
|
"method": "get",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Status"
|
|
},
|
|
{
|
|
"route": "/DataMigration/action/export",
|
|
"method": "post",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Export"
|
|
},
|
|
{
|
|
"route": "/DataMigration/action/import",
|
|
"method": "post",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Import"
|
|
},
|
|
{
|
|
"route": "/DataMigration/action/listBackups",
|
|
"method": "get",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\ListBackups"
|
|
},
|
|
{
|
|
"route": "/DataMigration/action/deleteBackup",
|
|
"method": "post",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\DeleteBackup"
|
|
},
|
|
{
|
|
"route": "/DataMigration/action/snapshot",
|
|
"method": "post",
|
|
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Snapshot"
|
|
}
|
|
]
|