Recover a CounterPoint Database



Similar documents
Maximize System Performance

Appendix A Core Concepts in SQL Server High Availability and Replication

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Implementing and Managing Windows Server 2008 Clustering

Using SQL Database Mirroring to Improve Citrix XenApp Server Farm Disaster Recovery Capabilities

Maintaining a Microsoft SQL Server 2008 Database

XenDesktop 5 Database Sizing and Mirroring Best Practices

Eliminate SQL Server Downtime Even for maintenance

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Deploying a File Server Lesson 2

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

How To Make Biztalk Highly Available

$99.95 per user. SQL Server 2005 Database Administration CourseId: 152 Skill level: Run Time: 30+ hours (158 videos)

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Course 2788A: Designing High Availability Database Solutions Using Microsoft SQL Server 2005

SQL Server for Database Administrators Course Syllabus

Contents. SnapComms Data Protection Recommendations

Course Syllabus. At Course Completion

Module 14: Scalability and High Availability

6231A - Maintaining a Microsoft SQL Server 2008 Database

Database Backup and Restore Mechanism. Presented by : Mary Meladath

Microsoft SQL Database Administrator Certification

This article Includes:

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Computer Visions Course Outline

Destiny system backups white paper

TIBCO StreamBase High Availability Deploy Mission-Critical TIBCO StreamBase Applications in a Fault Tolerant Configuration

Protecting SQL Server Databases Software Pursuits, Inc.

Module 07. Log Shipping

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

High Availability and Disaster Recovery for Exchange Servers Through a Mailbox Replication Approach

Redundancy Options. Presented By: Chris Williams

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

This course is intended for IT professionals who are responsible for the Exchange Server messaging environment in an enterprise.

High Availability Solutions for the MariaDB and MySQL Database

Configure SQL database mirroring

Surround SCM Backup and Disaster Recovery Solutions

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

Perforce Backup Strategy & Disaster Recovery at National Instruments

Backup and Recovery. What Backup, Recovery, and Disaster Recovery Mean to Your SQL Anywhere Databases

LISTSERV in a High-Availability Environment DRAFT Revised

Disaster Recovery Planning BlackBerry Enterprise Server v4.0 for IBM Lotus Domino

Administering a Microsoft SQL Server 2000 Database

Yiwo Tech Development Co., Ltd. EaseUS Todo Backup. Reliable Backup & Recovery Solution. EaseUS Todo Backup Solution Guide. All Rights Reserved Page 1

Informix Dynamic Server May Availability Solutions with Informix Dynamic Server 11

Microsoft SQL Server on VMware Availability and Recovery Options

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

Backup and Restore Back to Basics with SQL LiteSpeed

Veeam Backup and Replication Architecture and Deployment. Nelson Simao Systems Engineer

Backup and Restore of CONFIGURATION Object on Windows 2008

Administering and Managing Log Shipping

SQL Server AlwaysOn (HADRON)

Data Backup and Restore (DBR) Overview Detailed Description Pricing... 5 SLAs... 5 Service Matrix Service Description

Deployment Topologies

High Availability and Clustering

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Simple Software for a Business Continuity Plan and a Disaster Recovery Plan (BCP DRP) pdf ppt

INSIDE. Preventing Data Loss. > Disaster Recovery Types and Categories. > Disaster Recovery Site Types. > Disaster Recovery Procedure Lists

Administering Microsoft SQL Server 2012 Databases

Administrator Guide VMware vcenter Server Heartbeat 6.3 Update 1

Disaster Recovery Solution Achieved by EXPRESSCLUSTER

Administering a Microsoft SQL Server 2000 Database

Hardware/Software Guidelines

Symantec Backup Exec Blueprints

WHITE PAPER PPAPER. Symantec Backup Exec Quick Recovery & Off-Host Backup Solutions. for Microsoft Exchange Server 2003 & Microsoft SQL Server

Virtual Infrastructure Security

Server Clusters : Geographically Dispersed Clusters For Windows 2000 and Windows Server 2003

Library Recovery Center

Advanced HA and DR.

High Availability and Disaster Recovery Solutions for Perforce

