Matryoshka: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 2: Line 2:


It also runs my only gitlab runner.  So it is required to be running for gitlab jobs to run.
It also runs my only gitlab runner.  So it is required to be running for gitlab jobs to run.
== History ==
=== Moving data from old jaws rocketchat VM to matroyshka docker container ===
I moved mongo data in from old jaws VM:
  🦈 m@jaws  [~] mongodump --host=localhost --db rocketchat
  🦈 m@jaws  [~] scp -rp dump matryoshka:
---
🪆  m@matryoshka  [~/apps/RocketChat] docker cp dump rocketchat-mongodb-1:/tmp/
🪆  m@matryoshka  [~/apps/RocketChat] docker exec rocketchat-mongodb-1 bash -c 'mongo rocketchat --eval "db.dropDatabase()"'
🪆  m@matryoshka  [~/apps/RocketChat] docker exec rocketchat-mongodb-1 bash -c 'mongorestore --db rocketchat /tmp/dump/rocketchat'

Revision as of 21:00, 13 July 2022

Matryoshka is a docker container host.

It also runs my only gitlab runner. So it is required to be running for gitlab jobs to run.

History

Moving data from old jaws rocketchat VM to matroyshka docker container

I moved mongo data in from old jaws VM:

 🦈 m@jaws  [~] mongodump --host=localhost --db rocketchat
 🦈 m@jaws  [~] scp -rp dump matryoshka:
---
🪆  m@matryoshka  [~/apps/RocketChat] docker cp dump rocketchat-mongodb-1:/tmp/
🪆  m@matryoshka  [~/apps/RocketChat] docker exec rocketchat-mongodb-1 bash -c 'mongo rocketchat --eval "db.dropDatabase()"'
🪆  m@matryoshka  [~/apps/RocketChat] docker exec rocketchat-mongodb-1 bash -c 'mongorestore --db rocketchat /tmp/dump/rocketchat'