...
- Ensure that the DataStore service is running.
Use the resetdb utility to delete and then recreate the Uptime Infrastructure Monitor database structure by running one of the following commands:
Code Block language text On Windows: > net stop "up.time Controller" > net stop "up.time Data Collector" > <uptime_dir>\resetdb --nodata really On Linux or Solaris: # /etc/init.d/uptime_controller stop # /etc/init.d/uptime_core stop # <uptime_dir>/resetdb --nodata really
Run the following command:
Code Block language text <uptime_dir>\scripts\fulldatabaseimport path/<filetoimport>.xml.gz
Where
path/<filetoimport>.xml.gz
is the path to and file name of the archived contents of your DataStore. For example, to import the archive that is located in Uptime Infrastructure Monitor's root installation directory, enter:Code Block language text <uptime_dir>/scripts/fulldatabaseimport uptimedump_2007-01-02.xml.gz
Restart the up.time Data Collector service by running the following command:
Code Block language text On Windows: > net start "up.time Data Collector" > net start "up.time Controller" On Linux or Solaris: # /etc/init.d/uptime_core start # /etc/init.d/uptime_controller start
...