SQL Server Database Administrator s Guide

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

EISOO AnyBackup 5.1. Detailed Features

DISASTER RECOVERY. Omniture Disaster Plan. June 2, 2008 Version 2.0

Hyper-V backup implementation guide

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

DeltaV Virtualization High Availability and Disaster Recovery

Exam : Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2. Title : The safer, easier way to help you pass any IT exams.

1. Management Application (or Console), including Deferred Processor & Encryption Key 2. Database 3. Website

AccuGuard Enterprise for RDX

Implementing a Microsoft SQL Server 2005 Database

MS-55115: Planning, Deploying and Managing Microsoft Project Server 2013

Version: Page 1 of 5

Administering and Managing Failover Clustering

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

Backup and Redundancy

Virtual Disaster Recovery

Missed Recovery Techniques for SQL Server By Rudy Panigas

Oracle Database 10g: Backup and Recovery 1-2

Transcription:

Recover a CounterPoint Database Webinar: Radiant Webinar Mini-Series for Implementation Technicians To connect to phone conference, please call: 1.800.375.2612, and then enter Participant Code: 397670 (or listen via computer speakers)

Please welcome today s Presenter Shawn Hefner Specialty Retail Consulting Analyst (Professional Services) With Radiant since 2007 Worked with CounterPoint since 1999 Supports Partner Channel Services 2

Learning Objectives To receive implementation-specific informational updates to enable you to effectively deploy Radiant Specialty Retail Solutions for Customers. After completing this webinar, you should be able to: Identify which systems are critical to the business Determine how long you can be without each system Develop a contingency plan to operate while each critical system is unavailable Implement and communicate the plan 3

Identify which systems are critical to the business

Overview Disaster Recovery is a plan for continuing business in the event of a system failure. Identify what systems are critical to your business and how long you can be without that system. CounterPoint Database Other Applications Internet connection Phone lines (credit card authorization) Power Backup Supply 5

Determine how long you can be without each system

Possible Systems Phone lines Is it VOIP / Digital lines? Do you need your Router? How long do you need it to last? Server Failure Parts break down Hard drive Crashes Corruption Workstation Failure Power Loss Network Failure 7

Develop contingency plan for each critical system

Contingency Plan Offline V2 Manual Tickets/Call In Credit Cards Terminal Server to another location Phone Lines Hardwired Line for Backup Emergency Cell Phone Power Loss Battery Backups Emergency Generators Servers Replacement parts Ø 1 Day Turnaround Hard drive Crashes Ø Redundancy Ø Backups Database Crashed Ø Backup to the last 15 minutes Backups Redundancy Methods within SQL 9

Backups Top Level Files Generally once per day Full Database Backup Generally once per day Keep multiple days Transaction Log Backup Only if database is in Full Recovery mode How much data can you afford to loose? Ø Credit Cards Often as frequent as every 30 minutes Only good until the next database backup Backups should not reside on the same system that is backing them up. Offsite backups should be in a secure location (safe deposit box) Restoring Database Backups Brings the database back to the point in time of the backup. Restoring Transaction Logs Can be restored in sequential order after restoring database backup Each log applies transactions that occurred during that period of time since the full database backup. 10

Restore Log Example Use CPSQL GO /* Kill Connected Database Users to Get Exclusive Access For Database Restore*/ EXEC sp_killdatabaseusers 'CPSQL' GO /* Restore CPSQL Database Using Full Database Backup */ RESTORE FILELISTONLY FROM DISK = N'C:\DatabaseBackups\ CPSQL_FULL.BAK' GO RESTORE DATABASE [CPSQL] FROM DISK = N'C:\DatabaseBackups\CPSQL_FULL.BAK' WITH MOVE N' CPSQL' TO N'C:\DatabaseFiles\CPSQL.mdf', MOVE N' CPSQL_Log' TO N'C:\DatabaseFiles\CPSQL_Log.ldf', NORECOVERY, NOUNLOAD, REPLACE, STATS = 20 GO 11

