PCSchool SQL Backup Tech Tip. SQL Backup Tech Tip. Created in version 2009.4 1/9



Similar documents
Microsoft SQLServer Restore / Redirected Restore Procedure

AuditWizard v8. SQL Maintenance

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

How to Backup and FTP your SQL database using E2.

Automated backup. of the LumaSoft Gas database

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

Document Management User Guide

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Backing Up CNG SAFE Version 6.0

Technical Support Set-up Procedure

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

Fax and SMS Quickguide

Moving the Web Security Log Database

Backup Procedures for IT Staff User Guide

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

Using a Remote SQL Server Best Practices

TechExcel CustomerWise Outlook Sync

SQL Database Administration. Overview

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

InformationNOW SQL 2005 Database Backup and Restoration

Moving the TRITON Reporting Databases

Migrating helpdesk to a new server

InformationNOW SQL 2008 Database Backup and Restoration

Restoring Sage Data Sage 200

Overview... 2 How to Add New Documents... 3 Adding a Note / SMS or Phone Message... 3 Adding a New Letter How to Create Letter Templates...

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

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

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Installation Guide. (June 2014)

SQL Server 2005 Advanced settings

Support Document: Microsoft SQL Server - LiveVault 7.6X

mylittleadmin for MS SQL Server Quick Start Guide

This article Includes:

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)

Click to begin. Maitre'D Full System Backup & Restore

ProSystem fx Document

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

VDF Query User Manual

TM Online Storage: StorageSync

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

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

Notes Transfer instructions INTRODUCTION More information

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

Installing LearningBay Enterprise Part 2

NAS 253 Introduction to Backup Plan

Table of Contents SQL Server Option

SQL Server 2008 R2 Express Edition Installation Guide

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

Migrating TimeForce To A New Server

Installing SQL Express. For CribMaster 9.2 and Later

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

QUANTIFY INSTALLATION GUIDE

How to Move an SAP BusinessObjects BI Platform System Database and Audit Database

NovaBACKUP xsp Version 15.0 Upgrade Guide

Juris Installation / Upgrade Guide

Simple Disaster Recovery

You must have at least Editor access to your own mail database to run archiving.

WhatsUp Gold v16.1 Installation and Configuration Guide

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

Click Studios. Passwordstate. High Availability Installation Instructions

MSSQL quick start guide

Setting up a Scheduled task to upload pupil records to ParentPay

Hyperoo 2.0 A (Very) Quick Start

Apple Mac VPN Service Setting up Remote Desktop

Technical Bulletin. SQL Express Backup Utility

DSS Support Backup / Restore DSS Databases using Windows Backup Windows XP Windows 2003 Server

BACKUP & RESTORE (FILE SYSTEM)

M4 Systems. Remittance (ER) User Guide

GETTING STARTED WITH SQL SERVER

Instructions. Introduction

Central Administration QuickStart Guide

Microsoft Dynamics GP Audit Trails

Migrating documents from Business Objects Reporter to Web Intelligence XI R2

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

Microsoft SQL Server Scheduling

Xopero Backup Build your private cloud backup environment. Getting started

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

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

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

How To Write A Year End Submission For Sage Evolution Payroll Paye

Installation instructions for MERLIN Dashboard

Dynamic DNS How-To Guide

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

Web Service for Observer. Installation Manual. Part No Revision A

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Click Studios. Passwordstate. High Availability Installation Instructions

ecopy ShareScan 5.0 SQL installs guide

Payroll End of Month User Guide

Backup Notification in Client Profiles for Windows

User Manual. Crystal Report Integration

Keystone Enterprise Backup

ArcGIS Server and Geodatabase Administration for 10.2

Download Path for 7 Zip : ( Username & Password to download = sqlutility ) **Make sure install the right one or else you can t find 7 Zip to Extract.

Power Update - Documentation Power Update Manager

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

Click Studios. Passwordstate. Installation Instructions

Transcription:

SQL Backup Tech Tip Created in version 2009.4 1/9

