Backup, Transfer, and Restore Guide. Introduction



Similar documents
Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Installing LearningBay Enterprise Part 2

Setting up a database for multi-user access

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

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

Reconfiguring VMware vsphere Update Manager

Installing Cobra 4.7

Setting up your new Live Server Account

WhatsUp Gold v16.3 Installation and Configuration Guide

Allworx OfficeSafe Operations Guide Release 6.0

Using Remote Web Workplace Version 1.01

FileMaker Server 14. FileMaker Server Help

ReportBy ODBC Connection setup

TM Online Storage: StorageSync

CONTACTS SYNCHRONIZER FOR IPAD USER GUIDE

Installing SQL Express. For CribMaster 9.2 and Later

Windows 7 Hula POS Server Installation Guide

Archive Server for MDaemon disaster recovery & database migration

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

Beckhoff TwinCAT. Creating Boot Projects for TwinCAT

BarTender Version Upgrades. Best practices for updating your BarTender installation WHITE PAPER

Adding Outlook to a Blackberry, Downloading, Installing and Configuring Blackberry Desktop Manager

Archive Server for MDaemon disaster recovery & database migration

airbackup installation and AdmiCash backup

Install SQL Server 2014 Express Edition

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Changing Your Cameleon Server IP

Moving the TRITON Reporting Databases

Quick Instructions Installing on a VPS (Virtual Private Server)

Figure 1: Restore Tab

Immotec Systems, Inc. SQL Server 2005 Installation Document

Application Note 8: TrendView Recorders DCOM Settings and Firewall Plus DCOM Settings for Trendview Historian Server

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

Transferring AIS to a different computer

Cloud Attached Storage

Use QNAP NAS for Backup

SlimDrivers User Manual

ACS Backup and Restore

Restoring Sage Data Sage 200

Reconfiguration of VMware vcenter Update Manager

ONLINE BACKUP MANAGER MS EXCHANGE MAIL LEVEL BACKUP

RDS Online Backup Suite v5.1 Brick-Level Exchange Backup

SuperOffice AS. CRM Online. Installing the Citrix Online Web plug-in

Rentavault Online Backup. MS Exchange Mail Level Backup

Upgrade of Business Systems Data Warehouse Reporting

CS WinOMS Practice Management Software Server Migration Help Guide

USER GUIDE CLOUDME FOR WD SENTINEL

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

Database Operations (Backup/Restore/Move/Manage) Technical Support Engineering Rosslare Security NA For more information please see

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

Bullet Proof: A Guide to Tableau Server Security

Flexible Identity. LDAP Synchronization Agent guide. Bronze. version 1.2

How to move to your account with MAC Mail

SQL Server Setup Guide for BusinessObjects Planning

HP Device Manager 4.6

Databoks Remote Backup. MS Exchange Mail Level Backup

Database Backup and Recovery Guide

Migrating helpdesk to a new server

Backup/Restore Utility (Version 2.1)

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Use of Commercial Backup Software with Juris (Juris 2.x w/msde)

Mac OS X: INSTALLING TUNNELBLICK

If you are planning to work from home or your laptop, there are several things you need to have access to:

Solcon Online Backup. MS Exchange Mail Level Backup

To add Citrix XenApp Client Setup for home PC/Office using the 32bit Windows client.

Setting up Remote Desktop

Migrating MSDE to Microsoft SQL 2005 Express SP4

SQL EXPRESS INSTALLATION...

Magaya Software Installation Guide

FileMaker Server 12. FileMaker Server Help

Portal Instructions for Mac

IIS, FTP Server and Windows

TWO WAYS TO SCHEDULE A SCOPIA VIDEO CONFERENCE BASED MEETING. 1- SCOPIA USER PORTAL 2- OUTLOOK SCOPIA MEETING PLUG-IN

USER GUIDE CLOUDME FOR WD SENTINEL

Please note that after installation, you can configure the backup, but no backup files will be created until the Server / PC has been restarted.

