User Guide on On-Site and Off-Site Backup for Microsoft SQL Server [2005] User Guide on On-Site and Off-Site Backup for Microsoft SQL Server [2005]

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

Stellar Phoenix Exchange Server Backup

Installing SQL Express. For CribMaster 9.2 and Later

NAS 253 Introduction to Backup Plan

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

Solution domain. Cloud PC Backup Startingkit for users. Date 26/05/2015 Sensitivity Unrestricted Our reference V1.0 Contact

WhatsUp Gold v16.3 Installation and Configuration Guide

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

Backup Tab. User Guide

TM Online Storage: StorageSync

Vodafone PC SMS (Software version 4.7.1) User Manual

TIGERPAW EXCHANGE INTEGRATOR SETUP GUIDE V3.6.0 August 26, 2015

Backup Tab. User Guide

QUANTIFY INSTALLATION GUIDE

Installing LearningBay Enterprise Part 2

Hyperoo 2.0 A (Very) Quick Start

SQL Server Protection Whitepaper

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

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

DocAve Upgrade Guide. From Version 4.1 to 4.5

Figure 1: Restore Tab

SQL Server Protection. User guide

Using the EBS SQL Import Panel

Introduction 1-1 Installing FAS 500 Asset Accounting the First Time 2-1 Installing FAS 500 Asset Accounting: Upgrading from a Prior Version 3-1

User guide. Business

How schedule AccuTRConsole to run every hour

Restoring Sage Data Sage 200

1 of 10 1/31/2014 4:08 PM

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Changing Your Cameleon Server IP

Premier Installation Guide for SQL Server Administrators

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

Cox Business Premium Online Backup USER'S GUIDE. Cox Business VERSION 1.0

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

SQL Server Protection

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Online Backup Client 3.9 Manual

BulkSMS Text Messenger Product Manual

ilaw Installation Procedure

Carry it Easy. User Guide

InformationNOW SQL 2005 Database Backup and Restoration

ProSystem fx Document

Migrating helpdesk to a new server

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

5.6.3 Lab: Registry Backup and Recovery in Windows XP

WhatsUp Gold v16.1 Installation and Configuration Guide

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Automated backup. of the LumaSoft Gas database

ECA IIS Instructions. January 2005

Using Remote Web Workplace Version 1.01

How To Use Exhange On Outlook On A Pc Or Macintosh Outlook 2007 On Your Pc Or Ipad (For Windows Xp) On Your Ipad Or Ipa (For Your Windows Xp). (For A Macintosh) On A

InformationNOW SQL 2008 Database Backup and Restoration

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

NetVanta Unified Communications Server Backup and Restore Procedures

TABLE OF CONTENTS. Copyright Pro Softnet Corporation. All rights reserved. 2

Arkay Remote Data Backup Client Quick Start Guide

Installation and Program Essentials

Lab: Data Backup and Recovery in Windows XP

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

The Greenshades Center

HP External Hard Disk Drive Backup Solution by Seagate User Guide. November 2004 (First Edition) Part Number

You may have been given a download link on your trial software . Use this link to download the software.

Installation & Licensing Guide. AquiferTest Pro. An Easy-to-Use Pumping Test and Slug Test Data Analysis Package

Human Resources Installation Guide

NETGATE Data Backup. User Manual. Document version 1. 1 EN ( ) Copyright (c) 2010 NETGATE Technologies s.r.o. All rights reserved.

Introweb Remote Backup Client for Mac OS X User Manual. Version 3.20

Juris Installation / Upgrade Guide

LevelOne MUS GB Smart Flash. User Manual V

Xerox Multifunction Devices. Verify Device Settings via the Configuration Report

Outlook . Step 1: Open and Configure Outlook

RFMS, INC. Reference Library Documentation. Version 10 Conversion Manual. Microsoft SQL

TANDBERG MANAGEMENT SUITE 10.0

Lenovo Online Data Backup User Guide Version

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

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

Intelli-M Access Quick Start Guide

Abila MIP. Installation Guide

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

Interact for Microsoft Office

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

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

BACKUP UTILITY FOR TIMEFORCE

Reconfiguring VMware vsphere Update Manager

WS_FTP Professional 12

Install Guide for Time Matters and Billing Matters 11.0

Lab - Data Backup and Recovery in Windows XP

BSDI Advanced Fitness & Wellness Software

Symantec Backup ExecTM11d

TAMUS Terminal Server Setup BPP SQL/Alva

Remote Deposit Desktop Guide

Moving the TRITON Reporting Databases

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

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

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

webkpi SaaS ETL Connector Installation & Configuration Guide

Bosch ReadykeyPRO Unlimited Installation Guide, product version 6.5. This guide is item number DOC , revision 2.029, May 2012.

WhatsUp Gold v16.2 Installation and Configuration Guide

Transcription:

User Guide on On-Site and Off-Site Backup for

