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



Similar documents
How to Backup and FTP your SQL database using E2.

Restoring Sage Data Sage 200

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

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

InformationNOW SQL 2008 Database Backup and Restoration

SQL Server 2005 Advanced settings

Technical Bulletin. SQL Express Backup Utility

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

Video Administration Backup and Restore Procedures

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Installing LearningBay Enterprise Part 2

Installation Guide v3.0

Moving the Web Security Log Database

Moving the TRITON Reporting Databases

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

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

InformationNOW SQL 2005 Database Backup and Restoration

BSDI Advanced Fitness & Wellness Software

Notes Transfer instructions INTRODUCTION More information

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

Microsoft SQLServer Restore / Redirected Restore Procedure

SQLBackupAndFTP User Instructions (Rev 0.3) 9/14/10

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Automated backup. of the LumaSoft Gas database

Working with SQL Server Integration Services

NDSR Utilities. Creating Backup Files. Chapter 9

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

Basic SQL Server operations

MS SQL 2000 Server with CDR DICOM 3.5 and Recommended WAN Configuration

MS SQL Server Database Management

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

How To Backup A Database In Navision

Table of Contents. RFMS SQL Backup

Migrating TimeForce To A New Server

SSL VPN Setup for Windows

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

Installing and Configuring Login PI

This article Includes:

Snow Inventory. Installing and Evaluating

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

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

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

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

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

Connecting to Manage Your MS SQL Database

Laptop Backup - User Guide (Windows)

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

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Linko Software Express Edition Typical Installation Guide

Moving a database from MS Access to MS SQL server. Introduction. Selecting the database. Creating a Data Source

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Crystal Reports Setup

Setting Up ALERE with Client/Server Data

System Administration and Log Management

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

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

Virtual Dashboard for VMware and Hyper-V

A Tutorial on SQL Server CMPT 354 Fall 2007

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Installing SQL Express. For CribMaster 9.2 and Later

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

Using SSH Secure Shell Client for FTP

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

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Steltronic Focus - Restore the Focus Databases

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

Migrating MSDE to Microsoft SQL 2008 R2 Express

Utilities ComCash

Backing Up CNG SAFE Version 6.0

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

Managing Online and Offline Archives in Outlook

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

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

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

AuditWizard v8. SQL Maintenance

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

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Upgrade Guide BES12. Version 12.1

Moving a Romexis Database to an Existing SQL Instance

IS466 Decision Support Systems. SQL Server Business Intelligence Development Studio 2008 User Guide

Upgrading MySQL from 32-bit to 64-bit

Archive Server for MDaemon disaster recovery & database migration

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

System Protection for Hyper-V User Guide

User Guide. Please visit the Helpdesk website for more information:

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

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

Using SSH Secure File Transfer to Upload Files to Banner

Figure 1: Restore Tab

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

How To Export Data From Exchange To A Mailbox On A Pc Or Macintosh (For Free) With A Gpl Or Ipa (For A Free) Or Ipo (For Cheap) With An Outlook 2003 Or Outlook 2007 (For An Ub

3 Setting up Databases on a Microsoft SQL 7.0 Server

When you publish data to a SharePoint site, you first

BACKUP & RESTORE (FILE SYSTEM)

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

If you have problems or questions, please call the helpdesk at Before beginning, CLOSE ALL DOCUMENTS AND PROGRAMS.

Moving/Restoring the StarShip SQL database

BackupAssist Restore Console

Transcription:

How to Copy A SQL Database SQL Server Express (Making a History Company) These instructions are written for use with SQL Server Express. Check with your Network Administrator if you are not sure if you are using the Express version of SQL Server. Shoptech Industrial Software is not responsible for data loss or corruption. Copying A SQL Database 1. Open SQL Server Management Studio Express, and on the Connect to Server window enter the correct login and password information, then click the Connect button. 2. Browse to Databases in the Object Explorer pane and locate the database you want to copy. 3. Right click your database. 4. Select Tasks. 5. Select Back Up.

6. Make sure that the Backup Type is set to Full. 7. Check the Destination field to verify the path where the backup will be saved. 8. If this field is blank or incorrect, click the Add button. You can remove the entry in the field by clicking the Remove button. You may want to do this if you do not want to overwrite a previous backup file. 9. If you select the Add button, you will be prompted to select a backup destination. 10. Use the Browse button to select a new path for the backup file including the filename. 11. Select the path and enter the filename that you want the backup to create including the file extension. (The standard backup convention is filename.bak) Make a note of this path and filename as you will need to know them later. 12. Click OK twice to get back to the main Backup Database window.

13. If you decided to use an existing backup filename then you may want to have the backup overwrite the old backup. On the Backup Database window click Options. On this window you can tell the backup to Overwrite all existing backup sets. If you are creating a new backup file then skip this step. 14. Back on the General Page, the backup can be scheduled here, but we want to do the backup now, click OK. 15. You will get the above message when the backup is complete. Click OK. 16. Next we need to restore the backup to a new (or copy) database. Right click Databases. 17. Select Restore Database.

18. In the To database field enter the name you want to call the copy of your database. For history companies we recommend CompanyName_Year. 19. Select From device, and then click the button. 20. Click the Add button. Then browse to the backup file you just made. Click OK twice. 21. Back on the General page, check the checkbox next to the backup you are about to restore. 22. In the Select a page pane, click Options. 23. Since we cannot have the same filename twice in a folder, edit the path in the Restore As column. You can use the same folder names, but change the file names that you will restore to. For example SAMPLE70_Data.MDF to SAMPLE70_2005_Data.MDF. Be sure to edit both the Data and the Log file fields. Also make sure that the Recovery State is set to Leave the database ready to use by rolling back uncommitted transactions. Additional transaction logs cannot be restored. (RESTORE WITH RECOVERY). Click OK.

24. When the restore is complete, click OK. Setting the Company Name 1. In the Microsoft SQL Server Management Studio Express, highlight your newly copied database. Then click the New Query button. 2. Type the following text: update company set companycode = X where X is equal to the name of the database you just created or exported into. The company code should be 12 characters or less. 3. Click the button in the tool bar to run the command. 4. Close the Microsoft SQL Server Management Studio. Answer No to any prompts about saving the query you just ran. Add It to Your List of Companies 1. Open the E2 Shop System. Go to File System Maintenance User Maintenance. Select the user you want to add the new SQL database to and click edit. 2. In the lower left corner, select SQL Server as the Database Type and click Browse For DB.

3. In the Data Link Properties window, select Microsoft OLE DB Provider for SQL Server and click NEXT. On the Connection tab, select the Server name, specify a valid authentication method and select the database on the server. Note that if you specify a username and password check the box for Allow Saving Password. Click OK. 4. The database is now added to the list. You can log into the newly copied database through E2.