Migrating users - from one server to another. How to do it.
-
Migrating users - from one server to another.
-
If you need to preserve passwords, and you have access to the database:
- You could manually read from the db and then import users using the import API.
- You can use
pg_dump
ormysqldump
respectively if you want to move the entire system from one server to another, users and all. The target system has to be at the same or greater version than the source. If the target is at a greater version than the source, you will enter maintenance mode on startup to migrate the schema.
If you do not need to preserve passwords, then you could use the User Search API and the User Import API together.