Table of Contents 1.0 Onsite Backup (For Offsite Application) 1 1.1 Microsoft SQL Server Management Studio... 1 1.2 Configure Scheduled Full Backup of SQL Database... 1.2.1 Maintenance Plan Wizard: Create Maintenance Task... 1.2.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Full)... 1.2.3 Maintenance Plan Wizard: Define Job Schedule... 1.2.4 Maintenance Plan Wizard: Select Maintenance Report Options... 1.3 Configure Scheduled Full Backup of SQL Database... 15 1.3.1 Maintenance Plan Wizard: Create Maintenance Task... 1.3.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Differential)... 17 1.3.3 Maintenance Plan Wizard: Define Job Schedule... 1.3.4 Maintenance Plan Wizard: Select Maintenance Report Options... 3 3 5 10 12 15 22 24 2.0 Onsite Backup (For Offsite Application) 26 2.1 Microsoft SQL Server Management Studio.. 26 2.2 Configure Scheduled Full Backup of SQL Database... 29 2.2.1 Maintenance Plan Wizard: Create Maintenance Task... 29 2.2.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Full)... 31 2.2.3 Maintenance Plan Wizard: Define Job Schedule... 35 2.2.4 Maintenance Plan Wizard: Select Maintenance Report Options... 37 2.3 Configure Scheduled Full Backup of SQL Database... 40 2.3.1 Maintenance Plan Wizard: Create Maintenance Task... 40 2.3.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Differential)... 42 2.3.3 Maintenance Plan Wizard: Define Job Schedule... 46 2.3.4 Maintenance Plan Wizard: Select Maintenance Report Options... 48 3.0 Offsite Backup... 51 3.1 Download and Install Storage Sync... 51 3.2 Setup Login. 54 3.3 Create Profiles for Backup.. 55 3.3.1 Full Backup only.. 55

3.3.2 Full and Differential Backup 58 3.4 Setup Schedule for Auto Backup.. 6158 3.5 Other Settings... 6261 3.5.1 Configure sending log report by email..... 6362 3.5.2 Configure encryption and compression on remote files 6463 64 4.0 Restore Database.... 4.1 Offsite Restore. 4.1.1 Restore Storage Sync Data and Profiles... 4.1.2 Restore for Full Backup.. 6966 4.1.3 Restore for Full and Differential Backup.. 7269 4.2 Onsite Restore... 7572 4.2.1 Full Backup only... 75 75 4.2.2 Full and Differential Backup. 7975 79 5.0 Run Storage Sync as Service 88 5.1 Exe To Service 88 88 5.2 Installing and Creating Storage Sync Service... 88 88 88 6.0 Frequently Asked Questions (FAQ)... 96 66 66 66 66 66

1.0 Onsite Backup (For Offsite Application) The on-site backup performed in this section is for the use of the off-site application on section 3.0 Off-site Backup later. 1.1 Microsoft SQL Server Management Studio 1. Open Microsoft SQL Server Management Studio. 1 2. A window is prompted to connect to the local server before entering Microsoft SQL Server Management Studio. Press Connect to connect to the server. 2 1

3. From the Object Explorer we can view the existing databases by expanding Databases. We use Database1 as the example for the backup. 2

1.2 Configure Scheduled Full Backup of SQL Database Maintenance Plan Wizard is used to configure the scheduled backup of Database1. 1.2.1 Maintenance Plan Wizard: Create Maintenance Task 1. On Object Explorer, expand Management, right-click on Maintenance Plans and select Maintenance Plan Wizard. 1 2. On the SQL Server Maintenance Plan Wizard introduction page, click Next to proceed. 2 3

3. Enter the Name and Description for the task. For example: Name: Database1-Full Backup Description: For offsite backup application. 3 4 5 4. Select the target server to perform the maintenance task. By default, the server displayed here is the one that you connected on section 1.1 Microsoft SQL Server Management Studio step 2. 5. Click Next to continue. 4

1.2.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Full) 1. Select Back Up Database (Full) as the maintenance task. Click Next to continue. 1 2. On Select Maintenance Task Order, click Next to proceed. 2 5

3. The user is then brought to the Define Back Up Database (Full) Task page to configure the maintenance task. 4. Here, the user can choose which database to be backup using this plan. Following on our example, we choose Database1 as the database to be backed up. 4 5 5. Click OK once selected. *Note: The system databases and other user databases are also important to be backed up. 6

6. To backup the database into a backup file (.bak), select the option Back up databases across one or more files. 7. Click Add to create the backup file. 6 7 8. By default, the path to store your backup file is already set. You can change the path by clicking on the button. 8 Note: You can create a new folder to store the backup file created for full backup on your desired path. For example, we create a Full Backup folder on C:\Backup\Database1. 7

