You will be prompted for a password for the postgres user. In the example below,



Similar documents
How to move an IDENTIKEY Authentication Server with embedded PostgreSQL DB to a new machine with new IP address?

Instructions for update installation of ElsaWin 5.00

GroundWork Monitor Open Source Installation Guide

This module explains the Microsoft Dynamics NAV architecture and its core components.

Backup and Restore with 3 rd Party Applications

Backup and Restore Instructions. Backing up the Content Manager s Data

Backing Up TestTrack Native Project Databases

Scala InfoChannel Content Manager 5 Backup and Restore Instructions

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

Recommended File System Ownership and Privileges

Tivoli Enterprise Monitoring Server "HOT" backup

Install an SSL Certificate onto SilverStream. Sender Recipient Attached FIles Pages Date. Development Internal/External None 5 6/16/08

Configure Single Sign on Between Domino and WPS

How to Dump and Restore Postgres Plus (R) Databases Using pgadmin. A Postgres Evaluation Quick Tutorial From EnterpriseDB

Moving the TRITON Reporting Databases

SAM Server Utility User s Guide

Creating a Complete Backup of Shelby v5 Data

vcenter Configuration Manager Backup and Disaster Recovery Guide VCM 5.3

GroundWork Monitor Open Source Readme

GoAnywhere MFT Upgrade Guide. Version: Publication Date: 08/12/2015

Data Stored on a Windows Computer Connected to a Network

Module 7. Backup and Recovery

CloudPortal Services Manager Version 11.0 CU2 Deployment Guide

Moving the Web Security Log Database

Backup and Restore MySQL Databases

FaxCore 2007 Database Migration Guide :: Microsoft SQL 2008 Edition

Cloud Attached Storage

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

for QSS/OASIS Presented by Bill Genske Session 135

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Upgrade Guide. Product Version: Publication Date: 02/11/2015

Application Note - JDSU PathTrak Video Monitoring System Data Backup and Restore Process

Data Stored on a Windows Server Connected to a Network

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

FaxCore Ev5 Database Migration Guide :: Microsoft SQL 2008 Edition

Video Administration Backup and Restore Procedures

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

Configure Cisco Emergency Responder Disaster Recovery System

DigiVault Online Backup Manager. Microsoft SQL Server Backup/Restore Guide

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

TERAcloud w w w. t e r a c l o u d. u k

How to Back Up and Restore an ACT! Database Answer ID 19211

Best Practices for Disaster Recovery with Symantec Endpoint Protection

The safer, easier way to help you pass any IT exams. Exam : C_HANASUP_1. SAP Certified Support Associate - SAP HANA 1.0.

OpenGeo Suite for Linux Release 3.0

1. Product Information

Propalms TSE Quickstart Guide

Online Backup Client User Manual Linux

Intronis RMM Deployment Kit

Best Practices for Trialing the Intronis Cloud Backup and Recovery Solution

Installation and Configuration in Microsoft Dynamics NAV 2013

Security and Rights Delegations for the Password Reset PRO Master Service Applies to software versions 2.x.x and 3.x.x

Radica Systems Limited RI Backup/Restore Guide Page: 1

NAS 253 Introduction to Backup Plan

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

CONVERTING FROM NETKEEPER ISAM v6.32 to NETKEEPER SQL

RecoveryVault Express Client User Manual

ilaw Installation Procedure

Perceptive Intelligent Capture for Remittance Processing

inforouter V8.0 Server Migration Guide.

Database Backup Datacolor Match Pigment and Datacolor Tools

Backup/Restore Microsoft SQL Server 7.0 / 2000 / 2005 / 2008

Backing Up CNG SAFE Version 6.0

Online Backup Linux Client User Manual

CA3000 Database backup procedure

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Database Administration Guide

Online Backup Client User Manual

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

SAS 9.3 Foundation for Microsoft Windows

Course 50382A: Implementing Forefront Identity Manager 2010 OVERVIEW

Configuration Manager Error Messages

IM and Presence Disaster Recovery System

Dream Report Version 4.5

Upgrade Guide BES12. Version 12.1