Table of Contents SQL Backup... 2 PCSchool Backup... 3 SQL Server Backup... 5 Identify the Workarea... 5 Management Studio... 5 General... 6 SQL Backup It is very important that schools are aware that Backups must be created in; PCSchool as tmp files, these are the files used by the Help Desk to restore certain information SQL Server backups are also very important and used by IT staff Created in version 2009.4 2/9

PCSchool Backup The major advantage of the backup from PCSchool is that a Backup is created for each table; this can easily import it back into PCSchool restoring the data. Security access of Backup is required. It is suggested that all departments have at least one person responsible for backing up. This should be performed once a day and before any major processes are completed such as Timetable changes and period End rollovers. Path: Utilities Users Security Setup A Group Profile can be created to add to the User Profile of those staff members who are to be given access to this area. 1. Click Clear. 2. Enter a name for this Group. 3. Double click the Securable Item you are adding to this Group. 4. The Item can be viewed. 5. Click the save Icon on the top toolbar. 6. This Group can now be added to any User Profile. Created in version 2009.4 3/9

Path: Utilities Backup In Backup you can Select files Individually, by Module or All PCSchool data files. 1. Filter; By Module; this will backup the necessary data from the Module you are in only. All Files; this will give access to All Files except security. 2. Optional; Click Select All to backup all available files depending upon your Filter option. 3. A tick will be seen al all selected files these can be manually removed or added. 4. Click Backup Data to start the process. Once the Data has been backed up you must save the file. 1. The default destination is PCSchool/ Backup on your local drive, this can be changed. 2. A unique name is created using the date and time of the Backup. 3. Click Create Backup to finish the process. Continue this process with each Workarea. Created in version 2009.4 4/9

SQL Server Backup You need identify the database each PCSchool Workarea is related to, this is done through PCSchool. Identify the Workarea Path: Scholastic Utilities Work Area Maintenance You will need to check each Workarea to make sure it is SQL and to make a note of the Database Name, this is the name you will look for in the SQL Server. 1. Check the Database Type is SQL. 2. Make a note of the Database Name for the Work Area you are in. Management Studio Log into the Management Studio using the login credentials you used to create the Database. Created in version 2009.4 5/9

Right click on a Database, select Tasks then Backup. General This will load up the Backup database selection interface. Normally you can either; Use a single backup file name for each database, this will overwrite the previous Backup Select a different file name for each Backup time (with respect to the date time). To select a new file click Remove then click add to select a new folder or file name. Created in version 2009.4 6/9

Options Once it s done, click Options to load the options screen and always try to select; Overwrite all existing backup sets and Verify backup when finished. This will start the Database Backup. Further information relating to possible options in the SQL Server management studio backup process can be found in the url: http://msdn.microsoft.com/en-us/library/ms187510.aspx In order to the scheduling of the backup, you can follow: http://cherupally.blogspot.com/2009/04/schedule-daily-backup-for-sql-server_27.html Created in version 2009.4 7/9

Housekeeping Truncating the database is needed in order to reduce the size of the log file. Whenever there is a database operation happening to the database, the SQL Server puts some information into the log file. It s a good practice to truncate the log file once in a while so that the size of the backup is as small as possible Login to SQL Server management studio with a db administrator privileged user s rights. Go to the New Query tab. Created in version 2009.4 8/9

Enter the SQL Syntax for 2005 as follows: USE PCSCHOOL; BACKUP LOG PCSCHOOL WITH TRUNCATE_ONLY DBCC SHRINKFILE ('PCSCHOOL_log') The SQL Syntax for 2008 as follows: USE PCSCHOOL; BACKUP LOG PCSCHOOL TO DISK= NUL DBCC SHRINKFILE ('PCSCHOOL_log') Once you have entered the SQL Syntax click the Execute button. Syntax The Use PCSchool statement is used to tell the management studio we are going to use a specific database; PCSchool is the named database to truncate in this example. With the second line of code we have to mention the database whose log file we need to truncate; Normally the log file name for each database would be similar to; database name _log. Because our database name is PCSchool, the log file should be PCSchool_log. Run this once. Created in version 2009.4 9/9