This shows you the differences between two versions of the page.
finance:geeks:fist [2022/03/21 11:40] – created bob@goingnowhere.org | finance:geeks:fist [2022/03/21 11:41] (current) – bob@goingnowhere.org | ||
---|---|---|---|
Line 11: | Line 11: | ||
A mongo backup container takes periodic data dumps and puts them into a system accessible folder. | A mongo backup container takes periodic data dumps and puts them into a system accessible folder. | ||
In order to restore a backup, you need to enter the backup container and run: | In order to restore a backup, you need to enter the backup container and run: | ||
- | <CODE> | + | <code> |
mongorestore --gzip --host mongo --port 27017 --archive=/ | mongorestore --gzip --host mongo --port 27017 --archive=/ | ||
- | </CODE> | + | </code> |