Knowledge Base Article: Article 218 Revision 2 How to connect BAI to a Remote SQL Server Database?

Managing FactoryTalk Security for Multiple FactoryTalk View Studio Applications

Open-Xchange Server Backup Whitepaper

Online Client Portal Client User Guide

Specops Command. Installation Guide

ilaw Server Migration Guide

RUGGEDCOM NMS for Linux v1.6

Backup Exec Private Cloud Services. Planning and Deployment Guide

Cloud Services for Backup Exec. Planning and Deployment Guide

DiskPulse DISK CHANGE MONITOR

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Maintaining the Content Server

Spector 360 Deployment Guide. Version 7.3 January 3, 2012

FaxCore 2007 Application-Database Backup & Restore Guide :: Microsoft SQL 2005 Edition

Installation Instructions

Installation instructions for MERLIN Dashboard

CloudPortal Services Manager Version 11.0 CU1 Deployment Guide

Upgrading Centricity Electronic Medical Record Service Packs on Microsoft Windows Server

SafeGuard Easy upgrade guide. Product version: 7

Changing Passwords in Cisco Unity 8.x

Migrating helpdesk to a new server

Transcription:

Backup and Restore This page reviews GroundWork Monitor backup and restore processes. Backup and Restore Processes This page presents the backup and restore processes for the Foundation database, JBoss framework, GroundWork Insight Reports, and Configuration (monarch). The operational databases used by GroundWork Monitor are GWCollageDB (Foundation) which contains state and event data, and the Dashboard database which contains historical information used by Insight and Availability Reports. Foundation Database (gwcollagedb) This section covers backing up and restoring the Foundation database. Additionally, steps to delete the entire GWCollageDB database and reset the initial settings. Backup the Foundation Database You can manually backup the GWCollageDB database at a command line with the following steps: Issue the following command to create a backup sql file. You will be prompted for a password for the user. In the example below, gwcollagedb_backup_09012009.sql is the database backup file name where 09012009 is the current date. pg_dump -f /usr/local/groundwork/backup/gwcollagedb-1117201sql.tar -F t -c -E LATIN1 gwcollagedb Next, restart gwservices with the following command: Restore the Foundation Database To restore a database that was previously backed up, use the following procedure. Change the directory to the foundation/backup with the following command: cd /usr/local/groundwork/foundation/backup You should see a file with the name: gwcollagedb_backup_<timestamp>.sql.tar Restore the old database by entering the following command at the Operating System prompt:

pg_restore -d gwcollagedb -F t -c /usr/local/groundwork/backup/gwcollagedb_backup_<timestamp>.sql.tar Delete and Reset the Foundation Database To delete the entire GWCollageDB database and reset the initial settings, use the following procedure. Set the environment variables for the shell. source /usr/local/groundwork/scripts/setenv.sh Change the directory with the following command. This directory has all the database create SQL statements. cd /usr/local/groundwork/core/databases/ql Drop and re-create the current GWCollageDB database by executing the following script: "create-fresh-gwcollagedb.sql" Load the content of GWCollageDB.sql into GWCollageDB database with the following command: "GWCollageDB.sql" Load all the seed scripts: "/usr/local/groundwork/core/databases/ql/-xtra-functions.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-console.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-console.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-metadata.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-state.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-version.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/gwcollage-performancelabeldata.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/foundation-base-data.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/nagios-properties.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/system-properties.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/snmp-properties.sql" gwcollagedb "/usr/local/groundwork/core/databases/ql/syslog-seed.sql" gwcollagedb

8. JBoss Databases The JBoss Portal databases contain information for system users, roles, applications and permissions. Backup the JBoss Databases You can manually backup the JBoss databases at a command line with the following steps: Issue the following command to create a backup sql file. You will be prompted for a password for the user. In the example below, jbossdb_backup_09012009.sql is the database backup file name where 09012009 is the current date. pg_dump -f /usr/local/groundwork/backup/jbossportal_backup_09012009.sql.tar -F t -c -E LATIN1 jbossportal pg_dump -f /usr/local/groundwork/backup/jbossdb_backup_09012009.sql.tar -F t -c -E LATIN1 jbossdb To restart gwservices enter the following command: Restore the JBoss Database Make sure no one is logged into the system stopping gwservices with the command: Change the directory to backup/jboss with the following command: cd /usr/local/groundwork/backup/jboss

