Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Ensure that the DataStore service is running.
  2. Use the resetdb utility to delete and then recreate the Uptime Infrastructure Monitor database structure by running one of the following commands:

    Code Block
    languagetext
    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
  3. Run the following command:

    Code Block
    languagetext
    <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
    languagetext
    <uptime_dir>/scripts/fulldatabaseimport uptimedump_2007-01-02.xml.gz
  4. Restart the up.time Data Collector service by running the following command:

    Code Block
    languagetext
    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

...