Restore Log Example (Cont d) /* Restore CPSQL Database Using The First Transaction Log */ RESTORE LOG [CPSQL] FROM DISK = N'C:\DatabaseBackups\CPSQL_LOG1.TRN' WITH NORECOVERY, STATS = 20 GO /* Restore CPSQL Database Using The Second Transaction Log */ RESTORE LOG [CPSQL] FROM DISK = N'C:\DatabaseBackups\CPSQL_LOG2.TRN' WITH NORECOVERY, STATS = 20 GO /* Restore CPSQL Database Using Tail Log */ RESTORE LOG [CPSQL] FROM DISK = N'C:\DatabaseBackups\CPSQL_TAIL_LOG.TRN' WITH RECOVERY, STOPAT = 'Oct 22, 2009 00:06:50 AM' GO /* Check tables to make sure the information is there */ USE CPSQL GO SELECT * FROM PS_DOC_HDR GO 12

Database Mirroring Database Mirroring is SQL Server option to keep a database synchronized on two servers. Queue transactions, with manually failover Ø Defaults to 1 minute Immediately commit transactions on both sides (Full Safety) with manual failover Immediately commit transactions on both sides (Full Safety) with automatic failover (High Availability). Ø Requires a third witness server Can provide real time failover or manually, through running a SQL script Only one database can be used at a time: the principal is active and the partner is not accessible at all. Requires Full Recovery and custom maintenance scripts Database backups/transaction Log Backups should still be used. 13

Log Shipping Log shipping is a SQL Server function to keep a backup database server in sync. Transaction logs are copied (shipped) and applied to a redundant server on a schedule (typically 15-60 minutes). The database is read only on the backup server. A SQL script must be used to enable the backup server. CounterPoint Companies.ini must be redirected to the backup server. Database must use Full Recovery Database backups/transaction Log Backups should still be used. 14

SQL Cluster A SQL Cluster is at least two servers using shared drive storage. The two servers have a heartbeat constantly checking to see if the other is online. In most cases, one is active and the other server is inactive (passive) unless the heartbeat fails. No data loss since they run on the same hard drive. About 2 minutes to fail over (depending on hardware) Requires specialized hardware (SAN) No intervention required for failover. Database backups/transaction Log Backups should still be used. 15

PeerDirect Replication PeerDirect is used for the Multi-Site option in CounterPoint. Data is replicated to other sites. Sites can have only their specific data or all data. A site with all data can be used as a Disaster Recovery Site. Database backups/transaction Log Backups should still be used. Regbackup should be used to backup PeerDirect registry keys at all sites. If a PeerDirect database is restored, dresetdb should be used to avoid PDRE GUID conflicts. 16

Implement and communicate the plan

Contingency Plan Implement contingency plan Test plan Drop the power Kill the Network Connection Try a test restore Document plan Put it in writing and tell everyone where it is located Train employees on plan Ask them questions Make sure they understand the plan Get their feedback Plan to revisit the plan for changes 18

Recap Key learning highlights: Build a contingency plan for each critical system Combine database backups and a failover option to ensure rapid recovery Document and train on the recovery plan What s Next? Ensure your customers know what to do or who to contact in the event of a critical system failure Document your recovery procedure for each customer Discussion Questions Do you have a recovery plan implemented for each customer? What have you done to ensure that someone can act as your backup in the event of recovery? 19

Final Review: Learning Objectives To receive implementation-specific informational updates to enable you to effectively deploy Radiant Specialty Retail Solutions for Customers. Having completed this webinar, you should be able to: Identify which systems are critical to the business Determine how long you can be without each system Develop a contingency plan to operate while each critical system is unavailable Implement and communicate the plan 20

Schedule Preview: Webinar Mini-Series for Technicians Thurs., 6/17 from 1-2pm ET: Import & Export Data Thurs., 7/1 from 1-2pm ET: Upgrade From CounterPoint V7 Part 2 Thurs., 7/15 from 1-2pm ET: Configure and Use Dashboard Thurs., 7/29 from 1-2pm ET: Compare Multiple Site Deployment Options 21

Thank you for participating in today s Retail Training Webinar! An online evaluation survey will be displayed privately to you shortly