# How to perform a restore when you have two containers?

**URL:** <https://meta.discourse.org/t/how-to-perform-a-restore-when-you-have-two-containers/281975>\
**Category:** Self-hosting\
**Tags:** backups, two-container\
**Created:** [October 7, 2023, 1:31pm UTC](https://meta.discourse.org/t/how-to-perform-a-restore-when-you-have-two-containers/281975 "2023-10-07T13:31:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Thomas\_Rother](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_rother/32/423597_2.png) [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Post date:** [October 9, 2023, 8:54pm UTC](https://meta.discourse.org/t/how-to-perform-a-restore-when-you-have-two-containers/281975/3 "2023-10-09T20:54:41Z")

</div>

> [@Backup discourse from the command line](https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364/1):
>
> `discourse enable_restore`

Hmmmm,  
nope, still not working

I have the backup file here:

```plaintext
thommie@docker2:/var/discourse/shared/web-only$ ls  
backups log netzwissen-forum-2023-10-09-201019-v20230913194832.tar.gz

```

Then

root@docker2:/var/discourse# ./launcher enter web\_only

```plaintext
x86_64 arch detected.  
root@forum:/var/www/discourse#

root@forum:/var/www/discourse# discourse restore  
You must provide a filename to restore. Did you mean one of the following?  
  
discourse restore forum-netzwissen-eu-2023-10-08-033221-v20230926165821.tar.gz

```

So, the restore only shows a backup file from **inside** of the web\_only container of the new forum instance (the target of the backup). But not the backup file from the source instance which is available on **/var/discourse/shared/web-only/ on the HOST system**

So, the “discourse restore” does not use the **mapped** volume on the host, but only the one inside the container.

??

---

_[View the full topic](https://meta.discourse.org/t/how-to-perform-a-restore-when-you-have-two-containers/281975)._