WhatsUp Gold v16.1 Installation and Configuration Guide

Swiss Safe Storage Online Backup MS Exchange Mail Level Backup

JMC Next Generation Web-based Server Install and Setup

Initial Setup. How To Run A Mac Server:

1. Open the Account Settings window by clicking on Account Settings from the Entourage menu.

Database Migration and Management Guide v15.0

Back Up and Restore. Section 11. Introduction. Backup Procedures

FileMaker Server 11. FileMaker Server Help

WhatsUp Gold v16.0 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2005 Express

Website Pros Templates v1.0. Database Template Overview

FileMaker Server 13. FileMaker Server Help

Using ELM Reports in WhatsUp Gold. This guide provides information about configuring ELM reports in WhatsUp Gold v15.0

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

Version 4.61 or Later. Copyright 2013 Interactive Financial Solutions, Inc. All Rights Reserved. ProviderPro Network Administration Guide.

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

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

CONSOLEWORKS WINDOWS EVENT FORWARDER START-UP GUIDE

WhatsUp Gold v16.2 Installation and Configuration Guide

Faith Lutheran College, Redlands. Install and Setup Office 365

CREDENTIAL MANAGER IN WINDOWS 7

NAS 253 Introduction to Backup Plan

Ahsay Online Backup Suite v5.1. Brick-Level Exchange Backup

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

Dream Report Version 4.5

Transcription:

Backup, Transfer, and Restore Guide Introduction Comprehensive backups and the ability to effectively restore them are crucial to minimizing downtime when a computer disaster occurs. Additionally, when developing a new project in FactoryPMI/SQL, it is common for users to perform the bulk of the work on a development computer, and then transfer the project to the production machine at startup or when the project is nearly complete. The process of backing up, transferring, and restoring a FactorySQL/PMI system can seem complex given the number of elements involved (usually 4: FactoryPMI, FactorySQL, the OPC server, and the database). Therefore we have written this document as a guide to the overall procedure. Due to variances in the third party software used by customers (the OPC server and database), we cannot provide specific instructions for those products, though we have attempted to provide as detailed an overview as possible. Overview A standard project consists of the 4 components outlined above: FactoryPMI, FactorySQL, the OPC Server, and the Database. Which components are critical to backup/transfer will depend on the project configuration and the third-party software used, but it is almost always necessary to transfer data from all 4 components. Roughly the procedure is as simple as backing up each component's configuration, installing the software on the new machine, and restoring from the backup. Finally, you'll have to ensure that each component is licensed and activated. With Inductive Automation's software, and virtually all third party components, there is no difference in the project files between activated and unactivated software. Therefore, a system backup made with an unactivated FactorySQL may be restored to an activated copy, and vice-versa. FactoryPMI Backup In FactoryPMI, a system backup is created from the gateway configuration portal. From the gateway homepage, click on Configuration. After logging in, select Backup/Restore from the side menu under System.

After selecting Download Server Backup, you'll end up with a *.fpgb file that contains the following data: Defined Projects, including all windows All gateway settings All images added through the designer All plugins and custom palettes. The backup file will not contain the following: Defined SQLTags these are in the database. FactorySQL groups these are only in FactorySQL. Restore Restoring is essentially the opposite of backing up, under the same Backup/Restore section of the gateway configuration portal, simply select the restore tab. Select the correct file, and click Restore Notes After restoring, especially to a different machine, it is important to check that datasource configurations are still valid and can connect to the databases, and that the authentication systems are also working (particularly if using datasource or active desktop authentication). FactorySQL Backup FactorySQL provides 2 different backup options under its Backup/Restore menu (found in the Frontend under File): Project backup and System backup. The difference is that Project backup includes only the group files, whereas the system backup includes all settings, data connections, etc. In general, it is advisable to always perform system backups. To perform a system backup, simply select the option from the menu, and choose the location at which to store the backup file (*.fdb).

