Chat+ backup and move

ISO someone to help move my Chat+ mongod database to another server.

I've got the second server setup with a new chat install and have backed up the room data.

The problem I'm having is restoring the data using "mongodump --out /data/backup/," errors like

 "don't know what to do with file "mot27/rocketchat_room.metadata.json", skipping..."

  • 459
  • More
Replies (1)
    • - stop chat server

      - dump the database:

      mkdir mongo_rocketchat_db_dump; mongodump -d rocketchat -o mongo_rocketchat_db_dump

      - move mongo_rocketchat_db_dump folder to the new server

      - restore from backup:

      mongorestore ./mongo_rocketchat_db_dump

      Login or Join to comment.