File Backup
Save the conf/ folder included in the OpenBee Scan Capture Server directory. To do this, copy/paste it into the Capture folder and rename the conf_old
BDD Backup
A backup of Open Bee™ Scan Capture can be set up simply by backing up the MongoDB database from the server, using the following Windows command:
"C:\Program Files (x86)\OpenBee\Open Bee Scan Capture Server\mongoDB\bin\mongodump.exe" --port 27833 -u "capture" -p "capture" --authenticationDatabase "admin" -d doc-bean -o <dossier de sauvegarde> --gzip
Example:
"C:\Program Files (x86)\OpenBee\Open Bee Scan Capture Server\mongoDB\bin\mongodump.exe" --port 27833 -u "capture" -p "capture" --authenticationDatabase "admin" -d doc-bean -o c:\backup --gzip
A Windows scheduled task can be set up to set up a daily backup.
BDD Restoration
In order to restore a database, you need to get a tree like this:
- Root folder
- Dump
- (BDD Name Folder)
- all DB files
- (BDD Name Folder)
- Dump
Then just run the following command inside the Root Folder. This command will automatically go through the dump folder and restore the BDDs with the name mentioned in the folders located inside it
Example:
"C:\Program Files (x86)\OpenBee\Open Bee Scan Capture Server\mongoDB\bin\mongorestore.exe" --port 27833 -u "capture" -p "capture" --authenticationDatabase "admin" --drop --gzip