Restore To restore, simply choose the Restore System option from the File>Backup/Restore menu. Then, select the correct file, and hit OK. The frontend should be connected to the service before performing this step. Notes 1) To perform a backup and restore, the frontend should be connected to the service. When you are connected to a service, the frontend will say so in the upper right corner of the application: 2) The system backup is actually simply copying the system_database.fdb file located in the program's install directory. It is perfectly OK to copy this file manually in Windows in order to backup the system. It is not OK, however, to simply copy the file back into the folder in order to restore. To restore in this manner, you must first stop the FactorySQL service. Then, after copying the file into the directory and renaming it system_database (replacing the old one), you may restart the service. Activation & Transferring FactorySQL/PMI Licenses As mentioned previously, it is the applications themselves, not the project files, that are activated. Therefore, transferring licenses is only necessary when you want to move from a previously activated system. Both products have the ability to Unactivate, either over the internet or by telephone. After unactivating, you will now have another activation available to use. To transfer a license, you simply need to unactivate on the first machine, and activate on the second.

If you're using a hardware based license key this does not apply, and you only need to move the key from the first to second machine. OPC Server The procedure for backing up and restoring the OPC server will vary significantly based on which server you are using. Consult your OPC server's documentation for more information. As long as the server is restored with the same device names, topics, etc. FactorySQL should not have problems connecting to the tags. Remember, however, that often times transferring between machines will result in different network configurations, which in turn could cause a simple restore to fail, as the configured IP addresses would no longer be valid. Therefore, you'll want to verify that the target PC is able to communicate with all configured devices. Database Inductive Automation software can work with a wide variety of database servers. Therefore, as with the OPC server, the procedures for backing up and restoring can vary greatly. The documentation for your database system should be very clear on how to backup and restore. Here are some general tips that apply for most databases: 1) Schema vs. Data: It's not always necessary to store all of the data in a table, when all you need to get back up and running is the table structure. For example, the data contained in most history tables isn't crucial for the operation of the system. Therefore, it can be more efficient to backup only the table schemas (structure) in these cases, and leave the data out. Of course, it would be wise to periodically back up the data as well, as part of a separate backup scheme, because while not crucial, it is usually important data. Most database backup routines will allow you to choose which tables include data, and which include only the schema. 2) Database Name: Most of the time database backups do not include the actual name of the database, or if they do, allow it to be changed on restore. This can cause problems with FactorySQL & FactoryPMI data connections, which store the name. It is therefore important to make note of the name (perhaps naming the backup file according to it) and to then be careful to restore it to the same name. When restoring, you may have to manually create a database with that name, and then specify it as the target of the restore. 3) Permissions: User names and passwords are often stored in an different schema in the database. Care should be taken in how these are backed up and restored. If not restored properly, configured data connections in FactorySQL and FactoryPMI will not be able to connect. 4) DSN connections: If FactorySQL or FactoryPMI use data connections based on ODBC DSNs, you will need to backup the DSNs separately, as they will not be included in any of the backup files. Example with MySQL MySQL has various facilities for backing up and restoring. The easiest option is to use the MySQL Administrator tool. On the left hand side of the tool, there are tabs for Backup and Restore. The following image illustrates the procedure for a quick backup:

1) Click the Backup tab. 2) Create a New Project 3) Select which databases you'd like to backup. 4) Add the selected databases to the Backup Content pane. 5) Execute the backup. From here you can go on to schedule the backup, or play around with the more advanced options available. Restoring is similar:

1) Select Restore 2) Open the appropriate backup file. 3) Make sure it's writing to the original schema- unless you know for a fact that it should go to a different one. 4) Start restore. After following these procedures and verifying that the necessary user names are present and have the correct permissions, everything should be back up and running correctly. Conclusion The process of transferring a system or backing up/recovering for disaster purposes is not necessarily difficult, but can be complicated by the number of components involved. An organized game plan including this document and any other relevant information (name and locations of backups, etc.) can make recovery much easier. It is also a good idea to perform a dry run from time to time in order to stay familiar with the procedures and to verify that all required components are accounted for.