Skip to content

💾 A super cosmic tool to save or reanimate your precious mongo data, with a snap of the fingers!

Notifications You must be signed in to change notification settings

FabienBounoir/Database-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

💾 A super cosmic tool to save or reanimate your precious mongo data, with a snap of the fingers!

Topics

Resources

Stars

Watchers

Forks