ndx-database-backup
v0.1.0
Published
regular database backups for ndx-framework
Downloads
28
Readme
ndx-database-backup
schedules regular database backups for ndx-framework
currently only works with [ndxdb](https://github.com/ndxbxrme/ndxdb)
install withnpm install --save ndx-database-backup
what it does
ndx-database-backup saves a copy of your database to the location you specify on a regular schedule
it also provides superadmin authenticated routes to list and restore backups
routes
|method|route|description|
|------|-----|-----------|
|GET
| /api/backup/list
| returns a list of available backup files |
|POST
| /api/backup/restore
| restores a backed up file, expects an object containing the filename to restore {fileName:'myBackup.json'}
|
coming soon
- backup to AWS