Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florianporada/mongorestore
Wrapper around mongorestore cli for restoring a complete mongo dump, db by db (sync)
https://github.com/florianporada/mongorestore
Last synced: 1 day ago
JSON representation
Wrapper around mongorestore cli for restoring a complete mongo dump, db by db (sync)
- Host: GitHub
- URL: https://github.com/florianporada/mongorestore
- Owner: florianporada
- License: mit
- Created: 2020-01-24T10:39:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T10:46:41.000Z (about 5 years ago)
- Last Synced: 2024-11-30T07:31:46.209Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ♻️ Mongorestore script
This script restores a complete (unzipped) mongodb db by db (sync).
## Usage
### Basic
```bash
node index.js
```### Advanced
You are also able to define some `env` variables. The following are supported
```env
MONGODB_PASSWORD
MONGODB_USER
MONGODB_HOST
MONGODB_PORT
MONGODB_DRYRUN
```## Example
```bash
node index.js /Users/macuser/Desktop/dump
```