You should see a file with the name: jbossportal_backup_<timestamp>.sql jbossdb_backup_<timestamp>.sql Drop and recreate the current JBoss databases with the following script: "create-fresh-jbossdb.sql" Restore the old database by entering the following commands at the Operating System prompt: pg_restore -d jbossportal -F t -c jbossportal_backup_<timestamp>.sql.tar pg_restore -d jbossdb -F t -c jbossdb_backup_<timestamp>.sql.tar 8. 9. Insight Reports Database (dashboard) This section covers backing up and restoring the Insight Reports database. Additionally, steps to delete the entire dashboard database and reset the initial settings. Backup the Insight Reports Database You can manually backup the dashboard database at a command line with the following steps: Issue the following command to create a backup sql file. You will be prompted for a password for the user. In the example below, dashboard_backup_09012009.sql is the database backup file name where 09012009 is the current date. pg_dump -f /usr/local/groundwork/dashboard/backup/dashboard_backup_09012009.sql.tar -F t -c -E LATIN1 dashboard

Restore the Insight Reports Database To restore a database that was previously backed up, use the following procedure. Change the directory with the following command: cd /usr/local/groundwork/dashboard/backup Restore the old database by entering the following command at the Operating System prompt: pg_restore -d dashboard -F t -c dashboard_backup_<timestamp>.sql.tar Delete and Reset the Insight Reports Database To delete entire dashboard database and reset the initial settings, use the following procedure. Change the directory with the following command. This directory has all the database create SQL statements. cd /usr/local/groundwork/core/databases Drop and re-create the current dashboard database by executing the following script: "create-fresh-dashboard.sql" Load the content of dashboard_nagios_create.sql into the dashboard database with the following command:

"/usr/local/groundwork/core/databases/ql/dashboard-db.sql" dashboard 8. Configuration Database (monarch) This section covers backing up and restoring the Monarch database from the user interface, a command line. Backup from the User Interface You have the option to backup the Configuration database via the interface every time a Commit is executed. When you enter the Control> Commit option from the Configuration navigation screen, you will be presented with the options to Abort, Backup or Commit. Selecting the Backup option will create a backup of the Monarch database and Nagios configuration files in the /usr/local/groundwork/core/monarch/backup directory. After the backup completion message is shown, you can select Abort if you do not want to follow through with a Commit. Backup from a Command Line You can manually backup the monarch database at a command line with the following steps: Stopping the Nagios deamon with the command: /usr/local/groundwork/ctlscript.sh stop nagios Deleting temporary session files with the commands: rm -rf /tmp/sess* rm -rf /tmp/tpl* Issue the following command to create a backup sql file. You will be prompted for a password for the user. In the example below, monarch_backup_09012009.sql is the database backup file name where 09012009 is the current date. pg_dump -f /usr/local/groundwork/core/monarch/backup/monarch_backup_09012009.sql.tar -F t -c -E LATIN1 monarch

Restart Nagios with the following command: /usr/local/groundwork/ctlscript.sh start nagios Restore the Configuration Database Stopping the Nagios deamon with the command: /usr/local/groundwork/ctlscript.sh stop nagios Deleting temporary session files with the commands: rm -rf /tmp/sess* rm -rf /tmp/tpl* Change the directory to: cd /usr/local/groundwork/core/monarch/backup You should see a file with the name: monarch_backup_<_timestamp_>.sql Restore the old database by entering the following command at the system prompt: pg_restore -d monarch F t -c monarch_backup_<timestamp>.sql.tar 8. Restart Nagios with the following command:

8. /usr/local/groundwork/ctlscript.sh start nagios 9. 10. Next, to view and confirm the restored configuration, use the web interface to commit the restored monarch database: Configuration> Control> Pre flight test. And then, Commit> Backup> Commit.