# Rocket chat backup and restore in docker version

**URL:** <https://forums.rocket.chat/t/rocket-chat-backup-and-restore-in-docker-version/11067>\
**Category:** Community Support\
**Tags:** rocketchat-apps\
**Created:** [April 29, 2021, 7:28am UTC](https://forums.rocket.chat/t/rocket-chat-backup-and-restore-in-docker-version/11067 "2021-04-29T07:28:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [May 29, 2021, 10:36am UTC](https://forums.rocket.chat/t/rocket-chat-backup-and-restore-in-docker-version/11067/11 "2021-05-29T10:36:05Z")

</div>

Please don’t try and upgrade a really old version straight to latest.

It will almost certainly break your installation. You will then need your backups.

> [@yazon](#):
>
> Has this error been addressed? Thanks

It is not a Rocket.Chat error.

If you don’t understand how to use docker you MUST go and have a good read rather than trying to guess.

Also read this.

> [@\[HOW TO\] Docker backup mongo](https://forums.rocket.chat/t/how-to-docker-backup-mongo/11155/4):
>
> Try manually setting COMPOSE\_INTERACTIVE\_NO\_CLI to false and run the commands again. If call\_docker() is not being used, stdout and stderr streams don’t get decoupled. In dockerpty.pty.ExecOperation().start(): pumps.append(io.Pump(stream, io.Stream(self.stdout), propagate\_close=False)) # FIXME: since exec\_start returns a single socket, how do we # distinguish between stdout and stderr? # pumps.append(io.Pump(stream, io.Stream(self.stderr), propagate\_close=False))…

---

_[View the full topic](https://forums.rocket.chat/t/rocket-chat-backup-and-restore-in-docker-version/11067)._
