Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

To keep your historical performance data and migrate your MySQL database to SQL Server, please complete the following steps:

    1. Stop the up.time data collector:
Unix: # /etc/init.d/uptime_core stop   
Windows: > net stop "up.time data collector"
  1. Dump the database: > / scripts / fulldatabasedump 
  2. Set up the SQL Server database.
  3. Edit the uptime.conf file to point to the new database by commenting out the MySQL lines and uncommenting the SQL Server lines.

    #dbType=mysql #dbHostname=localhost 
    #example SQL Server configuration 
    dbType=mssql dbHostname=localhost 
  4. Stop the MySQL database:

    Unix: # /etc/init.d/uptime_datastore stop 
    Windows: > net stop "up.time data store"

  5. Initialize the database: > / resetdb --nodata really
  6. Import the database to SQL Server: > / scripts / fulldatabaseimport
  7. Start the data collector:

    Unix: # /etc/init.d/uptime_core start 
    Windows: > net start "up.time data collector"



  • No labels