https://github.com/fabienbounoir/database-manager
💾 A super cosmic tool to save or reanimate your precious mongo data, with a snap of the fingers!
https://github.com/fabienbounoir/database-manager
backup database dump mongodb restore-database
Last synced: about 2 months ago
JSON representation
💾 A super cosmic tool to save or reanimate your precious mongo data, with a snap of the fingers!
- Host: GitHub
- URL: https://github.com/fabienbounoir/database-manager
- Owner: FabienBounoir
- Created: 2023-05-28T09:18:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-25T21:18:58.000Z (about 3 years ago)
- Last Synced: 2025-07-17T22:30:27.173Z (12 months ago)
- Topics: backup, database, dump, mongodb, restore-database
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Database-manager
Script for managing backups in mongo DBs
## Documentation
You can use cronTab to automate the backup of your database:
```
0 2 * * * /chemin/vers/node /chemin/vers/dumpDatabase.js
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file
`DB_DUMP_LINK` : The database to be extracted
`DB_RESTORE_LINK` : The database has or must be relocated the backup
`MAX_OLD_SAVE` : Number of old back-ups to keep