9. Expand the path selection and select the folder that stores the backup file. For example, the Full Backup folder on C:\Backup\Database1\. 10. Key in the name for the backup file on File name. In this example, we use Full_Backup. 11. Click OK to save the file name and path. 9 10 11 12. Click OK to continue. 12 8

13. Select Overwrite on the If backup files exist section. This choice is selected so that only the most recent backup file is stored. 14. On the most bottom part of the Define Back Up Database (Full) Task page, click Next to proceed. 14 9

1.2.3 Maintenance Plan Wizard: Define Job Schedule 1. To define a schedule for the maintenance task, click into Change. 1 2. Give the job schedule a name. For example, Database1-Full Backup. 3. A new window on Job Schedule Properties is displayed. Select the Scheduled type for the backup plan. Recurring is the default option. 2 3 4 4. On the Frequency section, select the occurring period with either Daily, Weekly or Monthly. In this example, we suggest to perform the full backup of Database1 weekly on Friday. 10

5. Select the time where the backup begins on selected day on the Daily frequency section. We suggest the backup runs after working hours, for example 8.00pm. 6. Select the starting and ending date for the backup on the Duration section. If the backup runs for a long period, simply select No end date. 5 6 7 7. Click OK upon completion on the schedule configuration. 8. Click Next to proceed. 8 11

1.2.4 Maintenance Plan Wizard: Select Maintenance Report Options 1. You can produce a report on the maintenance plan. Select the check box Write a report to a text file. 2. By default, the path to store the report is already set. Press the button to select another folder to store the report file. 1 2 3. Expand and select the folder where you want to save the maintenance report file. For example, C:\Backup\Database1\Log. 4. Select OK once selected. 3 4 12

5. Select Next to proceed. 5 6. Complete the wizard by clicking Finish. 6 13

7. The checking process is gone through to see if any errors occur. Once marked as successful, click Close to finish setting up the plan. 7 8. The backup maintenance plan created can be viewed by expanding Management>Maintenance Plans. 9. The database is backed up fully as Full_Backup.bak according to the schedule plan created above on the path defined. 14

1.3 Configure Scheduled Differential Backup of SQL Database To configure scheduled differential backup of SQL database, you must first complete the steps on 1.2 Configure Scheduled Full Backup of SQL Database on page 3. 1.3.1 Maintenance Plan Wizard: Create Maintenance Task 1. On Object Explorer, expand Management, right-click on Maintenance Plans and select Maintenance Plan Wizard. 1 2. On the SQL Server Maintenance Plan Wizard introduction page, click Next to proceed. 2 15

3. Enter the Name and Description for the task. For example: Name: Database1-Differential Backup Description: For offsite backup application. 3 4 5 4. Select the target server to perform the maintenance task. By default, the server displayed here is the one that you connected on section 1.1 Microsoft SQL Server Management Studio step 2. 5. Click Next to continue. 16

1.3.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Differential) 1. Select Back Up Database (Differential) as the maintenance task. Click Next to continue. 1 2. On Select Maintenance Task Order, click Next to proceed. 2 17

3. The user is then brought to the Define Back Up Database (Differential) Task page to configure the maintenance task. 4. Here, the user can choose which database to be backup using this plan. Following on our example, we choose Database1 as the database to be backed up. 4 5 5. Click OK once selected. 18

6. To backup the database into a backup file (.bak), select the option Back up databases across one or more files. 7. Click Add to create the backup file. 6 7 8. By default, the path to store your backup file is already set. You can change the path by clicking on the button. 8 Note: You can create another new folder to store the backup file created for differential backup on your desired path. For example, we created a Differential Backup folder on C:\Backup\Database1. 19

9. Expand the path selection and select the folder that stores the backup file. For example, the Differential Backup folder on C:\Backup\Database1\. 10. Key in the name for the backup file on File name. In this example, we use Differential_Backup. 11. Click OK to save the file name and path. 9 10 11 12. Click OK to continue. 12 20

13. Select Overwrite on the If backup files exist section. This choice is selected so that only the most recent backup file is stored. 14. On the most bottom part of the Define Back Up Database (Full) Task page, click Next to proceed. 14 21

1.3.3 Maintenance Plan Wizard: Define Job Schedule 1. To define a schedule for the maintenance task, click into Change. 1 2. Give the job schedule a name. For example, Database1-Differential Backup. 3. A new window on Job Schedule Properties is displayed. Select the Scheduled type for the backup plan. Recurring is the default option. 2 3 4 4. On the Frequency section, select the occurring period with either Daily, Weekly or Monthly. In this example, we suggest to perform the differential backup of Database1 daily. 22

5. Select the time where the backup begins on selected day on the Daily frequency section. We suggest the backup runs after working hours, for example 8.00pm. 6. Select the starting and ending date for the backup on the Duration section. If the backup runs for a long period, simply select No end date. 5 6 7 7. Click OK upon completion on the schedule configuration. 8. Click Next to proceed. 8 23

