Backup and restore mongodb
See original GitHub issueThis is a feature request. It would be nice to run
mup dumpdb path/to/dest/
which would run mongodump
on the server, and transfer the generated file into the dest
directory.
mup restoredb path/to/dump
which would take the given dump and restore it into the database.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:25
- Comments:20 (2 by maintainers)
Top Results From Across the Web
Back Up and Restore with MongoDB Tools
The mongorestore utility restores a binary backup created by mongodump . By default, mongorestore looks for a database backup in the dump/ directory....
Read more >MongoDB - Backup and Restoration - GeeksforGeeks
In MongoDB, mongorestore utility is used to restore the backup data. It restores the binary backup created by mongodump utility(i.e., BSON data ...
Read more >MongoDB Backup and Restore - w3resource
The restore utility using mongorestore command restores a binary backup created by mongodump. The mongorestore can restore either an entire ...
Read more >How To Back Up, Restore, and Migrate a MongoDB Database ...
While you can use the import and export functions to backup and restore your data, there are better ways to ensure the full...
Read more >Ultimate Mongodump Guide: 8 Easy Steps to Backup MongoDB
Steps to Backup & Restore Data using Mongodump · Step 1: Create Direct Backups Using Mongodump · Step 2: Backup a Remote MongoDB...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Backup and restore can be achieved via these steps , still having inbuild option in mup will do no harm. https://github.com/xpressabhi/mup-data-backup/
Hi everybody,
I am trying to write a plugin to enable daily mongo backup on AWS. You can take a look at the code: https://github.com/lbke/vulcan-mongo-backup Though its not very general (tied to AWS and Vulcan.js) it could be a starting point if your database is colocated with your app.
My current solution consists in running mongodump in a cron job initiated by my app, which means installing mongodump within the Docker container and not directly on the server.
But… I can’t get it to work. Here is my config, for an Ubuntu server, based on those instructions:
It fails at finding
libssl
, which seems necessary for the install to work. But the idea is there.Hope it can help soemhow and someone manages to add a db backup feature to Meteor Up.