Backup/Restore MySQL Server



Similar documents
DOCUMENTATION MySQL BACKUP & RESTORE OPERATIONS

Table of Content. Official website:

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

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

Backup/Restore Individual Brick Level Backup for Microsoft Exchange Server

Table of Content. Official website:

Backup/Restore Microsoft Exchange Server

DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS

Table of Content. Official website:

DigiVault Online Backup Manager. Microsoft Exchange Backup/Restore Guide

1 Backup/Restore Oracle 8i/9i

DigiVault Online Backup Manager. User Guide

Restoring Files. Table of Content. No-Backup. Official website: Restoring Files

DOCUMENTATION SYSTEM STATE BACKUP & RESTORE OPERATIONS

1 Using DATABOKS Online Backup Manager

Backup/Restore Oracle 8i/9i/10g

DOCUMENTATION LOTUS NOTES BACKUP & RESTORE OPERATIONS

13.1 Backup virtual machines running on VMware ESXi / ESX Server

DOCUMENTATION SHADOWPROTECT - MICROSOFT WINDOWS SYSTEM BACKUP AND RESTORE OPERATIONS

Backup/Restore System with Microsoft Windows System Backup

Table of Contents. Online backup Manager User s Guide

DOCUMENTATION MICROSOFT EXCHANGE BACKUP & RESTORE OPERATIONS

Eurobackup PRO: Configuration Best Practices

Installation Guidelines (MySQL database & Archivists Toolkit client)

Setting Up Specify to use a Shared Workstation as a Database Server

DATABOKS Offsite Backup Server v4.4. User s Guide

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

DOCUMENTATION MICROSOFT WINDOWS SYSTEM BACKUP AND RESTORE OPERATIONS

Eurobackup PRO Exchange Databases Backup Best Practices

DOCUMENTATION FILE BACKUP

1.3 How to backup system with Microsoft Windows System Backup

Automatic Setup... 1 Manual Setup... 2 Installing the Wireless Certificates... 18

Livezilla How to Install on Shared Hosting By: Jon Manning

Capture Pro Software FTP Server System Output

Databoks Offsite Backup Server v4.6. User s Guide

QUANTIFY INSTALLATION GUIDE

Ahsay Offsite Backup Server v4.6. User s Guide

Quick Start Guide. Hosting Your Domain

Adept Backup Solution - Configure Database MySQL Backup Schedule How to configure a MySQL Database Backup. Overview.

Configuration Guide. Remote Backups How-To Guide. Overview

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

TORNADO ONLINE BACKUP ADMINISTRATOR S GUIDE

SecureVault Online Backup Service. Quick Start Guide

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Arkay Remote Data Backup Client Quick Start Guide

Using the ECM VPN with Windows 7

The Web Pro Miami, Inc. 615 Santander Ave, Unit C Coral Gables, FL T: info@thewebpro.com

Easy Setup Guide 1&1 CLOUD SERVER. Creating Backups. for Linux

HOW TO SETUP SITE-TO-SITE REPLICATION

Configuring Outlook 2013 For IMAP Connections

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

SecureVault Online Backup Service FAQ

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

IBackup Drive User Guide

1. Set Daylight Savings Time Create Migrator Account Assign Migrator Account to Administrator group... 4

Backup and Restore MySQL Databases

ilaw Installation Procedure

StoreGrid Backup Server With MySQL As Backend Database:

Nordic Backup v5.2. User s Guide

ShadowControl ShadowStream

Setting Up Backup Sets

SmartSync Monitor Help

Hyperoo 2.0 A (Very) Quick Start

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

ECA IIS Instructions. January 2005

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

Global Image Management System For epad-vision. User Manual Version 1.10

DataTrust Secure Offsite Backup. User Guide. Version

Upgrading MySQL from 32-bit to 64-bit

Contents. Welcome to the Priority Zoom System Version 17 for Windows. This document contains instructions for installing the system.

VERSION 9.02 INSTALLATION GUIDE.

TEO Offsite Backup Server v5.2 TEO Server Backup (AKS) User s Guide

Installation manual SAP Business Objects Data Services XI 3.2 on a Microsoft Windows 7-64-bit machine

NAS 253 Introduction to Backup Plan

with the ArchiveSync Add-On Evaluator s Guide 2015 Software Pursuits, Inc.

Table of Contents. Online backup Manager User s Guide

BrightStor ARCserve Backup for Linux

CENTINATED Offsite Backup Server v5.1 User s Guide

OFFSITE BACKUP SERVER (v5.1) USER GUIDE

For paid computer support call

The SyncBack Management System

Ahsay A-Click Backup. User s Guide. Ahsay Systems Co. Ltd. 2 August 2011

Windows Vista: Connecting to the wireless network at Hood College

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

JAMF Software Server Installation Guide for Linux. Version 8.6

Laptop Backup - User Guide (Windows)

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

Project management integrated into Outlook

Technology Business Solutions. Online Backup Manager INSTALLATION

1. Product Information

Windows 7 Hard Disk Recovery

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

Online Backup Client User Manual Linux

Transcription:

This chapter will describe in details how to use Software to backup your MySQL server and how you can restore your MySQL server from the database backup files. Table of Content 1. Requirements 2. Overview 3. How to backup MySQL server on Windows 4. How to backup MySQL server on Linux (command line mode) 5. How to restore MySQL server Official website: www..eu 1

