Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup and Restore Capability #246

Open
profjsb opened this issue Feb 15, 2018 · 0 comments
Open

Backup and Restore Capability #246

profjsb opened this issue Feb 15, 2018 · 0 comments

Comments

@profjsb
Copy link

profjsb commented Feb 15, 2018

Build a command line script to backup whatever is needed to restore the state of cesium web on another machine.

$ cd cesium_web
$ ./cesium_backup -f backup_date_all.tgz --users all --projects all
$ ./cesium_backup -f backup_date_myproj.tgz --users jsb --projects myprog

This will save user, project, feature, etc. info from the DB as well as the associated data of any featuresets, models, etc.

Then, on another running instance of cesium web

$ cd cesium_web
$ ./cesium_restore -f backup_date_all.tgz --overwrite True
  * Restored all.
$ ./cesium_restore -f backup_date_myproj.tgz --overwrite False
  * Refused to overwrite user = jsb (User exists)
  * Refused to overwrite proj = myprog (Project by that name already exists)
@acrellin acrellin added this to the v1.0 release milestone Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants