HP WebQoS for the Solaris Operating Environment Release Note
HP WebQoS for Solaris
Installing HP WebQoS
Chapter 1 13
Database Backups
Backups of the database are performed daily at 1 AM on the system running the database.
The time can be modified by editing the appropriate parameter in the
/var/opt/webqos/db/solid.ini file.
If you modify the solid.ini file, you must restart the database by typing the following:
/opt/webqos/bin/webqosdb_stop
/opt/webqos/bin/webqosdb_start
Restoring the Database
By default, the database backup file and log files are located in the
/var/opt/webqos/db/backup directory.
You can restore the database from the backup by doing one of the following:
• Return the database to the current state
• Return the database to the state when the backup was made
To return the database to the current state, do the following:
1. Stop the database by typing /opt/webqos/bin/webqosdb_stop
2. Copy /var/opt/webqos/db/backup/solid.db to /var/opt/webqos/db/solid.db
3. Copy all log files (sol
#####
.log) from /var/opt/webqos/db/backup to
/var/opt/webqos/db. Do NOT replace any log files in /var/opt/webqos/db. That is, if
there is a log file in /var/opt/webqos/db with the same name as a backup log file in
/var/opt/webqos/db/backup, do NOT overwrite the log file in /var/opt/webqos/db.
4. Start the database by typing /opt/webqos/bin/webqosdb_start
To return the database to the state when the backup was made, do the following:
1. Stop the database by typing /opt/webqos/bin/webqosdb_stop
2. Delete all log files (sol
#####
.log) in /var/opt/webqos/db
3. Copy /var/opt/webqos/db/backup/solid.db to /var/opt/webqos/db/solid.db
4. Start the database by typing /opt/webqos/bin/webqosdb_start