1 This chapter will describe in details how to use Software to backup your MySQL server and how you can restore your MySQL server from the database backup files. 1.1 Requirements i. Software must be installed onto the computer running MySQL server. Data from MySQL server will be backed up to a temporary directory before they are sent to No- Backup Online Server. Please make sure you have sufficient space on your computer to store these data when you run the backup job. There must be a MySQL account can be used to connect from localhost. Add two new MySQL accounts for Software mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' -> IDENTIFIED BY 'some_pass'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost.localdomain' -> IDENTIFIED BY 'some_pass'; mysql> FLUSH PRIVILEGES; They are superuser accounts with full privileges to do anything with a password of some_pass. 1.2 Overview Software will backup your MySQL server by taking the following steps: i. Run all Pre-Commands of this backup set iv. All database(s) (either local or external) selected are backed up to a temporary directory specified in its backup set Run all Post-Commands of this backup set Upload all backup files from the temporary directory to Online Server v. Remove temporary files from the temporary directory if [Setting] -> [Temporary Directory for storing backup files] is enabled 1.3 How to backup MySQL server on Windows Please follow the instructions below to backup your MySQL server using Software: i. Open Software Right click icon available in the system tray and choose [Open] 2

From the Menu, Choose [Backup Set] -> [New] -> [MySQL Backup Set] Create a backup set a. To start setting up backup sets, click the button to open the [Backup Setting] dialog. b. On the left panel, press the button to create a new backup set. c. On the dialog, choose [MySQL Backup] as the [Type]. d. Enter a name for your backup set e. Enter the root password, the MySQL server TCP/IP port number and the path to MySQL backup utility (mysqldump) f. Select the database(s) to be backup 3

g. Enter a temporary directory for storing the backup files before they are sent to Online Server, e.g. C:\Backup\MySQL h. Set the backup schedule for Database Backup i. Set the encryption algorithm, encryption mode and encrypting key for this backup set (Hint: For maximum security, please select AES (Advanced Encryption Standard) Algorithm, CBC (Cipher Block Chaining) mode and use an encrypting key with more than 8 characters.) Run Backup 4

a. Press the [Backup] button on the main page of Software dialog. b. Select the backup set you want to run and select [Offsite Backup Server] to start backing up your files to Online Server. If applicable, you can change the In-File Delta Type also. c. You should get something similar to the screen shot below. 1.4 How to backup MySQL server on Linux (command line mode) If you want to setup Software to backup MySQL server running on Linux using command line mode, please do the followings: i. Create a backup account on Online Server Logon to the web interface of Online Server using the backup account created in the previous step (doesn t matter if it is not from the Linux server running the MySQL server to be backed up) Create a new backup set by pressing the [Backup Set] -> [Add] button 5

iv. Select the [Backup Set] -> [Type] -> [MySQL Database Server] radio button and press the [Update] button (which can be found at the bottom of the page) v. Setup all [Backup Set] -> [Database Backup Setting] Settings MySQL Username (e.g. root) MySQL Password Host MySQL Connection TCP/IP Port Path to MySQL backup utility (mysqldump) Temporary Spooling Directory Descriptions A MySQL user account that has backup access to the databases to be backed up (e.g. root). Please refer to the [Requirements] section for details Password of the MySQL user account being used IP address / Hostname of the MySQL Server, e.g. localhost TCP/IP port used to access the MySQL Server (default: 3306) Full path to where mysqldump can be found (e.g. /usr/bin/mysqldump) A temporary directory to be used to store all MySQL database dump files before they are uploaded to the backup server Enable Delete Temp. File Whether to delete the temporary MySQL database dump files after they are uploaded to the backup server vi. Setup the [Backup Set] -> [Backup Source] setting Add an MySQL entry to the [Backup Source] if you want to backup all databases under this MySQL Server Add two entries, MySQL/database1 and MySQL/database2, to the [Backup Source] if you want to backup both database1 and database2 under this MySQL Server (Please use \ instead of / if the MySQL server to be backed up is running on Windows instead of Linux) v Setup the [Backup Set] -> [Backup Schedule] by pressing the [Add] link next the Backup Schedule sub-title v Install Software onto the Linux server running MySQL server (Please refer to the [2.1 Installation of Software] section for details. The command line mode installation instructions are available on the web interface) ix. Completed If you have started up the Software backup scheduler in the previous step, selected databases will be backed up automatically at scheduled time 1.5 How to restore MySQL server Please follow the instructions below to restore MySQL server from Online Server. i. Download the database backup files to be restored from Online Server Please refer to the [5.3 Restoring file] section for information on how to download backup files from Online Server. Restore the database named [db_name] from the database backup file [db_name.sql]: a. Connect to the MySQL server (Windows) C:\> mysql 6

(Linux) [root@server ~]# mysql b. Create the database to be restored mysql> CREATE DATABASE IF NOT EXISTS db_name c.restore the database backup file back into the MySQL server mysql> use db_name ; mysql> source db_name.sql ; If db_name.sql is not located in the current directory, please specify the full path to the db_name.sql file in the command above. iv. Repeat the same procedure for each database to be restored to the MySQL Server. Completed 7