This page (revision-6) was last changed on 06-Nov-2021 15:50 by Dieter Käppel

This page was created on 18-Mar-2019 10:44 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
6 06-Nov-2021 15:50 950 bytes Dieter Käppel to previous
5 06-Nov-2021 15:50 845 bytes Dieter Käppel to previous | to last
4 06-Nov-2021 15:49 777 bytes Dieter Käppel to previous | to last
3 14-Jul-2021 09:29 447 bytes Dieter Käppel to previous | to last
2 18-Mar-2019 10:44 443 bytes Dieter Käppel to previous | to last
1 18-Mar-2019 10:44 380 bytes Dieter Käppel to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 7 changed 2 lines
mongodump [--host <host> [--port <port>]] [--db <database>] [--out]
mongorestore [--host <host> [--port <port>]] [<database>]
mongodump [--host <host> [--port <port>]] --db <database>
mongorestore [--host <host> [--port <port>]] <database>
At line 10 removed 13 lines
Default ist Backup aller Datenbanken in das Verzeichnis "dump".
!!!Version Update
Leider enthalten die Versionsupdates bei MongoDB kein Migrationsskript. Man muss in der alten Version einen Dump erzeugen. Diesen Dump verschiebt man in das neue Docker Volume und restored es wieder:
{{{
mongodump --gzip
mv mongo-data-4.4/_data/dump mongo-data-5/_data/
mongorestore --gzip
}}}
Siehe auch [Live Data Migration|https://www.loginradius.com/blog/async/live-data-migration-mongodb/].