1.3.4 Maintenance Plan Wizard: Select Maintenance Report Options 1. You can produce a report on the maintenance plan. Select the check box Write a report to a text file. 2. By default, the path to store the report is already set. Press the button to select another folder to store the report file. 1 2 3. Expand and select the folder where you want to save the maintenance report file. For example, C:\Backup\Database1\Log. 4. Select OK once selected. 3 4 24

5. Select Next to proceed. 5 6. Complete the wizard by clicking Finish. 6 25

7. The checking process is gone through to see if any errors occur. Once marked as successful, click Close to finish setting up the plan. 7 8. The backup maintenance plan created can be viewed by expanding Management>Maintenance Plans. 9. The database is backed up differentially as Differential_Backup.bak according to the schedule plan created above on the path defined. 26

2.0 Onsite Backup (For Safety Precaution) This portion of the manual is optional. Here, users are guided on how to perform on-site backup of the database to their own existing hard drive for safety purpose. The backup files generated are kept on every backup run. 2.1 Microsoft SQL Server Management Studio 1. Open Microsoft SQL Server Management Studio. 1 2. A window is prompted to connect to the local server before entering Microsoft SQL Server Management Studio. Press Connect to connect to the server. 2 27

3. From the Object Explorer we can view the existing databases by expanding Databases. We use Database1 as the example for the backup. 28

2.2 Configure Scheduled Full Backup of SQL Database Maintenance Plan Wizard is used to configure the scheduled backup of Database1. 2.2.1 Maintenance Plan Wizard: Create Maintenance Task 1. On Object Explorer, expand Management, right-click on Maintenance Plans and select Maintenance Plan Wizard. 1 2. On the SQL Server Maintenance Plan Wizard introduction page, click Next to proceed. 2 29

3. Enter the Name and Description for the task. For example: Name: Database1-Full Backup (safety) Description: For safety precaution. 3 4 5 4. Select the target server to perform the maintenance task. By default, the server displayed here is the one that you connected on section 2.1 Microsoft SQL Server Management Studio step 2. 5. Click Next to continue. 30

2.2.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Full) 1. Select Back Up Database (Full) as the maintenance task. Click Next to continue. 1 2. On Select Maintenance Task Order, click Next to proceed. 2 31

3. The user is then brought to the Define Back Up Database (Full) Task page to configure the maintenance task. 4. Here, the user can choose which database to be backup using this plan. Following on our example, we choose Database1 as the database to be backed up. 4 5 5. Click OK once selected. *Note: The system databases and other user databases are also important to be backed up. 32

6. To enable the backup files to be created on every backup performed, select the option for Create a backup file for every database. 6 8 7 7. Select the check box Create a sub-directory for each database so that a sub folder for Database1 is created to store its backup files. 8. By default, the path to store your backup file is already set. You can change the path by clicking on the button. 9. On the popup window, click on the button. 9 Note: You can create a new folder to store the backup file created for full backup on your desired path. For example, we create a Full Backup folder on C:\Backup\Database1. 33

10. Expand the path selection and select the folder that stores the backup file. For example, the Full_Backup folder on the E hard drive E:/Backup. 11. Click OK to save the file name and path. 10 11 12. Click OK to continue and go back to the Define Back Up Database (Full) Task page. 12 13. On the most bottom part of the Define Back Up Database (Full) Task page, click Next to proceed. 13 34

2.2.3 Maintenance Plan Wizard: Define Job Schedule 1. To define a schedule for the maintenance task, click into Change. 1 2. Give the job schedule a name. For example, Database1-Full Backup (safety). 3. A new window on Job Schedule Properties is displayed. Select the Scheduled type for the backup plan. Recurring is the default option. 2 3 4 4. On the Frequency section, select the occurring period with either Daily, Weekly or Monthly. In this example, we suggest to perform the full backup of Database1 weekly on Friday. 35

5. Select the time where the backup begins on selected day on the Daily frequency section. We suggest the backup runs after working hours, for example 8.00pm. 6. Select the starting and ending date for the backup on the Duration section. If the backup runs for a long period, simply select No end date. 5 6 7 7. Click OK upon completion on the schedule configuration. 8. Click Next to proceed. 8 36

1.3.4 Maintenance Plan Wizard: Select Maintenance Report Options 1. You can produce a report on the maintenance plan. Select the check box Write a report to a text file. 2. By default, the path to store the report is already set. Press the button to select another folder to store the report file. 1 2 3. Expand and select the folder where you want to save the maintenance report file. For example, E:\Backup\Full_Backup\Log. 4. Select OK once selected. 3 4 37

5. Select Next to proceed. 5 6. Complete the wizard by clicking Finish. 6 38

