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)
Build a command line script to backup whatever is needed to restore the state of cesium web on another machine.
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