Microsoft SQLServer Restore / Redirected Restore Procedure



Similar documents
PCSchool SQL Backup Tech Tip. SQL Backup Tech Tip. Created in version /9

How to Backup and FTP your SQL database using E2.

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

How to Copy A SQL Database SQL Server Express (Making a History Company)

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

Restoring Sage Data Sage 200

Technical Bulletin. SQL Express Backup Utility

Steltronic Focus - Restore the Focus Databases

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

InformationNOW SQL 2008 Database Backup and Restoration

Configuring Your Firewall for Client Access in Professional Edition

BackupAgent Management Console User Manual

Moving BidMagic to a new system (Backup / Restore Utility)

Online Backup Management Console 3.8 User Manual

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

MONAHRQ Installation Permissions Guide. Version 2.0.4

Using the Windows XP Backup Wizard. Introduction. Open the Backup Wizard

QUANTIFY INSTALLATION GUIDE

AuditWizard v8. SQL Maintenance

Installing Cobra 4.7

Moving the Web Security Log Database

Introduction. There are several bits of information that must be moved:

InformationNOW SQL 2005 Database Backup and Restoration

MS SQL Server Database Management

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

Video Administration Backup and Restore Procedures

Table of Contents. RFMS SQL Backup

Migrating helpdesk to a new server

Backing Up CNG SAFE Version 6.0

Utilizing SASED OneDrive Cloud Storage

Automated backup. of the LumaSoft Gas database

Installing LearningBay Enterprise Part 2

Migrating MSDE to Microsoft SQL 2008 R2 Express

Appendix L: Running Hazus-MH with SQL Server 2005

1.0 Doors.Net Database Backup Microsoft SQL Server 2005 Studio Express

Moving the TRITON Reporting Databases

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

Ascent Capture's MSDE 2000 Backup and Restore Instructions (For Ascent Capture 7.x and 6.x using the default MSDE 2000 database)

Install SQL Server 2014 Express Edition

Backup Procedures for IT Staff User Guide

SQL Server 2005 Advanced settings

Moving a CIMPLICITY SQL Database using Detach/Attach Proficy HMI/SCADA CIMPLICITY

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

Backup / migration of a Coffalyser.Net database

SQL Server 2008 R2 Express Edition Installation Guide

How to Backup Your Eclipse.Net Database Automatically. To clearly document a specific automatic SQL database backup method for Eclipse.net.

Microsoft SQL Server 2005 How to Install and Set up Manually Guide

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

BACKUP & RESTORE (FILE SYSTEM)

BSDI Advanced Fitness & Wellness Software

KEYWORDS InteractX, database, SQL Server, SQL Server Express, backup, maintenance.

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

SQL Express to SQL Server Database Migration Goliath Performance Monitor v11.5

Scala InfoChannel Content Manager 5 Backup and Restore Instructions

Print Audit 6 - SQL Server 2005 Express Edition

NetVanta Unified Communications Server Backup and Restore Procedures

INITIAL SYNCHRONIZATION...

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

BSDI Advanced Fitness & Wellness Software

CONTACTS SYNCHRONIZER FOR IPAD USER GUIDE

Diver-Office Backup and Restore the Database

Backup & Restore Instructions

MINIMIZING DISK SPACE USAGE IN SAAS OR VIRTUAL OFFICE CS

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

THANK YOU FOR INSTALLING CARBONITE SERVER BACKUP!

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

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

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

Basic SQL Server operations

Moving a Romexis Database to an Existing SQL Instance

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

Data Containers. User Guide

Frontstream CRM Pro to Pro Upgrade Guide (Note: This guide is ONLY applicable for upgrading from Pro to Pro)

Lab: Data Backup and Recovery in Windows XP

MS SQL Server Backup - User Guide

Remote Media Encryption Log Management

FITPRO+ SOFTWARE V3 IMPORTING DATA FROM FITPRO V2 & FITPLUS3

Technical Support Set-up Procedure

Jolly Server Getting Started Guide

Migrating Netpresenter Message Server

Home and Shared Folders on Windows Accessing Home and Shared Folders on Active Directory File Servers Using Windows

Installing SQL Express. For CribMaster 9.2 and Later

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Backing Up and Restoring the Database

ONLINE BACKUP S e r v i c e s USER MANUAL. Eljes Online Backup Management Console 3.8

Using SQL-server as database engine

Using SQL Server 2008 Automated Backup

Getting to Know the SQL Server Management Studio

1. Open the License Manager either via the Start Menu or from C:\Keri\DoorsNET directory.

ilaw Installation Procedure

ClicktoFax Service Usage Manual