7. The checking process is gone through to see if any errors occur. Once marked as successful, click Close to finish setting up the plan. 7 8. The backup maintenance plan created can be viewed by expanding Management>Maintenance Plans. 9. The database is backed up fully according to the schedule plan created above. Different from the backup file in section 1.0, the name(s) of the backup file(s) here is generated based on the date and time it is backed up, and it is not overwritten by the latest one. *Note that the folder Database1 on E:\Backup\Full_Backup is created on 2.2.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Full) on step 7 at page 33. 39

2.3 Configure Scheduled Differential Backup of SQL Database To configure scheduled differential backup of SQL database, you must first complete the steps on 2.2 Configure Scheduled Full Backup of SQL Database on page 29. 2.3.1 Maintenance Plan Wizard: Create Maintenance Task 1. On Object Explorer, expand Management, right-click on Maintenance Plans and select Maintenance Plan Wizard. 1 2. On the SQL Server Maintenance Plan Wizard introduction page, click Next to proceed. 2 40

3. Enter the Name and Description for the task. For example: Name: Database1-Differential Backup (safety) Description: For safety precaution. 3 4 5 4. Select the target server to perform the maintenance task. By default, the server displayed here is the one that you connected on section 2.1 Microsoft SQL Server Management Studio step 2. 5. Click Next to continue. 41

2.3.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Differential) 1. Select Back Up Database (Differential) as the maintenance task. Click Next to continue. 1 2. On Select Maintenance Task Order, click Next to proceed. 2 42

3. The user is then brought to the Define Back Up Database (Differential) Task page to configure the maintenance task. 4. Here, the user can choose which database to be backup using this plan. Following on our example, we choose Database1 as the database to be backed up. 4 5 5. Click OK once selected. 43

6. To enable the backup files to be created on every backup performed, select the option for Create a backup file for every database. 6 8 7 7. Select the check box Create a sub-directory for each database so that a sub folder for Database1 is created to store its backup files. 8. By default, the path to store your backup file is already set. You can change the path by clicking on the button. 9. On the popup window, click on the button. 9 Note: You can create another new folder to store the backup file created for differential backup on your desired path. For example, we created a Differential Backup folder on C:\Backup\Database1. 44

10. Expand the path selection and select the folder that stores the backup file. For example, the Differential_Backup folder on the E hard drive E:/Backup. 11. Click OK to save the file name and path. 10 11 12. Click OK to continue and go back to Define Back Up Database (Differential) Task page. 12 13. On the most bottom part of the Define Back Up Database (Full) Task page, click Next to proceed. 13 45

2.3.3 Maintenance Plan Wizard: Define Job Schedule 1. To define a schedule for the maintenance task, click into Change. 1 2. Give the job schedule a name. For example, Database1-Differential Backup (safety). 3. A new window on Job Schedule Properties is displayed. Select the Scheduled type for the backup plan. Recurring is the default option. 2 3 4 4. On the Frequency section, select the occurring period with either Daily, Weekly or Monthly. In this example, we suggest to perform the differential backup of Database1 daily. 46

5. Select the time where the backup begins on selected day on the Daily frequency section. We suggest the backup runs after working hours, for example 8.00pm. 6. Select the starting and ending date for the backup on the Duration section. If the backup runs for a long period, simply select No end date. 5 6 7 7. Click OK upon completion on the schedule configuration. 8. Click Next to proceed. 8 47

2.3.4 Maintenance Plan Wizard: Select Maintenance Report Options 1. You can produce a report on the maintenance plan. Select the check box Write a report to a text file. 2. By default, the path to store the report is already set. Press the button to select another folder to store the report file. 1 2 3. Expand and select the folder where you want to save the maintenance report file. For example, E:\Backup\Differential_Backup\Log. 4. Select OK once selected. 3 4 48

5. Select Next to proceed. 5 6. Complete the wizard by clicking Finish. 6 49

7. The checking process is gone through to see if any errors occur. Once marked as successful, click Close to finish setting up the plan. 7 8. The backup maintenance plan created can be viewed by expanding Management>Maintenance Plans. 9. The database is backed up fully as the schedule plan created above. Different from the backup file in section 1.0, the name(s) of the backup file(s) here is generated based on the date and time it is backed up, and it is not overwritten by the latest one. *Note that the folder Database1 on E:\Backup\Differential_Ba ckup is created on Section 2.3.2 Maintenance Plan Wizard: Configure Maintenance Tasks (Differential) step 7 on page 44. 50

3.0 Offsite Backup In this section, we will look into how to perform offsite backup to the backup file(s) using Storage Sync. 3.1 Download and Install Storage Sync 1. Open your web browser to http://afteroffice.com/index.php/download. 2. Click to download the Windows version of Storage Sync. We suggest you to save this file on your Desktop for easy access. 3. Once the download is complete, double click the application file to run it. 4. On the Welcome Page of Storage Sync Setup Wizard, click Next to proceed. 4 51

