This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| ## Prefer mongodump/mongorestore instead of mongoexport/mongoimport, | |
| ## as it will "export" additional metadata, like indexes etc. | |
| ## | |
| ### Mongodump example | |
| # Required: host, db, collection, out | |
| # Optional: query (limit results) | |
| mongodump --host mongodb1.example.net \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # After building a new Linode Ubuntu 13.04 image... | |
| ssh root@linode-123 | |
| # ... | |
| uname -a | |
| # Linux li348-235 3.12.9-x86_64-linode37 #1 SMP Mon Feb 3 10:01:02 EST 2014 x86_64 x86_64 x86_64 GNU/Linux | |
| apt-get update | |
| apt-get install -y linux-virtual grub-legacy-ec2 |
NewerOlder