ayfie Backup and Restore Supervisor Databases
Backup
Steps
- Stop all Supervisor services except "Supervisor Database Service".
- Open a command prompt as administrator
- Change directory to "ayfie\Locator\MongoDB\bin" (example: cd "c:\Program Files\ayfie\Locator\MongoDB\bin").
- Run "mongodump.exe"
- Zip the contents of the dump folder.
- Restart all stopped Supervisor services.
Example
Restore
Steps
- Stop all Supervisor services except "Supervisor Database Service".
- Open a command prompt as administrator.
- Change directory to "ayfie\Locator\MongoDB\bin" (example: cd "c:\Program Files\ayfie\Locator\MongoDB\bin>mongorestore /drop /dir:dump").
- Run:Â mongorestore /drop /dir:dump
(replace "dump" with the name of the directory where the backed up data is). Note: "drop" will drop the databases before restoring. - Restart all stopped Supervisor services.
Example
ayfie