4cast Server Specification and Installation

On-premise and Online connection with Provider Hosted APP (Part 1)

Providers can access the precertification tool by logging in to the Amerigroup provider self service website or the Availity Web Portal.

Transcription:

Microsoft SQLServer Restore / Redirected Restore Procedure

Table of Contents INTRODUCTION 3 TYPES OF RESTORE 3 STEPS INVOLVED IN THE RESTORE 3 IDENTIFY THE DATABASE 3 LOGIN TO SQL SERVER MANAGEMENT STUDIO 4 SELECT THE DATABASE PROPERTIES 4 DATABASE FILE PROPERTIES 5 SELECT THE DATABASE 6 SELECT THE RESTORE OPTION 7 SELECT TO RESTORE THE PHYSICAL FILE 8 SELECT THE BACKUP SET 10 OPTIONS 11 SELECTION FOR REDIRECTED RESTORE 12 P a g e 2 Document version 1.7.15

Introduction Types of Restore The SQL Server supports 2 type of restore, namely; a) Normal Restore; You can use the normal restore if you want to have the current database restored back into the same database (so a backup of the Database you will be overwriting must to be done first) b) Redirected Restore;.A redirected restore will restore the data from the point at which the last backup was done to a specified Workarea. Steps involved in the Restore Identify the database In order to identify the database, we need to go into PCSchool. Go to Utilities and in the drop down menu there is a submenu called Work area maintenance. Click on the browse button to view a list of the registered Workareas. Select a Workarea to find the database it uses and the server on which the database exists. As per the below sample, you can see the server is dennispc\sqlexpress (normal format is severname\sqlserver instance name) and the database name is PCSchool. Different work areas will have different SQL server databases. P a g e 3 Document version 1.7.15

Login to SQL Server Management Studio Once the database is identified, we then need to open the sql server management studio and either login as a windows user or as an SQL server user (normally PCSchool sql server user is a powerful user and you can complete the login as that user). Select the database properties P a g e 4 Document version 1.7.15

Database file properties We need to look into the properties of the database and navigate to its files to see what the physical file name involved is. Each database should have a logical file name and a physical file name. It s possible to have different logical file names and a single physical file name. This means, if your physical file name is the same, then the data changes made by one application will reflect in the other. We need to note down the physical file name and we should use it when we do the restore in the steps below. P a g e 5 Document version 1.7.15

Select the database Once we know the physical file name, we can start our restore process. This involves selecting the database and selecting the option for Restore. P a g e 6 Document version 1.7.15

Select the Restore Option There are 2 different restore options possible. a) Normal restore; We will select From device on the assumption that we need to restore this backup into the database it was taken from, thus overwriting the data in there. b) Redirected restore; If we select From Database, this means you are going to do a redirected restore. P a g e 7 Document version 1.7.15

Select to Restore the physical file As we did in the backup procedure, we need to select the physical location of where the backup is stored. By default you should be following the path of your last backup, but if it s not the case or if it s different, remove it and add the correct location. P a g e 8 Document version 1.7.15

P a g e 9 Document version 1.7.15

Select the Backup set Once this is done, we will reach the main screen of the restore where we can see the last backup set, of that database backup. We need to select one of the backup sets. A backup set comes into play when we do the database backup wherein we have the option to say Overwrite the existing backup set or Append to existing set. P a g e 10 Document version 1.7.15

Options Before we do the restore, we need to make changes in the options tab, after selecting the backup set. This options tab will have information read from the backup set. What Microsoft does is, whenever a backup is taken, it will store information on What the database name is, What the physical location was and What the physical file name is. If we have the backup of a database (lets say PCSchool database) and if we are trying to restore the current PCSchool database with this backup, everything should be okay. But when you have a backup of PCSchool and you are trying to restore it on some other work area. A common situation is, trying to restore to PCSPlay, we need to make sure that the path is correct. As we have taken the file name and its path in our initial step, it s just a matter of pointing it to correct path and physical file. This is applicable for redirected restore and normal restore. Basically, each database will have 2 files with the same database name but with a different extension. For example; if the database name is PCSchool, you will have a PCSchool.mdf and a PCSchool_log.ldf. So you need to set the path and file name correctly. P a g e 11 Document version 1.7.15

Selection for redirected restore In the case of redirected restore you would need to select the option From Database on the initial restore screen. On selecting this you would need to know, what database you are restoring from and what database you are restoring it to. In the below example, I am trying to restore the database to PCSPlay from PCSchool. After this selection, you have to go to the options and set the correct details for the Restore as section. P a g e 12 Document version 1.7.15