Page History
Table of Contents | ||||
---|---|---|---|---|
|
Performing regular backups of your Uptime Infrastructure Monitor DataStore is a highly recommended practice. The DataStore is the Uptime Infrastructure Monitor backbone and holds all configuration information and historical performance data. This article outlines five common methods for backing up your DataStore. It is recommended to choose at least one of these methods to back up your Uptime DataStore. For added safety, you can implement more than one of the options below in case one of the methods should falter. Only one of the options below can be used to restore a backup; the methods cannot be merged when restoring the backup.
Info |
---|
These backup methods are intended for a single Monitoring Station. Never attempt to merge two or more Monitoring Station configurations in a single database. |
In addition to backing up the Uptime DataStore, it is also important to back up the Uptime configuration files and any customized files. Be sure to follow the recommendations in the Other the Other Files and Directories to Back up section at the bottom of this article.
...
One backup option is to regularly create tar or zip archives of your /datastore
directory. This is the most straightforward method but requires Uptime Infrastructure Monitor to be stopped during the backup period.
To use this method, simply include the /datastore
directory in the tar/zip archive. If you need to recover your DataStore from a tar/zip archive, ensure that all Uptime Infrastructure Monitor services are stopped and that you delete the existing /datastore
files before extracting your archive.
...
- Archive the datastore directory.
- On a Windows system:
- Locate the Uptime Infrastructure Monitor install directory (default C:\Program Files\uptime software\uptime).
- Archive the \datastore directory (using an archiving tool such as Winzip).
- Move the zip archive to another system or drive.
- On a Unix system, enter the following commands:
Code Block language sql # cd /usr/local/uptime OR cd /opt/uptime (depending on the OS)
- On a Windows system:
...
# tar -cvf uptime_backup.tar datastore # gzip uptime_backup.tar
- Start the Uptime Infrastructure Monitor services. -Review Starting (or restarting) and stopping UIM
Option 2: Using the mysqldump tool
...