Skip to content
Back

Migration from Selfhosted to Selfhosted-instance skipps documents

  • 0
  • Self Hosted
  • Tools
Timo
11 Oct, 2025, 15:38

Hi, i am trying to migrate from one self hosted instance (1.7.4) to another one (1.7.4) via the migration tool. I've tried repeatly, but it won't import all documents. Even when trying multiple times. The migration will "succeed", show no errors but won't import all documents.

TypeScript
  "$id": "68ea7895a5233490f2e4",
  "$createdAt": "2025-10-11T15:32:37.677+00:00",
  "$updatedAt": "2025-10-11T15:32:44.191+00:00",
  "status": "completed",
  "stage": "finished",
  "source": "Appwrite",
  "destination": "Appwrite",
  "resources": [
    "user",
    "team",
    "membership",
    "database",
    "collection",
    "attribute",
    "index",
    "document",
    "function",
    "environment-variable",
    "deployment",
    "bucket",
    "file"
  ],
  "resourceId": "",
  "statusCounters": {
    "user": {
      "pending": 0,
      "success": 1,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "team": {
      "pending": 0,
      "success": 2,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "membership": {
      "pending": 0,
      "success": 1,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "database": {
      "pending": 0,
      "success": 5,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "collection": {
      "pending": 8,
      "success": 3,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "attribute": {
      "pending": 17,
      "success": 29,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "index": {
      "pending": 1,
      "success": 0,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "document": {
      "pending": 738,
      "success": 2,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "function": {
      "pending": 0,
      "success": 7,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "environment-variable": {
      "pending": 0,
      "success": 5,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "deployment": {
      "pending": 0,
      "success": 7,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    }
  },
  "resourceData": [],
  "errors": []
}```

is the log-output. There should be > 700 documents.

has anyone experienced this and knows how to address this? This is a breaking bug which prevents the moving of projects from one to another server.
TL;DR
Developers are experiencing an issue where the migration tool is not importing all documents when moving from one self-hosted instance to another. The process shows no errors but only imports a few documents. This is a critical bug hindering project transfers. Solution: The issue lies in the migration tool not handling documents correctly. A workaround would be exporting documents separately and then importing them manually. This ensures all documents are successfully transferred.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more