Windows

How does the restoredatabase.bat work?

On the restore of the database, we recommend that the Skybot Scheduler Server be stopped.  The SkybotDatabaseServer does need to be running.

On the restore the user will need to tell the restore where the backup file is located.

Example:

restoredatabase.bat skybot_20150909131813.backup

The restore uses the pg_restore command.

Once the restore completes the Skybot Scheduler Server will need to be started.


*Nix

How does the restoredatabase.sh work?

On the restore of the database, we recommend that the Skybot Scheduler Server be stopped.  The SkybotDatabaseServer does need to be running.

On the restore the user will need to tell the restore where the backup file is located.

Example:

restoredatabase.sh skybot_20150909131813.backup

The restore uses the pg_restore command.

Once the restore completes the Skybot Scheduler Server will need to be started.