5. Browse and choose the folder for the installation. Click Next to continue. 5 6. Select the check box Start StorageSync when Windows starts so that next time Storage Sync will start on every startup. 7. Click Install to start the installation process. 6 7 52

8. The installation takes a few seconds. 9. Once the installation is complete, click Finish. 9 53

3.2 Setup Login 1. Run Storage Sync program. 2. If you are running Storage Sync for the first time, the login information is required. Fill in your login information. For example: Server: vo.domain.com Login: user@domain.com Password: ****** 3. Press OK to login. 4. For first time installation of Storage Sync, click No to continue. 54

3.3 Create Profiles for Backup 3.3.1 Full Backup only In this section, we create a new profile to remotely backup the Full_Backup.bak file (the full backup file created on 1.2 Configure Scheduled Full Backup of SQL Database). 1. To create a profile, click the New button. 1 2. Give the new profile a name. For example, Database1-Full Backup. 2 3 3. Click OK to continue. Note: A profile is a representation of backup, restoration, or synchronization setting. It includes the settings of a local folder, a remote folder, direction settings (backup, restore or synchronize) and other settings such as scheduling, files selection, security and etc. 55

4. On Local Folder, browse for the path in which the backup file lies. Based on our example, the folder that contains the full backup file is C:\Backup\Database1\Full Backup. 4 5 5. Click OK once the source folder is chosen. Note: The Local Folder field specifies the path to a folder in your computer/server. It can be the source of files to be backed up to the remote server, or the destination folder for files to be downloaded from the remote server. 56

6. Browse for the destination folder on Remote Folder section. Create a new folder if necessary by clicking For example, on Company Share/Database1, we create a new folder Full Backup as the destination folder. 6 7 7. Click OK once finish choosing. Note: The Remote Folder field specifies the path to a folder on the remote server. It can be the destination folder for files backed up from your computer/server, or the source of files to be downloaded to your computer/server. 57

3.3.2 Full and Differential Backup In this section, we will create two new profiles to backup the Database1-full.bak and Database1- Differential.bak. To create a profile to backup Full_Backup.bak, refer to the steps in 3.3.1 Full Backup only on page 55 above. We continue in creating a new profile to backup Differential_Backup.bak (the differential backup file created on 1.3Configure Scheduled Differential Backup of SQL Database) in this section. 1. To create a profile, click the New button. 1 2. Give the new profile a name. For example, Database1-Full Backup. 2 3 3. Click OK to continue. 58

4. On Local Folder, browse for the path in which the backup file lies. Based on our example, the folder that contains the differential backup file is C:\Backup\Database1\Differential Backup. 4 5 5. Click OK once the source folder is chosen. 59

6. Browse for the destination folder on Remote Folder section. Create a new folder if necessary by clicking For example, on Company Share/Database1, we create a new folder Differential Backup as the destination folder. 6 7 7. Click OK once finish choosing. 60

3.4 Setup Schedule for Auto Backup 1. Select the appropriate profile and click into the Schedule tab. 1 2 3 4 5 2. Select Active in order to set the schedule. 3. Choose the schedule occurrence (Daily, Weekly, Monthly or Once). 4. On Start at, select the time where the backup begins. 5. Click Save after completing the configuration. Note: The schedule time for each backup profile is dependent on the size of the file. For Database1-Full Backup, we can schedule it to run weekly on Friday starting at 11pm (since its on-site backup is scheduled to run at 8pm on every Friday). Refer to 1.2.3 Maintenance Plan Wizard: Define Job Schedule for full backup. As for Database1-Differential Backup, we can schedule it to run daily starting at 11pm (since its on-site backup is scheduled to run daily at 8pm). Refer to 1.3.3 Maintenance Plan Wizard: Define Job Schedule for differential backup. 61

3.5 Other Settings You can configure for other settings as well on the Options tab. The recommended settings are selected by default. a b e c d f h g a. Transfer file through SSL (Secure Socket Layer). b. Verify the file once the transmission done. c. See 3.5.1 Configure sending log report by email (page 63) for more information. d. Continue to transfer the file even though there are many errors. e. See 3.5.2 Configure encryption and compression on remote files (page 64) for more information. f. Apply anti-virus scanning. g. Allow resumption of interrupted downloads/uploads. h. Delta Transfer uses an algorithm for updating a file on one machine to be identical to a file on another remote machine. The algorithm identifies parts of the source file which are identical to some parts of the destination file, and only sends those parts which cannot be matched in this way. 62

3.5.1 Configure sending log report by email 1. If you want to receive a log report through email after the backup is run, select Send log report by e- mail. 2. If Only after a scheduled run is checked, then the log report will only be sent to your email for backup that is run on schedule. 1 2 *Note: If you want to receive email on log report for both scheduled and non-scheduled backup, deselect the option on Only after a scheduled run. 3. With these two options selected, the log report will be sent to you current account email (which is in this example, user@domain.com) after a scheduled backup is performed. 4. Alternatively, if you want the log report to be sent to other email other than your current account s email, you can check the check box on Use alternative E-mail address:. 5. Write in your alternative e-mail address. For example, username@gmail.com. 4 5 6. Then, the log report will be sent to this alternative email account after the scheduled run. 63

