---
title: "Discussion on \"Copy entire Mongodb Database running inside Docker Container in a Remote machine to your Local machine\" | Hashnode"
description: "Discussion on \"Copy entire Mongodb Database running inside Docker Container in a Remote machine to your Local machine\". Lets start by breaking into the remote machine\nssh [username]@[IP Address]\n\nOnce you are in the remote machine you need to get inside the docker container that is running your mongodb database:\ndocker exec -it [your conatiner id] bash\n\nNow we are goi..."
url: "https://hashnode.com/posts/copy-entire-mongodb-database-running-inside-docker-container-in-a-remote-machine-to-your-local-machine/65abc553d2cb3341c8296372"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Copy entire Mongodb Database running inside Docker Container in a Remote machine to your Local machine](https://ahsanjs.hashnode.dev/copy-entire-mongodb-database-running-inside-docker-container-in-a-remote-machine-to-your-local-machine?utm_source=hashnode&utm_medium=feed)

Lets start by breaking into the remote machine ssh \[username\]@\[IP Address\] Once you are in the remote machine you need to get inside the docker container that is running your mongodb database: docker exec -it \[your conatiner id\] bash Now we are goi...

Jan 20, 2024 · 2 min read · ahsanjs.hashnode.dev  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#backup](https://hashnode.com/tag/backup)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Ahsan Tahir](https://hashnode.com/@ahsanjs)

@ahsanjs

  
[View profile](https://hashnode.com/@ahsanjs)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
