# Mongo Dump | Mongo Restore

**URL:** https://forums.rocket.chat/t/mongo-dump-mongo-restore/16031
**Category:** Community Support
**Tags:** rocketchat-apps, docker
**Created:** [February 21, 2023, 3:45pm UTC](https://forums.rocket.chat/t/mongo-dump-mongo-restore/16031 "2023-02-21T15:45:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![c4r81n3](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@c4r81n3](https://forums.rocket.chat/u/c4r81n3)
#### Post date: [February 21, 2023, 3:45pm UTC](https://forums.rocket.chat/t/mongo-dump-mongo-restore/16031/1 "2023-02-21T15:45:13Z")

</div>

### Description

Hi Everyone,

I tried to do mongodump and mongo restore from two separate ubuntu instance however, the users, messages, channels are not added in the new instance, can anyone help me please.

REgards

### Server Setup Information

- Version of Rocket.Chat Server: 3.2.2
- Operating System: Ubiquity 18.04
- Deployment Method: Docker Compose
- Number of Running Instances: 1
- DB Replicaset Oplog: rs01
- NodeJS Version: 12.16.1
- MongoDB Version: 4.0
- Proxy: traefik
- Firewalls involved: NA

### Any additional Information

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [February 22, 2023, 1:18pm UTC](https://forums.rocket.chat/t/mongo-dump-mongo-restore/16031/2 "2023-02-22T13:18:45Z")

</div>

Hi! Welcome to our Community!

Are you upgrading Rocket.Chat versions while doing it? You are using a very outdated version. Upgrading your Rocket.Chat workspace is must, considering the vulnerabilities that were found on older versions.

Check out this script that I just saw from one of our users. It might give you a better understanding about the process:

> [@Upgrading RC and Mongo DB in docker](https://forums.rocket.chat/t/upgrading-rc-and-mongo-db-in-docker/16023/3):
>
> Hi @stefan.badenhorst ! Thanks for sharing your work with us! We really appreciate it. At the end of the day, migrating Rocket.Chat mongo versions will usually by a dump and restore process. This script makes it easy, as it will dump and restore. Thanks for sharing slight_smile