3.5.2. Configure encryption and compression on remote files 1. If you want to apply encryption and compression on the files transferred, select Encrypt & compress remote files (*.enc). 2. Insert the password for the encryption. The same password is used to decrypt the file on Storage Center. 1 2 *Note: If encryption is used on file transfer, the filename on the server will have an extension of.enc appended at its end, indicating it is an encrypted file. 4. The scheduled backup will then run on the time configured on the Schedule section. 64

5. The file is successfully backed up to Storage Center. 65

4.0 Restore Database In this section we will look into how to restore back a database. 4.1 Offsite Restore Here, we assume that the database Database1 from previous example is lost accidentally, and we do not have any backup on local server. We can restore back the database from the remote server as we have performed an offsite backup on section 3.0 above. 4.1.1 Restore Storage Sync Data and Profiles 1. Reinstall Storage Sync. You can refer to 3.1 Download and Install Storage Sync. 2. Run Storage Sync program. 3. Fill in your login information. For example: Server: vo.domain.com Login: user@domain.com Password: ****** 3 4 4. Press OK to login. 66

5. At the prompt message, click Yes to restore your profiles from the remote server. 6. Select File>Import Profiles. 7. Click OK on Import profiles from Remote. 8. Select Yes to proceed. 67

9. The restore process takes a few seconds. 10. You need to restart Storage Sync before continuing. Press Close this Program. 11. Reopen Storage Sync. Your profiles are successfully restored. 68

4.1.2. Restore for Full Backup 1. To restore your full backup file, select the profile Database1-Full Backup. 1 2 2. Change the Direction Settings from Local-to-Remote to Remote-to-Local by clicking on the icon. 3. Click Run to download the full backup file. 3 69

4. Click Proceed. 4 5. The download process takes some time. 70

6. Click Close once completed. 6 7. The full backup file is successfully restored. 71

4.1.3 Restore for Full and Differential Backup 1. To restore the full backup file, refer to 4.1.2. Restore for Full Backup. 2. To restore the differential backup file, select the profile Database1-Differential Backup. 2 3 3. Change the Direction Settings from Local-to-Remote to Remote-to-Local by clicking on the icon. 4. Click Run to download the full backup file. 4 72

5. Click Proceed. 5 6. The download process takes some time. 73

7. Click Close once completed. 7 8. The full backup file is successfully restored. 74

4.2 Onsite Restore In this section we will look into how to perform on-site restore to the database using the backup file(s). 4.2.1 Full Backup only Follow the steps below to see how Full_Backup.bak is used to restore Database1. 1. Open Microsoft SQL Server Management Studio. 2. On Object Explorer, right-click to Database and select Restore Database. 2 3. Key in a new database name that you want to restore. For example, Database1. 3 4 75

**Note: Do not use an existing database name to do the restoration, it will cause error. 4. Select From device to browse for the source and location of the backup set to be restored into the database. Click on the button. 5. On a pop-up window, click the Add button. 5 6. Expand the path where the backup file lies. On previous example, the full backup file is in C:\Backup\Database1\Full Backup. 7. Key in the file name of the backup file. Based on our example, the full backup file name is Full_Backup. 8. Click OK once done selecting the path and file. 7 8 76

9. Click OK to continue. 9 10. Select the check box on the backup set defined. 10 11 11. Click OK to start restoring the database. 77

12. Click OK to finish the restore process. 12 13. The database Database1 is successfully restored. 78

ii. Full and Differential Backup Follow the steps below to see how Full_Backup.bak and Differential_Backup.bak are used to restore Database1. 1. Open Microsoft SQL Server Management Studio. 2. On Object Explorer, right-click to Database and select Restore Database. 2 3. Key in the database name that you want to restore. 3 4 **Note: Do not use an existing database name to do the restoration, it will cause error. 79

4. Select From device to browse for the source and location of the backup set to be restored into the database. Click on the button. 5. On a pop-up window, click the Add button. 5 6. Expand the path where the backup file lies. On previous example, the full backup file is in C:\Backup\Database1\Full Backup. 7. Key in the file name of the backup file. Based on our example, the full backup file name is Full_Backup. 8. Click OK once done selecting the path and file. 6 7 8 80

9. Click OK to continue. 9 10. Select the check box on the backup set defined. 10 81

11. On Select a page on the top-left corner, select Options. 12. On restore options, select Leave the database non-operational, and do not roll back uncommitted transactions. Additional transaction logs can be restored. (RESTORE WITH NONRECOVERY). 12 13 13. Click OK and the restore process will run. 82

