badhan-backup is a command line tool written with Node.JS to backup and restore the development and production databases of Badhan, BUET Zone Android app (https://play.google.com/store/apps/details?id=com.mmmbadhan) and Website (https://badhan-buet.web.app)
Badhan-Logo directory contains the python code to generate splash screen images from the base icon for the android app.
- Install Docker.
- Run
bin/install - Create
configfolder and pastebadhan-buet-2177eeab149f.jsonandconfig.envin it (Ask system administrator for these files) - Run
bin/up listto get the list of all backups. You may also try the other commands listed below. - You may also run the server using
bin/up.
bin/up backup Backup the mongodb database to firebase storage
bin/up list Get the list of backups of mongodb database from
firebase storage
bin/up delete Remove a backup using timestamp
bin/up restore Restore a backup using timestamp
bin/up prune Keep latest maximum 3 backups and delete the remaining
backups
bin/up restoreLatest Restore the last backup to database