Versions Compared

Key

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

...

  1. Shut down the up.time Data Collector service.
  2. Navigate to the scripts folder under the directory where up.time is installed.
  3.  

  4. Run the following command to save the dump file to the folder of the root installation:

    Code Block
    fulldatabasedump
    

    Or,

    to

    specify

    the

    location

    of

    the

    dump

    file:

    Code Block
    
    fulldatabasedump <path>
    

    Depending on the size of your DataStore, this process can take anywhere from several minutes to several hours.

     

  5. The utility will create a uptimedump_YYYY-MM-DD.xml.gz file. For example, uptimedump_2007-01-02.xml.gz. This file is saved in up.time's root installation directory.

...

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

       

      Code Block
      On Windows: 
      >net stop "up.time Data Collector" 
      >C:>Program Files>uptime software>uptime>resetdb --nodata really
      
      On Linux or Solaris: 
      /etc/init.d/uptime_core stop 
      /usr/local/uptime/resetdb --nodata really
    3. Run the following command:

      Code Block
      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 up.time's root installation directory, enter:

       

      Code Block
      fulldatabaseimport uptimedump_2007-01-02.xml.gz
    4. Restart the up.time Data Collector service by running the following command:

       

      Code Block
      On Windows: 

...

    1. >net start "up.time Data Collector"

...

    1. 
      On Linux or Solaris: 

...

    1. /etc/init.d/uptime_core 

...

    1. start 



Exporting & Importing only your up.time Configuration

...