14. The database is restored on non-recovery mode. Click OK to finish the restore process. 14 15. Now, we proceed to restore Database1-Differential.bak. 16. On Object Explorer, expand Databases, right-click Database1 (Restoring ), then select Tasks> Restore> Database... 16 83

17. Select From device to browse for the source and location of the backup set to be restored into the database. Click on the button. 17 18. On a pop-up window, click the Add button. 18 84

19. Expand the path where the backup file lies. On previous example, the differential backup file is in C:\Backup\Database1\Differential Backup. 19 20 21 20. Key in the file name of the backup file. Based on our example, the differential backup file name is Differential_Backup. 21. Click OK once done selecting the path and file. 85

22. Click OK to continue. 22 23. Select the check box on the backup set defined. 23 24 24. Click OK to start restoring the database. 86

25. Click OK to finish the restore process. 25 26. The database Database1 is successfully restored. 87

5.0 Run Storage Sync as Service 5.1 Exe To Service Exe To Service is a software tool that allows you to run any Windows executable file as a Window service. If you wish to run Storage Sync process in background, regardless of whether or not a user is logged on, you can use this software tool to create a Storage Sync service that runs in your Microsoft SQL Server. The current newest version of this tool is Exe To Service 3.0. The trial version is available on: http://www.exetoservice.com/ 5.2 Installing and Creating Storage Sync Service 1. Double-click Exe To Service to run it. 2. On Computers View panel, click on Local Computer under All Computers to connect to your server/computer. 2 88

3. After the connection is established, click into File>Create and Install Service to create a Storage Sync service. 3 89

4. On Service Option s Main tab, click Browser to select the source where your Storage Sync executable file is stored. 4 *Note: is the representation of Storage Sync executable file. 5. Navigate to the folder that contains StorageSync.exe. For our example, C:\Program Files\StorageSync\. 6. Select the executable file. 7. Click Open. 5 6 7 90

8. Once the source is selected, key in the service information. For example: Service name: StorageSync_Service Visible name: StorageSync_Service Description: Start Storage Sync as service. 8 9 9. Click Next to continue configuring the setting on Log On tab. 91

10. On Log On tab, select: Startup type: Automatic Error control: Normal 10 11. On Log on as, select System account, and tick the option Interact with desktop. 11 12. Click Next. 12 13. On Schedule tab, select One start only. 13 14 14. Click Next to continue. 92

15. On Recovery tab, you can follow the preset settings without the need to modify them. Click Next to proceed. 15 16. On Dependencies tab, you do not need to add or remove any dependencies for Storage Sync service. Press Apply to finish the creation process. 16 93

17. Now that the Storage Sync service has been created, you can start the service by right-clicking the Storage Sync service, and select Start. 17 *Note: You can start, stop, restart, remove and change the properties of the service by right-clicking on the service. 94

18. Storage Sync service, which has a dimmer colour, runs in background after started. *Note: a. DO NOT exit (close) the Storage Sync service interface. b. You can modify your settings through the Storage Sync service interface. c. It is recommended that you restart the service every time you make modification on any Storage Sync settings (e.g. change in schedule, change in folder paths, change in option settings, etc.). d. Change in login profile requires service restart. (e.g. previous login chris@abc.com changes to mason@abc.com on login setup) 95

6.0 Frequently Asked Questions (FAQ) [1] What are the functions of the existing system databases? Is it necessary to perform backup on these databases as well? The system databases consist of master, model, msdb and tempdb: master database- the database that records all system-level information for the SQL server instance. model database- the database used as the template for all databases created on the SQL Server instance. msdb database- the database used by SQL Server agent to schedule alerts and jobs. tempdb database- a workplace that holds temporary objects or immediate result sets. The system databases are important for MS SQL to run. If the master database is crashed or unrecoverable, the entire SQL instance will be down until the next fresh new installation of instances is completed. Therefore, it is advisable to backup system databases weekly or monthly. [2] Are other working databases (such as Database1) has any relation to the system databases? System databases have no relation to Database1. Data that is stored or changed in Database1 will not update system databases. [3] Will the database connection be affected if both SQL server and client are running on the same processor? Generally should have no impact. Client is connected to server via ODBC connection. 4] Is there any way to keep the SQL server agent on automatically every time the user connects to the database engine? By default, the SQL service should be auto started and running. The service might only be stopped manually by user or there is some errors occurred during the server start up, causing the service to not start. The SQL server agent is controlled by windows services. [5] Is it advisable to backup the database to the Desktop? Since SQL maintenance plan is used to perform the backup, the location is fixed and would not change from time to time. However, it is not advisable to place the backup files on Desktop because it is depended on which user logs on. 96

[6] Does SQL maintenance backup runs on log-off mode? SQL maintenance backup runs regardless of whether the server is logged on or logged off, as long as it is switched on. Note that server is usually on log-off mode and not with administrator or user log-on or in locked mode. 97