What Can Be Migrated?
CometChat’s migration capabilities cover:- Users: User profiles, metadata, and account information
- Messages: Complete message history including text, media, and metadata
- Groups: Group configurations and membership information
- Conversations: Conversation threads and their associated data
Migration Approaches
CometChat offers two approaches to data migration, depending on your needs:Historical Data Import
Import all your existing data at rest—stored messages, users, and groups—into CometChat before going live. This approach is ideal when:- You’re doing a complete platform switch
- You want all historical data available from day one
- Your migration can happen during a maintenance window
Live Data Migration
Maintain communication between users on your old system and users who have already migrated to CometChat. This approach is ideal when:- You need zero downtime during migration
- Users will upgrade to the new app version gradually
- Seamless communication must continue throughout the transition period
Migrate with Agent Skills
Moving from another chat provider? With CometChat Agent Skills installed, your AI coding agent can do the migration for you. It creates a data-import script for your users, groups and messages, shows you a dry run, then runs the import.- Migrate your app and your data. Open your project in your coding agent and say “Migrate my app to CometChat.” The agent replaces the provider in your code, checks the build, then asks for your API keys and imports your data.
- Migrate only your data. Say “Migrate only my data to CometChat. Don’t change my app code.”, naming the chat provider you’re moving from. The agent writes and runs the same data-import script without touching your app.