EMS SQL Backup User's Manual
EMS SQL Backup is an effective tool for automating backups, restores and log shipping tasks on your SQL Server. It provides an intuitive interface to backup, restore, and manage your SQL Server databases. This solution allows you to monitor and track database health and performance, identify potential issues and alert set. Track the maintenance execution, quickly investigate and resolve problems.
Advertisement
Advertisement
EMS SQL Backup
User's Manual
© 1999-2015 EMS Database Management Solutions, Ltd.
EMS SQL Backup
User's Manual
© 1999-2015 EMS Database Management Solutions, Ltd.
All rights reserved.
This manual documents EMS SQL Backup.
No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the written permission of the publisher.
Products that are referred to in this document may be either trademarks and/or registered trademarks of the respective owners. The publisher and the author make no claim to these trademarks.
While every precaution has been taken in the preparation of this document, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of information contained in this document or from the use of programs and source code that may accompany it. In no event shall the publisher and the author be liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or indirectly by this document.
Use of this documentation is subject to the following terms: you may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way.
Document generated on: 15.07.2015
3 EMS SQL Backup Administration console - User manual
Table of Contents
Part I Welcome to EMS SQL Backup!
12
Part II Getting Started
Part III Servers
© 1999-2015 EMS Database Management Solutions, Ltd.
50
56
4 EMS SQL Backup Administration console - User manual
Part IV Policies
114
© 1999-2015 EMS Database Management Solutions, Ltd.
5 EMS SQL Backup Administration console - User manual
Part V Templates
158
186
190
Part VI Activities
Part VII Maintenance Actions
© 1999-2015 EMS Database Management Solutions, Ltd.
6 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
7 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
8 EMS SQL Backup Administration console - User manual
Part VIII Gears menu
378
Part IX How to...
398
© 1999-2015 EMS Database Management Solutions, Ltd.
9 EMS SQL Backup Administration console - User manual
Part X Appendix
422
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
I
1
12 EMS SQL Backup Administration console - User manual
Welcome to EMS SQL Backup!
EMS SQL Backup is a powerful tool for SQL server database administration and maintenance.
Visit our web-site for details: http://www.sqlmanager.net/
Features:
Unlimited number of maintainable databases per SQL Server instance.
Compressing backup files up to 5 times (on any server version).
Reducing backup time up to 4 times (on any server version).
Backup encryption (on any server version).
Support of Cloud Storages (FTP(SSL), SFTP(SSH), Windows network folders(CIFS),
Amazon S3, Microsoft Azure).
Easy-to use wizard organizing the log shipping process.
Ability to perform 11 types of maintenance tasks including backup, log shipping, reindexing, updating statistics, etc.
Ability to ship databases between SQL Servers by schedule.
Policy engine to quickly deploy maintenance tasks to multiple servers and to monitor their execution results.
Centralized monitoring of policies on multiple servers using the user-friendly GUI console.
A high-performance multi-threaded backup.
Working with Enterprise and BI versions of SQL Server.
A set of standard templates for sample maintenance policies of server systems.
Ability to import tasks of Management Studio for SQL Server.
Ability to remotely install server components.
Utility for converting backup files from EMS SQL Backup to SQL Server formats.
Intelligent Restore. Automatic history restore on a chosen date using available backup files.
Backing up multiple databases to a single file.
Multiple compression levels to achieve optimal balance between backup size and execution time.
E-mail notification mechanism informing of the task performance results.
Generating reports on service task results.
Exporting Service tasks history to an external file.
Unlimited number of remote and local storages for each backup.
© 1999-2015 EMS Database Management Solutions, Ltd.
13 EMS SQL Backup Administration console - User manual
1.1
What's new
Version
EMS SQL Backup 1.8
Release date
July 16, 2015
What's new in EMS SQL Backup?
1) Ability to
from network/cloud storages.
2) Now it is possible not to store
backup files locally and use only network/cloud storages
for this purpose.
3) Ability to
delete old backup files from network/cloud storages.
4) Ability to
create tail-log backup before restoring a database.
5) The 'Cut', 'Copy', 'Paste' features are added to the
.
6) Some other improvements and bugfixes.
© 1999-2015 EMS Database Management Solutions, Ltd.
14 EMS SQL Backup Administration console - User manual
1.2
System requirements
EMS SQL Backup Service
Microsoft® Windows 2000, Microsoft® Windows 2000 Server, Microsoft® Windows XP,
Microsoft® Windows 2003 Server, Microsoft® Windows 2008 Server, Microsoft®
Windows Vista, Microsoft® Windows 7, Microsoft® Windows 8;
SQL Server 2000, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server
2014
.Net Framework 3.5;
1024 MB RAM or more;
70MB of available HD space for program installation.
EMS SQL Backup Administration Console
Microsoft Windows 2000, Microsoft Windows 2000 Server, Microsoft Windows XP,
Microsoft Windows 2003 Server, Microsoft Windows 2008 Server, Microsoft Windows
Vista, Microsoft Windows 7, Microsoft® Windows 8;
.Net Framework 3.5;
512 MB RAM or more;
120MB of available HD space for program installation;
Super VGA (800x600) or higher-resolution video adapter and monitor; Super VGA
(1024x768) or higher-resolution video adapter and monitor recommended;
Microsoft Mouse or compatible pointing device.
© 1999-2015 EMS Database Management Solutions, Ltd.
15 EMS SQL Backup Administration console - User manual
1.3
Installation
If you are installing EMS SQL Backup for the first time on your PC: download the EMS SQL Backup installation package from the download page available at our site; unzip the downloaded file to any local directory, e.g. C :\unzippe d; run SQ LBa c kupSe t up-1.x.x.xxxx.m si from the local directory and follow the instructions of the installation wizard.
There are two modes of the EMS SQL Backup Console installation: T y pic a l и C ust o m.
If you choose the C ust o m mode then you will be able to define the destination program folder and specify if the help-file should be copied there or not.
After the installation process is completed, find the EMS SQL Backup shortcut in the corresponding group of Windows Start menu.
If you want to upgrade an installed copy of EMS SQL Backup to the latest version: download the full installation package of EMS SQL Backup from the download page available at our site; close EMS SQL Backup application if it is running; repeat the steps you have made for the first-time installation; run EMS SQL Backup using its shortcut in the corresponding group of Windows Start menu.
Note:
There is an installation mode that allows installing server components on local servers without installing EMS SQL Backup Console.
This mode should be used when a remote installation of server components from EMS SQL
Backup Console is impossible due to some reasons but at the same time the installation package can be copied to a server and run there.
To run the server-side components installation using the
Se r v e r -side o nly on the third step of the installation wizard.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
16 EMS SQL Backup Administration console - User manual
1.4
Purchasing
To make it easier for you to purchase our products, we have contracted with share-it!
registration service. The share-it! order process is protected via a secure connection and makes on-line ordering by credit/debit card quick and safe. The following information about share-it! is provided for your convenience.
Share-it! is a global e-commerce provider for software and shareware sales via the
Internet. Share-it! accepts payments in US Dollars, Euros, Pounds Sterling, Japanese Yen,
Australian Dollars, Canadian Dollars or Swiss Franks by Credit Card (Visa, MasterCard/
EuroCard, American Express, Diners Club), Bank/Wire Transfer, Check or Cash.
If you have ordered EMS software online and would like to review your order information, or if you have questions about ordering, payments, or shipping procedures, please visit our Customer Care Center , provided by share-it!
Please note that all of our products are delivered via ESD (Electronic Software Delivery) only. After purchase you will be able to immediately download the registration keys or passwords and download links for archives of full versions. Also you will receive a copy of registration keys or passwords by e-mail. Please make sure to enter a valid e-mail address in your order. If you have not received the keys within 2 hours, please, contact us at [email protected]
.
Note:
You need to purchase license for every SQL server instance and not for the EMS
SQL Backup Console.
Product distribution
EMS SQL Backup (Business Regular license) + 1-Year Maintenance*
EMS SQL Backup (Business Regular license) + 2-Year Maintenance*
EMS SQL Backup (Business Regular license) + 3-Year Maintenance*
EMS SQL Backup (Business Pro license) + 1-Year Maintenance*
EMS SQL Backup (Business Pro license) + 2-Year Maintenance*
EMS SQL Backup (Business Pro license) + 3-Year Maintenance*
EMS SQL Backup (Non-commercial Regular license) + 1-Year Maintenance*
EMS SQL Backup (Non-commercial Regular license) + 2-Year Maintenance*
EMS SQL Backup (Non-commercial Regular license) + 3-Year Maintenance*
EMS SQL Backup (Non-commercial Pro license) + 1-Year Maintenance*
EMS SQL Backup (Non-commercial Pro license) + 2-Year Maintenance*
EMS SQL Backup (Non-commercial Pro license) + 3-Year Maintenance*
EMS SQL Backup (Trial/Free version)
Register Now!
Download
Now!
*EMS Maintenance Program provides the following benefits:
Free software bug fixes, enhancements, updates and upgrades during the maintenance period
Free unlimited communications with technical staff for the purpose of reporting
Software failures
Free reasonable number of communications for the purpose of consultation on operational aspects of the software
© 1999-2015 EMS Database Management Solutions, Ltd.
17 EMS SQL Backup Administration console - User manual
After your maintenance expires you will not be able to update your software or get technical support. To protect your investments and have your software up-to-date, you need to renew your maintenance.
You can easily reinitiate/renew your maintenance with our on-line, speed-through
Maintenance Reinstatement/Renewal Interface. After reinitiating/renewal you will receive a confirmation e-mail with all the necessary information.
See also:
How to register EMS SQL Backup
© 1999-2015 EMS Database Management Solutions, Ltd.
18 EMS SQL Backup Administration console - User manual
1.5
How to register SQL Backup
The EMS SQL Backup registration is not equal to immediate registration of the EMS SQL
Backup Console. Registering EMS SQL Backup means purchasing and further activation of a received License Key for every instance you want to work with.
Note that for working with Enterprise and BI versions of SQL Server you need to activate the EMS SQL Backup PRO license.
Having installed the client- and server–side parts of EMS SQL Backup, you need to activate the server-side part of EMS SQL Backup.
To get an activation code, please do the following:
1. Run EMS SQL Backup.
2. Connect to SQL Server.
3. Right-click this server in the server list and select "Activate license".
4. Follow the steps in the
To remove a license from an instance use the
Deactivate License Wizard . After that you
will be able to activate this license key on another SQL Server instance.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
19 EMS SQL Backup Administration console - User manual
1.5.1
License activation
To start working with your servers you need to activate EMS SQL Backup License for each instance.
It is assumed that you have already purchased a product license and that you have the license information available. If you cannot find license information, please visit your
Member Account https://secure.sqlmanager.net/member/subscribe .
The activation operation is performed by means of the
To activate your newly purchased license, perform the following steps:
1. select the Activate license item of the
;
2. select the preferable license activation method and complete the set of wizard steps;
3. make sure that the activation process has been completed successfully – check the license information in the
overall status window and license must become
Ac t iv e in the
Members Area.
Steps:
Selecting license activation method
Entering license activation code
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
20 EMS SQL Backup Administration console - User manual
1.5.1.1
Selecting license activation method
Use this step to set license activation method.
Activate EMS SQL Backup License online
Use this option if you have Internet connection. Product license will be activated automatically within a few seconds.
Note:
If you already have a license activated on your instance it will be deactivated on entering the new license key.
Activate EMS SQL Backup License through our website
This option allows you to activate product license using license information from your
Member Account on our web-site.
Note that this option is disabled when you already have a license activated on your instance.
Renew maintenance manually
Using this option you can prolong maintenance period if you already have a valid activation code.
Note:
The Free license can be activated using the online activation only.
Next step in case of online activation.
© 1999-2015 EMS Database Management Solutions, Ltd.
21 EMS SQL Backup Administration console - User manual
Next step in case of website activation.
Next step in case of manual activation.
© 1999-2015 EMS Database Management Solutions, Ltd.
22 EMS SQL Backup Administration console - User manual
1.5.1.2
Entering license key
This step appears if you have chosen online activation on the
SQL Server Instance ID
In this field you can see the registrable instance ID that was generated automatically.
Activate license key
Enter manually or paste your license key here.
The license key can be copied from the Members Area or from the e-mail that is received after license purchasing.
Activate Free license
Select this option to activate the SQ L Ba c kup F r e e lic e nse.
You can view the list of all functional differences between EMS SQL Backup versions in the Feature Matrix.
Next step in case of online activation.
© 1999-2015 EMS Database Management Solutions, Ltd.
23 EMS SQL Backup Administration console - User manual
1.5.1.3
Web-site activation
This step appears only in case the Activate EMS SQL Backup License through our
website option was selected on the
To perform license activation via web-site follow these steps:
1. Register in the Members Area at https://secure.sqlmanager.net/login .
2. Open My Registered Products section.
3. Expand key list for desired product.
4. Choose Activate License action.
5. Enter automatically generated SQL Server instance ID into a web form and generate the activation code.
6. Copy the generated activation code to Clipboard.
7. Click the Next button at this Wizard step and paste the activation code into the
License Activation Code field at the
8. Click the Finish button to complete EMS SQL Backup license process.
© 1999-2015 EMS Database Management Solutions, Ltd.
24 EMS SQL Backup Administration console - User manual
1.5.1.4
Entering license activation code
Here you are to enter the license activation code that you have or that you have copied from the website.
© 1999-2015 EMS Database Management Solutions, Ltd.
25 EMS SQL Backup Administration console - User manual
1.5.1.5
Performing online activation
This step appears only in case the Activate EMS SQL Backup License online option was selected on the
On this step the deactivation of the previous license and the activation of the new license is performed.
To configure connection parameters for performing activation see the
After the operation is complete you will be automatically redirected to the
If problems occurred on deactivating the previous license key on the EMS activation server you will be redirected to the
© 1999-2015 EMS Database Management Solutions, Ltd.
26 EMS SQL Backup Administration console - User manual
1.5.1.6
Completing operation
This step is intended to inform you about the product activation status.
Click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
27 EMS SQL Backup Administration console - User manual
1.5.2
License deactivation
Suppose, you have decided to move a license from one instance to another. In this case, at first, you need to deactivate this license key and after that activate it on another instance.
The deactivation operation is performed by means of the
Your license key will be deactivated and EMS SQL Backup Service will not work with this
SQL Server instance. After deactivation this Wizard informs EMS that this license key is deactivated and you will be able to activate it on another SQL Server instance.
To deactivate your license, perform the following steps:
1. select the Deactivate license item of the
to run the
;
2. select the preferable license deactivation method and complete the set of wizard steps;
3. make sure that the deactivation process has been completed successfully – the license information in the overall status window must disappear and license must become inactive in the Members Area.
Steps:
Performing online deactivation
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
28 EMS SQL Backup Administration console - User manual
1.5.2.1
Selecting deactivation method
Use this step to set license deactivation method.
Deactivate EMS SQL Backup License online
Use this option if you have Internet connection. Product license will be deactivated automatically within a few seconds.
Deactivate EMS SQL Backup License through our website
This option allows you to deactivate product license using license information from your
Member Account on our web-site.
To proceed to the next step of the Wizard check the I understand that License Key
will be deactivated now. On clicking the Next button the license will be deactivated locally. This means that the license for an SQL Server instance will be deactivated in the
EMS SQL Backup program but you won't be able to activate this license key on another instance.
Note:
To complete the deactivation process you need to finish this Wizard.
Next step in case of online deactivation.
Next step in case of website deactivation.
© 1999-2015 EMS Database Management Solutions, Ltd.
29 EMS SQL Backup Administration console - User manual
1.5.2.2
Web-site deactivation
This step appears only in case the Deactivate EMS SQL Backup License through our
website option was selected on the
To perform license deactivation via web-site follow these steps:
1. Register in the Members Area at https://secure.sqlmanager.net/login .
2. Open My Registered Products section.
3. Expand key list for desired product.
4. Choose Deactivate License action.
5. Enter into a web form the deactivation code from the box below. To copy this code to
Clipboard click the Copy button.
6. Click Deactivate button on web form.
7. Click Finish button on the
final step of the Wizard to complete EMS SQL Backup license
deactivation process.
© 1999-2015 EMS Database Management Solutions, Ltd.
30 EMS SQL Backup Administration console - User manual
1.5.2.3
Performing online deactivation
This step appears only in case the Deactivate EMS SQL Backup License online option was selected on the
.
To configure connection parameters for performing deactivation see the
After the process of online deactivation you will automatically proceed to the
the wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
31 EMS SQL Backup Administration console - User manual
1.5.2.4
Completing operation
This step is intended to inform you about the product deactivation status.
Click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
32 EMS SQL Backup Administration console - User manual
1.5.3
License Manager
License Manager allows you to view license information of all servers in EMS SQL Backup which have EMS SQL Backup server components installed. Using this tool you can quickly reactivate license keys on all instances.
To launch License Manager select the License Manager item of the
. The list contains all currently connected servers. To view license information of all servers registered in the Administration Console, click the Show All button.
License Manager includes the following registration information for every server:
Inst a nc e na m e
Lic e nse ke y (Lic e nse t y pe )
C ust o m e r na m e
M a int e na nc e e nd da t e
Before reactivating license information in the EMS SQL Backup Console you need to proceed to the Members Area and renew maintenance for this license key.
To reactivate automatically all licenses on all instances click the Reactivate All button.
License reactivation is performed online. To set connection parameters proceed to the
dialog.
To reactivate license key on a single instance click the Reactivate button located on the right side of the section with a corresponding server information.
© 1999-2015 EMS Database Management Solutions, Ltd.
33 EMS SQL Backup Administration console - User manual
If the license key was successfully reactivated you will see a message informing you about time it was reactivated. Otherwise, you will see an error message describing the occurred problem.
You can launch
License deactivation wizard for the particular
server directly from the License Manager dialog by clicking the Activate/Deactivate button correspondingly.
© 1999-2015 EMS Database Management Solutions, Ltd.
34 EMS SQL Backup Administration console - User manual
1.6
Version history
Product name
EMS SQL Backup
EMS SQL Backup
EMS SQL Backup
EMS SQL Backup
SQL Angel 1.3
SQL Angel 1.2
SQL Angel 1.1
SQL Angel 1.0
Version
Release date
February 27, 2015
November 28, 2014
July 7, 2014
February 25, 2014
November 12, 2013
June 10 , 2013
April 1, 2013
December 12, 2012
Version 1.7
1.
Free version of SQL Backup is available now. The number of maintainable databases per
SQL Server instance is restricted to two databases.
2. Added the possibility to
copy backup files from SQL Server to the machine where SQL
Backup Administration Console is running ('Get Backup To Console' wizard).
3. Added the possibility to
upload backups to Microsoft Azure storage .
4. The ability to overwrite existing backup files
in network folders (SMB/CIFS) is
implemented.
5. Now it is possible to move/rename folder for backups specifying new path in
service settings . Moved backups are handled automatically.
6. There was a restriction which prevented adding some databases in the 'Database
Shipping' wizard. Fixed now.
7. Lots of other improvements and fixes.
Version 1.6
1. Added the possibility to change the
time zone in the EMS SQL Backup Administration
Console.
2. Daylight saving time using is improved in planning policies time execution.
3. Added the possibility to set HTTP proxy for uploading backup files using
4.
License Deactivaion wizards are improved.
5. Other improvements and bug-fixes.
Version 1.5
1. The
is implemented to execute policies on servers without SQL Server
Agent, for example, SQL Server Express. The ability to use SQL Server Agent remains.
2. The
and
local installation of Server-side components is improved and simplified:
Possibility to save the settings used for remote setup.
Numerous hints, messages and validations when setting parameters.
Remote install through custom network share in case of absence of ADMIN$.
Possibility to specify the port for server instance.
3.
Database Shipping : the possibility to ship full database backup from one SQL Server
instance to another on schedule.
4. More detailed log for Tasks and Steps. Now the log contains the source data.
5. Improved support of SQL Server 2014.
6. Trial period counter worked incorrectly in some cases. Fixed now.
7. The decompression file errors for some configurations were fixed.
8. At times the shrinking of log files of EMS SQL Backup failed. Fixed now.
9. Lots of other improvements and bug-fixes.
© 1999-2015 EMS Database Management Solutions, Ltd.
35 EMS SQL Backup Administration console - User manual
Version 1.4
1. The product is renamed into EMS SQL Backup.
2.
License Manager is a very useful license key management.
3.
Server-side components updater : multiple update of server-side components.
4. To start Administration Console you do not need Administrator privileges.
5. Task scheduler errors are fixed.
6. Dates localization errors are fixed.
7. Memory leaks are fixed.
8. Other small improvements and bug-fixes.
Version 1.3
1. Support of
to upload and store backups.
Network folders , network-attached storages (NAS).
Upload using
(ImplicitSSL / ExplicitSSL),
Support of cloud storage
2. Possibility to add unlimited number of remote and local storages for each backup.
3. Support of 'Check orphaned users' option to
4. New macros for
: {backup_root_folder}, {server}.
5. Log efficiency and representation are improved.
6. Improved design.
Version 1.2
Added the possibility to
verify the integrity of the resulted files after the backup
process (RESTORE VERIFYONLY & CHECKSUM).
Displaying progress for long-running processes.
Monitoring the log size increase
(log size limit by date and size).
Displaying the database size.
Improved the main form design.
Other improvements and bugfixes.
Version 1.1
Added support of simultaneous backups on the same server.
Added support of
copy-only backups which do not affect the normal sequence of
backups.
Software update notifications.
Improved the process of
converting a policy to a template .
Added new features for managing
Many interface improvements.
Now server-side components have no memory leaks.
More stable connections to the server-side and Console.
The log management in the server side is improved.
The server connection failure caused a configuration record error. Fixed now.
Other improvements and bugfixes.
Version 1.0 (First public release)
Basic features:
Compressing backup files up to 5 times (on any server version).
Reducing backup time up to 4 times (on any server version).
Backup encryption (on any server version).
Easy-to use wizard organizing the log shipping process.
© 1999-2015 EMS Database Management Solutions, Ltd.
36 EMS SQL Backup Administration console - User manual
Ability to perform 8 types of service tasks including backup, log shipping, re-indexing, update statistics, etc.
Policy engine to quickly deploy maintenance tasks to multiple servers and to monitor their execution results.
Centralized monitoring of policies on multiple servers using the user-friendly GUI console.
A high-performance multi-threaded backup.
Working with Enterprise and BI versions of SQL Server.
and more...
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
37 EMS SQL Backup Administration console - User manual
1.7
EMS SQL Backup FAQ
Please read this page attentively if you have questions about EMS SQL Backup.
Table of contents
What versions of SQL Server does EMS SQL Backup support?
Must EMS SQL Backup be installed on each server which I want to work with?
How does EMS SQL Backup reduce backup size?
Does the backup compression depend on SQL Server version or edition?
How much is a backup file size reduced and what does it depend on?
Can I restore a backup file of EMS SQL Backup on SQL Server with no EMS SQL
What are the reasons for reduction of time required for backup and recovery?
Does EMS SQL Backup use undocumented features of SQL Server?
Does EMS SQL Backup support log shipping?
I have servers in different time-zones. At what time-zone will tasks be launched?
Can different types of maintenance tasks go in the same policy?
Can policy tasks have their own execution schedules?
Can EMS SQL Backup perform a single maintenance task without creating policies?
Can I execute multiple policies simultaneously on one server?
I have setup SQL Server maintenance plans. Can I use them in EMS SQL Backup?
How does EMS SQL Backup notify about a policy execution failure?
Whether the servers, EMS SQL Backup works with, must be located within one local network?
Do I need to open any additional ports or to enable protocols for working with EMS
Can I install EMS SQL Backup server components remotely?
What kind of account should be used for running EMS SQL Backup service?
Policy execution failed with the error: "The task cannot be completed. The owner (NT
AUTHORITY\SYSTEM) of SqlBackup_XXXXXXXX_Task does not have access to server". Why does it happen?
What are the differences between different versions of EMS SQL Backup?
May I not pay the program maintenance?
Question/answer list
Q: Wha t v e r sio ns o f SQ L Se r v e r do e s EM S SQ L Ba c kup suppo r t ?
A: EMS SQL Backup works with all SQL Server versions (except Compact Edition) from SQL
© 1999-2015 EMS Database Management Solutions, Ltd.
38 EMS SQL Backup Administration console - User manual
Server 2000 up to SQL Server 2014.
Q:
M ust EM S SQ L Ba c kup be inst a lle d o n e a c h se r v e r w hic h I w a nt t o w o r k w it h?
A: Yes, EMS SQL Backup server components must be installed on each instance of SQL
Server.
Q:
I ha v e 5 SQ L Se r v e r s, 2 o f w hic h ha v e t w o SQ L Se r v e r inst a nc e s r unning, ho w m a ny lic e nse s fo r EM S SQ L Ba c kup do I ne e d t o pur c ha se ?
A: Totally you have 7 instances of SQL Server, it means that you need to purchase 7 licenses for EMS SQL Backup.
Q:
Ho w do e s EM S SQ L Ba c kup r e duc e ba c kup size ?
A: This is achieved by compressing data received from the server during the backup process.
Q:
Do e s t he ba c kup c o m pr e ssio n de pe nd o n SQ L Se r v e r v e r sio n o r e dit io n?
A: EMS SQL Backup uses its own data compression function, which does not depend on a version and edition of SQL Server.
Q:
Ho w m uc h is a ba c kup file size r e duc e d a nd w ha t do e s it de pe nd o n?
A: It depends on data stored in the database and on a selected in EMS SQL Backup compression level. In case of text\numeric data when using compression a backup file size can be up to 80% less in comparison when compression is disabled. If a database mostly stores difficult to compress binary data, such as raster images in JPEG, the compression function cannot significantly reduce the backup file size.
Q:
C a n I r e st o r e a ba c kup file o f EM S SQ L Ba c kup o n SQ L Se r v e r w it h no EM S SQ L Ba c kup c o m po ne nt s inst a lle d?
A: No, you cannot. However, you can use the ConvertUtil.exe command line utility, which does not need to be installed and registered to convert backup files of EMS SQL
Backup format to a standard SQL Server format. After being converted backup can be restored using standard SQL Server tools.
Q:
Wha t a r e t he r e a so ns fo r r e duc t io n o f t im e r e quir e d fo r ba c kup a nd r e c o v e r y ?
A: The compression level selection allows you to find a compromise between the backup speed and file size. At the same time the backup time execution can be reduced up to
80% compared with a native tool due to a lower load on the disk subsystem.
Q:
Do e s EM S SQ L Ba c kup use undo c um e nt e d fe a t ur e s o f SQ L Se r v e r ?
A: EMS SQL Backup uses only documented features of SQL Server, which guarantee its correct working on all available versions of SQL Server, as well as on future version releases.
Q:
C a n EM S SQ L Ba c kup pe r fo r m a st a nda r d ba c kup, suit a ble fo r r e c o v e r y o n SQ L Se r v e r , w it ho ut using EM S SQ L Ba c kup?
A: Yes, EMS SQL Backup can do it. To do this you need to select SQL Server as a backup type in the Backup Wizard.
Q:
Do e s EM S SQ L Ba c kup suppo r t lo g shipping?
A: EMS SQL Backup performs log shipping using its compression and encryption features, which make this process faster and more secure.
Q:
I ha v e se r v e r s in diffe r e nt t im e -zo ne s. At w ha t t im e -zo ne w ill t a sks be la unc he d?
© 1999-2015 EMS Database Management Solutions, Ltd.
39 EMS SQL Backup Administration console - User manual
A: When creating a policy, you can select whether a task on servers in different timezones is launched at servers standard time or simultaneously against the console time.
This option is called "Task Scheduling in different time zones" at Step 1 of the Policy
Wizard.
Q:
Wha t is t he a dv a nt a ge o f using t he Po lic y Engine o f EM S SQ L Ba c kup c o m pa r e d t o st a nda r d m a int e na nc e pla ns o f SQ L Se r v e r ?
A: EMS SQL Backup Policy Engine provides the following features:
Using EMS SQL Backup backup functionality
Ability to deploy and monitor policies on multiple servers of different versions simultaneously
Easy-to-use policy monitoring mechanism
Ability to use templates
Q:
C a n diffe r e nt t y pe s o f m a int e na nc e t a sks go in t he sa m e po lic y ?
A: A policy can contain both multiple tasks of different types and multiple tasks of the same type.
Q:
C a n po lic y t a sks ha v e t he ir o w n e xe c ut io n sc he dule s?
A: Yes, each task can have one or more schedules.
Q:
C a n EM S SQ L Ba c kup pe r fo r m a single m a int e na nc e t a sk w it ho ut c r e a t ing po lic ie s?
A: Yes, you can perform a maintenance task using the "Quick Maintenance Actions" context menu item of the Server tree.
Q:
C a n I e xe c ut e m ult iple po lic ie s sim ult a ne o usly o n o ne se r v e r ?
A: Several policies can be deployed to a single server, their runtime can be the same and the execution time can intersect. However, 2 tasks of backup/recovery/log shipping can not be executed simultaneously on a single SQL Server instance.
Q:
I ha v e se t up SQ L Se r v e r m a int e na nc e pla ns. C a n I use t he m in EM S SQ L Ba c kup?
A: You can convert SQL Server maintenance plans into EMS SQL Backup policies using the
Maintenance Plan Conversion Wizard ("Maintenance Policies | Convert from
Maintenance Plan" context menu of the Server tree).
Q:
Ho w do e s EM S SQ L Ba c kup no t ify a bo ut a po lic y e xe c ut io n fa ilur e ?
A: EMS SQL Backup has the e-mail notification mechanism informing of the policy execution results. Also EMS SQL Backup Console displays statuses and results of policies while connecting to a server.
Q:
C a n I m o nit o r /m a na ge m y se t o f se r v e r s using t w o (t hr e e ) diffe r e nt (inst a lle d o n diffe r e nt c o m put e r s) c o nso le s?
A: Yes, you can. However, your EMS SQL Backup Console configuration must be accessible to all your computers. The configuration can be stored both in a file and in a database on any SQL Server. In this case it is recommended to store the configuration on SQL Server. To change the configuration storage location, call "Options | Save
Configuration", specify a new location and enable the "Switch to saved configuration" option to use a new location. In EMS SQL Backup Console, installed on other computers, you should switch to the new location using the "Options | Switch
Configuration" dialogue.
Q:
Whe t he r t he se r v e r s, EM S SQ L Ba c kup w o r ks w it h, m ust be lo c a t e d w it hin o ne lo c a l ne t w o r k?
© 1999-2015 EMS Database Management Solutions, Ltd.
40 EMS SQL Backup Administration console - User manual
A: Servers can be located anywhere. If you are able to connect to your servers using
SQL Server Management Studio, EMS SQL Backup is able to work with them too.
Q:
Do I ne e d t o o pe n a ny a ddit io na l po r t s o r t o e na ble pr o t o c o ls fo r w o r king w it h EM S
SQ L Ba c kup?
A: It is neither necessary to open additional ports nor enable protocols beyond those already used by your SQL Server Management Studio.
Q:
C a n I inst a ll EM S SQ L Ba c kup se r v e r c o m po ne nt s r e m o t e ly ?
A: Yes, you can install EMS SQL Backup server components remotely from EMS SQL
Backup Console. In the Server tree, select SQL Server, on which you want to install the components, and click "Install server-side EMS SQL Backup Components" in the context menu. Then follow the instructions of the wizard.
The following conditions must be met for remote installation:
Installing via SQL Server:
- You must have an account with SQL Server System Administrator Privileges, such as sa.
- SQL Server service must be run under an account with Windows Local
Administrator Privileges, such as LocalSystem.
Installing via NETBIOS:
- You must have Windows System Administrator Privileges on remote computer.
- You must have an account with SQL Server System Administrator Privileges, such as sa.
Q: I failed to install server components remotely from EMS SQL Backup Console due to insufficient privileges or errors on installation. Can I run the installation wizard on the server machine to install server components?
A: Yes, you can use the special mode for EMS SQL Backup installation program:
1. Copy the installation package (SQLBackupSetup-1.x.x.xxxx.msi) to the server machine.
2. Run the following command as Administrator: SQLBackupSetup.exe var:"ServerInstall=1"
3. Follow the steps of the installation wizard. It will automatically find all local server instances for installing server components.
Q:
Wha t kind o f a c c o unt sho uld be use d fo r r unning EM S SQ L Ba c kup se r v ic e ?
A: To run EMS SQL Backup you can use any account with the following privileges:
Access to SQL Server with Server Administrator Privileges.
Write access to a directory which is used for creating backups.
Ability of authorization on another computer on a network for read/record access to a general directory while log shipping process.
For example, a system domain user with all the mentioned above privileges can be used. If log shipping process is not planned, Local System embedded account can be used as a system user account.
Q:
Po lic y e xe c ut io n fa ile d w it h t he e r r o r : "T he t a sk c a nno t be c o m ple t e d. T he o w ne r (NT
AUT HO RIT Y \SY ST EM ) o f SqlBa c kup_X X X X X X X X _T a sk do e s no t ha v e a c c e ss t o se r v e r ".
Why do e s it ha ppe n?
A: This error occurs when SQL Server Agent receives wrong information about the user privileges set of NT AUTHORITY\SYSTEM that is the owner of the executing task. The problem can be solved in one of the following ways:
Change EMS SQL Backup service account to any other one that has all the task run privileges on the server. Recreate a policy.
Change the owner of SqlBackup_XXXXXXXX_Task to another user having the
© 1999-2015 EMS Database Management Solutions, Ltd.
41 EMS SQL Backup Administration console - User manual
permissions to run tasks.
If BUILTIN\Administrators account was removed from the server, restore it using the administrator privileges.
Q:
Wha t a r e t he diffe r e nc e s be t w e e n diffe r e nt v e r sio ns o f EM S SQ L Ba c kup?
A: You can view the list of all functional differences between EMS SQL Backup versions in the Feature Matrix.
Q:
M a y I no t pa y t he pr o gr a m m a int e na nc e ?
A: The basic price of EMS SQL Backup includes 1 Year Maintenance. Once the
Maintenance term expires, you will be able to continue using the software without any limitations; however, you won’t have access to any product updates released after your maintenance expiration date.
Q:
I ge t t he "Ac c e ss is de nie d" e r r o r o n t r y ing t o inst a ll EM S SQ L Ba c kup se r v e r -side c o m po ne nt s v ia Ne t w o r k F o lde r . Ho w c a n I fix t he pr o ble m ?
A: First of all, make sure that the specified account has local Administrator privileges on the machine where the SQL Server service is running.
If you still have this problem then one of the solutions is to disable Remote UAC on the target system. It prevents local administrative accounts from accessing ADMIN$ shared folder and running installation process. To disable Remote UAC you need to add an entry in the registry of the target computer: open the registry, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Syste m, create a DWORD value called LocalAccountTokenFilterPolicy, assign this parameter a value of 1.
If you still have any questions, contact us at our Support Center .
© 1999-2015 EMS Database Management Solutions, Ltd.
42 EMS SQL Backup Administration console - User manual
1.8
Other EMS Products
Quick navigation
MySQL
SQL Management Studio for MySQL
EMS SQL Management Studio for MySQL is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
SQL Manager for MySQL
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
Data Export for MySQL
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more.
Data Import for MySQL
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for MySQL
Migrate from most popular databases (MySQL, PostgreSQL, Oracle, DB2, InterBase/Firebird, etc.) to MySQL.
Data Generator for MySQL
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for MySQL
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for MySQL
C reate database backups in the form of SQL scripts, save your database structure and table data as a whole or partially.
SQL Query for MySQL
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for MySQL
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
© 1999-2015 EMS Database Management Solutions, Ltd.
43 EMS SQL Backup Administration console - User manual
Microsoft SQL
SQL Management Studio for SQL Server
EMS SQL Management Studio for SQL Server is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
EMS SQL Backup for SQL Server
Perform backup and restore, log shipping and many other regular maintenance tasks on the whole set of SQL Servers in your company.
SQL Administrator for SQL Server
Perform administrative tasks in the fastest, easiest and most efficient way. Manage maintenance tasks, monitor their performance schedule, frequency and the last execution result.
SQL Manager for SQL Server
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
Data Export for SQL Server
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more
Data Import for SQL Server
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for SQL Server
Migrate from most popular databases (MySQL, PostgreSQL, Oracle, DB2, InterBase/Firebird, etc.) to Microsoft® SQL Server™.
Data Generator for SQL Server
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for SQL Server
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for SQL Server
C reate database backups in the form of SQL scripts, save your database structure and table data as a whole or partially.
SQL Query for SQL Server
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for SQL Server
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
PostgreSQL
© 1999-2015 EMS Database Management Solutions, Ltd.
44 EMS SQL Backup Administration console - User manual
SQL Management Studio for PostgreSQL
EMS SQL Management Studio for PostgreSQL is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
SQL Manager for PostgreSQL
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
Data Export for PostgreSQL
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more
Data Import for PostgreSQL
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for PostgreSQL
Migrate from most popular databases (MySQL, SQL Server, Oracle, DB2, InterBase/Firebird, etc.) to PostgreSQL.
Data Generator for PostgreSQL
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for PostgreSQL
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for PostgreSQL
C reate database backups in the form of SQL scripts, save your database structure and table data as a whole or partially.
SQL Query for PostgreSQL
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for PostgreSQL
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
InterBase / Firebird
SQL Management Studio for InterBase/Firebird
EMS SQL Management Studio for InterBase and Firebird is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
SQL Manager for InterBase/Firebird
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
© 1999-2015 EMS Database Management Solutions, Ltd.
45 EMS SQL Backup Administration console - User manual
Data Export for InterBase/Firebird
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more
Data Import for InterBase/Firebird
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for InterBase/Firebird
Migrate from most popular databases (MySQL, SQL Server, Oracle, DB2, PostgreSQL, etc.) to
InterBase/Firebird.
Data Generator for InterBase/Firebird
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for InterBase/Firebird
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for InterBase/Firebird
C reate database backups in the form of SQL scripts, save your database structure and table data as a whole or partially.
SQL Query for InterBase/Firebird
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for InterBase/Firebird
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
Oracle
SQL Management Studio for Oracle
EMS SQL Management Studio for Oracle is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
SQL Manager for Oracle
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
Data Export for Oracle
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more.
Data Import for Oracle
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for Oracle
Migrate from most popular databases (MySQL, PostgreSQL, MySQL, DB2, InterBase/Firebird, etc.) to Oracle
© 1999-2015 EMS Database Management Solutions, Ltd.
46 EMS SQL Backup Administration console - User manual
Data Generator for Oracle
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for Oracle
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for Oracle
C reate database backups in the form of SQL scripts, save your database structure and table data as a whole or partially.
SQL Query for Oracle
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for Oracle
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
DB2
SQL Management Studio for DB2
EMS SQL Management Studio for DB2 is a complete solution for database administration and development. SQL Studio unites the must-have tools in one powerful and easy-to-use environment that will make you more productive than ever before!
SQL Manager for DB2
Simplify and automate your database development process, design, explore and maintain existing databases, build compound SQL query statements, manage database user rights and manipulate data in different ways.
Data Export for DB2
Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MS
Word, PDF, HTML and more.
Data Import for DB2
Import your data from MS Access, MS Excel and other popular formats to database tables via user-friendly wizard interface.
Data Pump for DB2
Migrate from most popular databases (MySQL, PostgreSQL, Oracle, MySQL, InterBase/Firebird, etc.) to DB2
Data Generator for DB2
Generate test data for database testing purposes in a simple and direct way. Wide range of data generation parameters.
DB Comparer for DB2
C ompare and synchronize the structure of your databases. Move changes on your development database to production with ease.
DB Extract for DB2
C reate database backups in the form of SQL scripts, save your database structure and table
© 1999-2015 EMS Database Management Solutions, Ltd.
47 EMS SQL Backup Administration console - User manual
data as a whole or partially.
SQL Query for DB2
Analyze and retrieve your data, build your queries visually, work with query plans, build charts based on retrieved data quickly and more.
Data Comparer for DB2
C ompare and synchronize the contents of your databases. Automate your data migrations from development to production database.
Tools & components
Advanced Data Export
Advanced Data Export C omponent Suite (for Borland Delphi and .NET) will allow you to save your data in the most popular office programs formats.
Advanced Data Export .NET
Advanced Data Export .NET is a component suite for Microsoft Visual Studio .NET 2003, 2005,
2008 and 2010 that will allow you to save your data in the most popular data formats for the future viewing, modification, printing or web publication. You can export data into MS Access,
MS Excel, MS Word (RTF), PDF, TXT, DBF, C SV and more! There will be no need to waste your time on tiresome data conversion - Advanced Data Export will do the task quickly and will give the result in the desired format.
Advanced Data Import
Advanced Data Import™ C omponent Suite for Delphi® and C ++ Builder® will allow you to import your data to the database from files in the most popular data formats.
Advanced PDF Generator
Advanced PDF Generator for Delphi gives you an opportunity to create PDF documents with your applications written on Delphi® or C ++ Builder®.
Advanced Query Builder
Advanced Query Builder is a powerful component suite for Borland® Delphi® and C ++
Builder® intended for visual building SQL statements for the SELEC T, INSERT, UPDATE and
DELETE clauses.
Advanced Excel Report
Advanced Excel Report for Delphi is a powerful band-oriented generator of template-based reports in MS Excel.
Advanced Localizer
Advanced Localizer™ is an indispensable component suite for Delphi® for adding multilingual support to your applications.
Source Rescuer
EMS Source Rescuer™ is an easy-to-use wizard application for Borland Delphi® and C +
+Builder® which can help you to restore your lost source code.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
II
2
50 EMS SQL Backup Administration console - User manual
Getting Started
EMS SQL Backup provides you with an ability to contribute to efficient SQL Server administration and development using a variety of available tools easily and quickly.
When the program is launched for the first time the
Configuration dialog is prompted,
where you need to set the destination for storing EMS SQL Backup settings.
To work with the program you need to
register the servers first and
Gr o ups are used to organize servers by some specific criteria (for example, location), whereas So lut io ns unite servers or databases to be included into one
.
Enjoy your work with EMS SQL Backup!
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
51 EMS SQL Backup Administration console - User manual
2.1
EMS SQL Backup overview
EMS SQL Backup consists of two core units: SQL Administration Console and Server-side components. SQL Administration Console is launched at the client machine, whereas
Server-side components are installed on the server where SQL Server instance is launched (locally or remotely). Server-side components include the service installed on the server machine and extended stored procedures created in 'master' database for each
SQL Server instance.
EMS SQL Backup Administration Console is the basic tool for administration of SQL Server instances and maintenance polices, maintaining status of instances and logs reviewing.
Task and policy execution process is initiated by the service running on SQL Server.
Interaction between EMS SQL Backup Administration Console and service on the server is implemented with extended stored procedures, that manages policy execution without extra connections to the server and opening of additional ports. Policy, which is the main element of EMS SQL Backup, is implemented as jobs in SQL Server and therefore its execution requires consistent work of SQL Agent.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
52 EMS SQL Backup Administration console - User manual
2.2
Policy overview
Policy in EMS SQL Backup is a set of scheduled tasks to be performed on the server(s) or database(s) each containing a number of steps.
Each Policy execution generates the
that informs you about successful or failed policy executions. After reviewing the errors you can ignore them or re-execute the task.
For quicker creating of typical maintenance policies you can use
Policy is implemented as a set of jobs in SQL Server and therefore its execution requires consistent work of SQL Agent.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
53 EMS SQL Backup Administration console - User manual
2.3
Navigating
Explorer is the basic navigation window for managing servers and databases. It has a tree-like structure and it allows you to perform operations with any object in the Explorer window. Explorer is only available at the
Servers tab of EMS SQL Backup. Also from this
tab you can get all information about policy
The following tabs are available on the top of the EMS SQL Backup window.
Gears menu - for configuring EMS SQL Backup Console settings;
© 1999-2015 EMS Database Management Solutions, Ltd.
54 EMS SQL Backup Administration console - User manual
Servers - for managing servers, databases and policies execution;
Policies - for managing policies;
Templates - for managing templates for policies, tasks, steps and schedules;
Activities - for managing current active processes.
Toolbars
A toolbar is a horizontal row of selectable image buttons that give the user a constantly visible reminder of and an easy way to select certain application functions.
Toolbars are available on
tabs.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
III
3
56 EMS SQL Backup Administration console - User manual
Servers
This chapter contains sufficient information concerning server management and policy execution. Below you can see the overall information about basic working area sections.
Servers
The Explorer area allows you to access servers and databases. Servers and databases can be included in Groups and Solutions.
Gr o ups are used to organize servers by some specific criteria (for example, location).
So lut io ns unite servers to be included into one
Policy . The same server can be included
into several solutions. To add server to a Solution simply drag-and-drop it from the group to a solution folder.
You can change objects order dragging them within the Explorer tree.
Shortcuts
This panel is used for quick access to the groups\servers\databases. To add a object to the Shortcuts list use the corresponding menu item from the server\database popup menu (Shift +Inse r t ) or drag the object to the Shortcuts.
Troubled servers
This panel displays servers which have problem policies. You can review the servers and
© 1999-2015 EMS Database Management Solutions, Ltd.
57 EMS SQL Backup Administration console - User manual
Overall status
It shows the status of the selected server, information about SQL Server and EMS SQL
Backup Server-side components installed on the server and policies summary:
Policies are successful - there is a connection to the server and all polices have been executed successfully.
There are no policies - there is a connection to the server but no policies are created.
Server isn't connected - there is no connection to the server.
Backup service isn't installed - service components are not
server.
Policies have problems - there have been some errors on policy execution. You can resolve the problems using the
Some of policies have unknown status - status for some of the policies is unknown. It usually occurs when launch time has passed but policy was not started or if there is connection to the server to get actual policy status.
Policies have warnings - there have been some warnings on policy execution.
Warnings include out-of-range parameters for
Database Parameters Logger and
some minor warnings on execution that do not affect the final result.
Server status
- The server, which is not connected and has no EMS SQL Backup
server-side components installed
.
- The connected server without EMS SQL Backup
server-side components installed .
- The server being refreshed.
- Connection to the server cannot be established. Check the
.
- The server with EMS SQL Backup
server-side components installed .
- The server with
EMS SQL Backup server-side components installed. Connection to
the server is not established.
- The server has some erroneous policies. You can fix them using
dialog.
- The server has some
- All policies on the server are successful.
- The server has policies with 'Unknown' status.
© 1999-2015 EMS Database Management Solutions, Ltd.
58 EMS SQL Backup Administration console - User manual
Note:
Databases have states as well. To learn about them see the
topic.
Policies
The grid displays all information about the policies deployed on the selected object. You can get information about policy result
Double-click the policy or task to execute it.
If the policy or task is erroneous double-clicking will initiate
The context menu of the selected policy allows you to:
resolve the problem (for erroneous policy)
execute a policy
pause policy execution
view
edit policy in
Launches
Each policy consists of a set of tasks. This area displays information about task launches, launch date and time, task status and message. You can review tasks execution and e xe c ut e the task manually or igno r e the problems using the popup window. Set the limit of days for displaying in the dialog
at the
Launches can be filtered by status or execution date using the Filter button.
To apply or discard filter use corresponding buttons.
Use the Show details button in the Message column to view detailed information about the performed step or errors or warnings depending on the status.
You can generate
launches and policy reports using the
Report button.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
59 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
60 EMS SQL Backup Administration console - User manual
3.1
Popup menus
Popup menu of the object contains the list of actions that can be applied to the object.
The following popup menus are available in the DB Explorer at Servers tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
61 EMS SQL Backup Administration console - User manual
3.1.1
Groups popup menu
The popup menu is available for the top Groups node at DB Explorer.
Create New Group (or Ins key)
Refresh servers and policies (or F 5 key)
Maintenance Policies
Create new Policy
Create from Templates to create a policy based on the
Convert from Maintenance Plan runs the
Maintenance plan conversion wizard.
Quick Maintenance Actions - open the list of
Maintenance Actions for quick launch.
Show history opens the
window.
Collapse all groups
Expand all groups
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
62 EMS SQL Backup Administration console - User manual
3.1.2
Group popup menu
The popup menu is available at the Group node at DB Explorer.
Create New Group (or Ins key)
Delete Group
Rename Group (or F 2 key)
Register server. The
Register Server Wizard is started.
Refresh group subobjects
Maintenance Policies
Create New Policy
Copy from Templates to create a policy based on the
Quick Maintenance Actions - open the list of
Maintenance Actions for quick launch.
Show history opens the
window.
Shift +Ins)
Collapse all groups
Expand all groups
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
63 EMS SQL Backup Administration console - User manual
3.1.3
Server popup menu
This popup menu is available for the server at DB Explorer.
Create New Group (or Ins key)
Register Server launches the
Unregister Server
view
get backup file from the server to the console side
Refresh server subobjects and policies (or F 5 key)
Maintenance Policies
Create new Policy
Create from Templates to create a policy based on the
Convert from Maintenance Plan runs the
Maintenance plan conversion wizard.
Pause All Policies on Server stops policy scheduled execution until resuming
Resume All Policies on Server launches all stopped policies of the server
Quick Maintenance Actions opens the list of
immediate launch.
Show History opens the
Viewing Policy History window.
view
Server-side components properties
Install/Update/Remove server-side EMS SQL Backup components runs the corresponding wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
64 EMS SQL Backup Administration console - User manual
Activate license on server
Deactivate license on server
Collapse all groups
Expand all groups
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
65 EMS SQL Backup Administration console - User manual
3.1.4
Database popup menu
This popup menu is available for the database at DB Explorer.
Refresh databases and policies (or F 5 key).
Quick Maintenance Actions - open the list of
Maintenance Actions for quick launch.
Maintenance Policies
Create new Policy
Create from Templates to create a policy based on the
Convert from Maintenance Plan runs the
Maintenance plan conversion wizard.
Pause All Policies on Server stops policy scheduled execution until resuming
Resume All Policies on Server launches all stopped policies of the server
Show History opens the
Viewing Policy History window.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
66 EMS SQL Backup Administration console - User manual
3.2
Register Server Wizard
This wizard guides you through the server registration. To launch the wizard select the
Register Server popup menu item in the navigation panel or from the main menu.
Steps:
Specifying connection parameters
See also:
Install server-side EMS SQL Backup Components
Update/Remove server-side EMS SQL Backup components
Server-side components properties
© 1999-2015 EMS Database Management Solutions, Ltd.
67 EMS SQL Backup Administration console - User manual
3.2.1
Specifying connection parameters
This step of the wizard provides you with major set of options needed to register a server.
Server Name
Use this field to select server to register. You can select host from the drop-down list or type in a host name manually.
Please note that if Microsoft® SQL Server™ is installed as a named instance, you should enter the name of your machine and the instance name in the Server name field in the following format: c o m put e r _na m e \sqlse r v e r _inst a nc e _na m e (e.g. "
M Y C O M PUT ER\SQ LEX PRESS").
Alias
Define the server alias which is displayed in the DB Explorer tree and program tools. By default, a server alias generated by the application has the following format:
<server_name>.
Authentication
Specify the type of Microsoft® SQL Server™ authentication to be used for the connection: Windo w s authentication or SQ L Se r v e r authentication.
SQL Server authentication requires a ut ho r iza t io n information: User name and
© 1999-2015 EMS Database Management Solutions, Ltd.
68 EMS SQL Backup Administration console - User manual
Password.
Timeout
Use this option to restrict time for EMS SQL Backup to connect to server.
Test connection
You can test specified connection settings by pressing this button.
© 1999-2015 EMS Database Management Solutions, Ltd.
69 EMS SQL Backup Administration console - User manual
3.2.2
Defining additional options
At this step you can define the options for the registered servers and finish registering the server.
Connect automatically on Console startup
This option defines whether connection to the registered server should be performed on startup.
Connect to SQL Server after registration
Enable the option to connect to the server right after it has been registered.
Install/Update server-side EMS SQL Backup components on this SQL Server
If this option is checked then the
Install Server-side Components or the
Server-side components wizard will be launched automatically after server is registered.
© 1999-2015 EMS Database Management Solutions, Ltd.
70 EMS SQL Backup Administration console - User manual
3.2.3
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the process.
Press the Finish button to register the server.
© 1999-2015 EMS Database Management Solutions, Ltd.
71 EMS SQL Backup Administration console - User manual
3.3
Install server-side SQL Backup components
EMS SQL Backup utility
: server-side components and GUI administration console.
To start working with EMS SQL Backup you need to install server-side components. To run the installation wizard select the Install server-side EMS SQL Backup Components item in the server popup menu at
Server-side components
They are installed locally or remotely on all MS SQL server instances that will be managed within the utility. They include services and stored procedures (installed into m a st e r database) for server maintaining and reviewing.
EMS SQL Backup Administration Console
It is installed locally on the Administrator machine for easy administration of the servers.
On installation the program installs the console program and configures the repository.
You need Local system or Local administration permissions to work with server and services.
Steps:
Specifying service account settings
See also:
Update/Remove server-side EMS SQL Backup components
Stand-alone local server-side components installer
Server-side components properties
© 1999-2015 EMS Database Management Solutions, Ltd.
72 EMS SQL Backup Administration console - User manual
3.3.1
Selecting installation type
At this step of the wizard you need to specify EMS SQL Backup server-side components installation type.
If you are installing server-side components on the local server then on the first step the server name is displayed.
For a remote server choose the way the service will be installed.
SQL Server
Install server-side components via SQL Server connection.
It is recommended to use the SQ L Se r v e r option if the SQL Server service is running under the account with Administrator privileges or Lo c a lSy st e m account.
Network Folder
Install server-side components via Network shared folder.
Remote resource
© 1999-2015 EMS Database Management Solutions, Ltd.
73 EMS SQL Backup Administration console - User manual
Select the shared folder that will be used for copying files that are necessary for installing
EMS SQL Backup server-side components:
ADM IN$ or C ust o m. Use the C ust o m share folder if the
ADM IN$ share does not exist on the remote host.
For the Custom share you need to specify the following settings.
Share path
Specify the share folder name only without providing its full path (for example,
'Sha r e d').
Share local path
Specify the full local path to the shared folder on the remote host (for example,
'C :
\Sha r e d').
Specify the authentication credentials to be used for connection to the shared folder
Windows authentication (use the current Windows user credentials) or
This account
(provide authorization settings: User and Password).
Please make sure that the specified account has access to the shared folder and is a member of the Administrators group on the remote host.
After all settings are specified click the Check folder button to check the folder existence and access to it.
© 1999-2015 EMS Database Management Solutions, Ltd.
74 EMS SQL Backup Administration console - User manual
3.3.2
Specifying service account settings
At this step you should specify Windows account and SQL Server login for EMS SQL
Backup Service.
Windows account for EMS SQL Backup Service Log On
Local System account (NT AUTHORITY\SYSTEM)
Select this option to use the Lo c a lSy st e m Windows account as the Se r v ic e Lo g O n account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name ( <do m a in_na m e \use r _na m e >) of the User must be given.
SQL Server login for EMS SQL Backup Service
Specify the SQL Server login for EMS SQL Backup Service to connect to the server.
Afterwards it can be edited using the
Server-side components Properties dialog.
Note:
The specified login must be a member of the system administrator role.
© 1999-2015 EMS Database Management Solutions, Ltd.
75 EMS SQL Backup Administration console - User manual
Windows authentication
Select this option to connect to the SQL Server through the Windows user account that is specified in the
Windo w s a c c o unt fo r EM S SQ L Ba c kup Se r v ic e Lo g O n.
Note:
If the Windows login for the specified Windows user account does not exist on the
SQL Server it will be created and added to the sy sa dm in server role.
Note:
If you have selected the
Lo c a l Sy st e m Windows account as Service Log On and
Windo w s a ut he nt ic a t io n make sure that the NT AUT HO RIT Y \SY ST EM login exists on the
SQL Server and is a member of the sy sa dm in role.
SQL Server authentication
EMS SQL Backup identifies user by his server login and password. Login and password management is accomplished by Login Manager.
If
Se r v e r a ut he nt ic a t io n is selected as the a ut he nt ic a t io n t y pe, you should provide a ut ho r iza t io n settings: User and Password. Analyzing them a system determines information and therefore object access permissions.
© 1999-2015 EMS Database Management Solutions, Ltd.
76 EMS SQL Backup Administration console - User manual
3.3.3
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the installation process.
You can Verify the choices made in wizard in the corresponding area and click the
Install button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
77 EMS SQL Backup Administration console - User manual
3.4
Update/Remove server-side SQL Backup components
Use this wizard to delete or update EMS SQL Backup server-side components at the server. After uninstalling all jobs linked with policies will be deleted.
Note:
In Upda t e mode all instances of the selected server are updated.
Select Update/Remove server-side EMS SQL Backup components item from the server's
Steps:
Selecting updating/removing type
Specifying service account settings
See also:
Install server-side EMS SQL Backup Components
Stand-alone local server-side components installer
Server-side components properties
© 1999-2015 EMS Database Management Solutions, Ltd.
78 EMS SQL Backup Administration console - User manual
3.4.1
Selecting updating/removing type
Select EMS SQL Backup server-side components updating/removing type.
If you are updating/uninstalling server-side components on the local server then on the first step the server name is displayed.
For a remote server choose the way the service will be updated/uninstalled.
SQL Server
Update/uninstall server-side components via SQL Server connection.
It is recommended to use the SQ L Se r v e r option if the SQL Server service is running under the account with Administrator privileges or Lo c a lSy st e m account.
Network Folder
Update/uninstall server-side components via Network shared folder.
Remote resource
© 1999-2015 EMS Database Management Solutions, Ltd.
79 EMS SQL Backup Administration console - User manual
Select the shared folder that will be used for copying files that are necessary for updating/removing EMS SQL Backup server-side components:
ADM IN$ or C ust o m.
Use the
C ust o m share folder if the ADM IN$ share does not exist on the remote host.
For the Custom share you need to specify the following settings.
Share path
Specify the share folder name only without providing its full path (for example,
'Sha r e d').
Share local path
Specify the full local path to the shared folder on the remote host (for example,
'C :
\Sha r e d').
Specify the authentication credentials to be used for connection to the shared folder
Windows authentication (use the current Windows user credentials) or
This account
(provide authorization settings: User and Password).
Please make sure that the specified account has access to the shared folder and is a member of the Administrators group on the remote host.
After all settings are specified click the Check folder button to check the folder existence and access to it.
© 1999-2015 EMS Database Management Solutions, Ltd.
80 EMS SQL Backup Administration console - User manual
3.4.2
Selecting operation type
Use this step of the wizard to select the required operation.
Update
Select this option to upgrade or restore EMS SQL Backup server-side components. You can use this option to keep the service up-to-date.
Uninstall
Select this option to remove SQL Backup server-side components. Jobs created by the
EMS SQL Backup will be uninstalled from the selected server.
Remove logs
Check this option to clear the information about server policies and task execution history.
© 1999-2015 EMS Database Management Solutions, Ltd.
81 EMS SQL Backup Administration console - User manual
3.4.3
Specifying service account settings
At this step you should specify Windows account and SQL Server login for EMS SQL
Backup Service.
Windows account for EMS SQL Backup Service Log On
Local System account (NT AUTHORITY\SYSTEM)
Select this option to use the Lo c a lSy st e m Windows account as the Se r v ic e Lo g O n account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name ( <do m a in_na m e \use r _na m e >) of the User must be given.
Note:
EMS SQL Backup Service is common for all instances on the server. Therefore changes of Windows account on one instance will be applied on all other instances.
SQL Server login for EMS SQL Backup Service
© 1999-2015 EMS Database Management Solutions, Ltd.
82 EMS SQL Backup Administration console - User manual
Specify the SQL Server login for EMS SQL Backup Service to connect to the server.
Afterwards it can be edited using the
Server-side components Properties dialog.
Note:
The specified login must be a member of the system administrator role.
Windows authentication
Select this option to connect to the SQL Server through the Windows user account that is specified in the
Windo w s a c c o unt fo r EM S SQ L Ba c kup Se r v ic e Lo g O n.
Note:
If the Windows login for the specified Windows user account does not exist on the
SQL Server it will be created and added to the sy sa dm in server role.
Note:
If you have selected the
Lo c a l Sy st e m Windows account as Service Log On and
Windo w s a ut he nt ic a t io n make sure that the NT AUT HO RIT Y \SY ST EM login exists on the
SQL Server and is a member of the sy sa dm in role.
SQL Server authentication
EMS SQL Backup identifies user by his server login and password. Login and password management is accomplished by Login Manager.
If
Se r v e r a ut he nt ic a t io n is selected as the a ut he nt ic a t io n t y pe, you should provide a ut ho r iza t io n settings: User and Password. Analyzing them a system determines information and therefore object access permissions.
© 1999-2015 EMS Database Management Solutions, Ltd.
83 EMS SQL Backup Administration console - User manual
3.4.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the installation process.
You can Verify the choices made in wizard in the corresponding area and click the
Update\Remove button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
84 EMS SQL Backup Administration console - User manual
3.5
Update server-side components
The Update server-side components tool allows you to update server-side components on multiple instances at once.
To launch this tool select the Update Server-side Components item of the
.
The list contains all currently connected servers with server-side components version lower than EMS SQL Backup Console version.
Check the servers in the list which server-side components should be updated. Check the
All checkbox to select all servers in the list.
Under the server name you can see parameters that will be used for updating: Ac c e ss m e t ho d, Se r v ic e Windo w s lo g o n, Se r v ic e SQ L Se r v e r lo gin and Ne t w o r k F o lde r a ut he nt ic a t io n. After selecting necessary instances and specifying all parameters click the Update button to start the process.
Click the Change settings button to configure authentication type and service account settings used for update server-side components operation in the
Service account settings dialog.
© 1999-2015 EMS Database Management Solutions, Ltd.
85 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
86 EMS SQL Backup Administration console - User manual
3.5.1
Service account settings
In the Service account settings dialog you need to specify Windows account and SQL
Server login for EMS SQL Backup Service.
In case of remote update you also need to specify the type of update.
For a remote server choose the way the service will be updated:
SQ L Se r v e r or
Ne t w o r k F o lde r. It is recommended to use the SQ L Se r v e r option if the SQL Server service
© 1999-2015 EMS Database Management Solutions, Ltd.
87 EMS SQL Backup Administration console - User manual
is running under the account with Administrator privileges or
Lo c a lSy st e m account.
Network Folder settings
This section appears if you have selected the Network folder as a type of remote update.
Remote resource
Select the shared folder that will be used for copying files that are necessary for updating
EMS SQL Backup server-side components:
ADM IN$ or C ust o m. Use the C ust o m share folder if the
ADM IN$ share does not exist on the remote host.
For the Custom share you need to specify the following settings.
Share path
Specify the share folder name only without providing its full path (for example,
'Sha r e d').
Share local path
Specify the full local path to the shared folder on the remote host (for example,
'C :
\Sha r e d').
Specify the authentication credentials to be used for connection to the shared folder
Windows authentication (use the current Windows user credentials) or
This account
(provide authorization settings: User and Password).
Please make sure that the specified account has access to the shared folder and is a member of the Administrators group on the remote host.
After all settings are specified click the Check folder button to check the folder existence and access to it.
Windows account for EMS SQL Backup Service Log On
Local System account (NT AUTHORITY\SYSTEM)
Select this option to use the
Lo c a lSy st e m Windows account as the Se r v ic e Lo g O n account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name (
<do m a in_na m e \use r _na m e >) of the User must be given.
Note:
EMS SQL Backup Service is common for all instances on the server. Therefore in
Stand-alone local server-side components installer changes of Windows account on one
instance will be applied on all other instances.
SQL Server login for EMS SQL Backup Service
Specify the SQL Server login for EMS SQL Backup Service to connect to the server.
Afterwards it can be edited using the
Server-side components Properties dialog.
Note:
The specified login must be a member of the system administrator role.
Windows authentication
Select this option to connect to the SQL Server through the Windows user account that is specified in the
Windo w s a c c o unt fo r EM S SQ L Ba c kup Se r v ic e Lo g O n.
Note:
If the Windows login for the specified Windows user account does not exist on the
SQL Server it will be created and added to the sy sa dm in server role.
© 1999-2015 EMS Database Management Solutions, Ltd.
88 EMS SQL Backup Administration console - User manual
SQL Server authentication
EMS SQL Backup identifies user by his server login and password. Login and password management is accomplished by Login Manager.
If
Se r v e r a ut he nt ic a t io n is selected as the a ut he nt ic a t io n t y pe, you should provide a ut ho r iza t io n settings: User and Password. Analyzing them a system determines information and therefore object access permissions.
© 1999-2015 EMS Database Management Solutions, Ltd.
89 EMS SQL Backup Administration console - User manual
3.6
Stand-alone local server-side components installer
Stand-alone local server-side components installer is a tool for local installation of server-side components on every SQL Server instance.
This installer is distributed with EMS SQL Backup for local installation on the server.
If you cannot install, modify or delete EMS SQL Backup components from the EMS SQL
Backup Administration Console (using the
Install server-side EMS SQL Backup components
or
Update/Remove server-side EMS SQL Backup components wizards) due to some
reasons you can launch the installer directly on the server machine.
In order to do this copy the EMS SQL Backup setup file to the server machine and then launch it. On the third step of this wizard choose the Se r v e r -side o nly mode. After the
EMS SQL Backup Setup wizard is finished the Installation Wizard for installing server-side components is launched.
This wizard allows you to install, modify, or delete components of the EMS SQL Backup service.
Steps:
Configuring installation settings
Installer connection properties
© 1999-2015 EMS Database Management Solutions, Ltd.
90 EMS SQL Backup Administration console - User manual
3.6.1
Configuring installation settings
On this step you need to configure all settings necessary for server-side components install/update/uninstall process.
First, select the action you want to perform.
Install
Select this option to install EMS SQL Backup server-side components.
Update
Select this option to upgrade or restore EMS SQL Backup server-side components. Use this option to keep the service up-to-date.
Uninstall
Select this option to remove EMS SQL Backup server-side components. Jobs created by the EMS SQL Backup will be uninstalled from the selected server.
After that check instances on which you want to install/update/delete server-side components. All instances available for the selected operation are listed on the right.
© 1999-2015 EMS Database Management Solutions, Ltd.
91 EMS SQL Backup Administration console - User manual
Click the Connection button to configure
Installer connection properties .
Click the Service account button to configure
EMS SQL Backup Service account settings
.
Configured parameters are displayed under the SQL Server instance name.
© 1999-2015 EMS Database Management Solutions, Ltd.
92 EMS SQL Backup Administration console - User manual
3.6.1.1
Installer connection properties
In the Connection for [instance_name] dialog you need to configure SQL Server login that will be used by Installer and SQL Server port.
Connection settings
Specify the type of Microsoft® SQL Server™ authentication to be used for the connection: Windo w s a ut he nt ic a t io n or SQ L Se r v e r authentication.
Windows Authentication
EMS SQL Backup identifies the current user by his domain name and password which are defined automatically according to his Windows domain user account.
SQL Server authentication
EMS SQL Backup identifies user by his server login and password. Login and password management is accomplished by Login Manager.
If Se r v e r a ut he nt ic a t io n is selected as the a ut he nt ic a t io n t y pe, you should provide a ut ho r iza t io n settings: User and Password. Analyzing them a system determines information and therefore object access permissions.
Note:
The specified login must be a member of the system administrator role.
SQL Server port
Identify the TCP/IP port used by the SQL Server Instance.
After connection settings are specified, click the Check connection button to check is the specified login is valid for running the Installer, i.e. the specified login exists , the password is correct and the login is a member of the sysadmin role.
© 1999-2015 EMS Database Management Solutions, Ltd.
93 EMS SQL Backup Administration console - User manual
3.6.2
Performing operation
On this step of the wizard you can view the operation log.
After the operation is completed you can Copy the operation log using the context menu.
© 1999-2015 EMS Database Management Solutions, Ltd.
94 EMS SQL Backup Administration console - User manual
3.7
Server properties
Server properties window displays settings that have been defined on
. To open it use Server properties context menu item in Server Explorer. Use this dialog to view and edit the registration properties of the server.
See also:
Install server-side EMS SQL Backup Components
Update/Remove server-side EMS SQL Backup components
Server-side components properties
© 1999-2015 EMS Database Management Solutions, Ltd.
95 EMS SQL Backup Administration console - User manual
3.7.1
Server connection info
This dialog allows you to view and edit connection properties in the corresponding boxes.
Server Name
Displays SQL Server instance name.
Alias
Stores the server alias which is displayed in the DB Explorer tree and program tools. It is set on
server registration in the program.
Authentication
Specify the type of authentication to be used for the connection:
Windo w s a ut he nt ic a t io n or SQ L Se r v e r authentication.
SQL Server authentication requires a ut ho r iza t io n information: User Name and
Password.
Timeout
Use this option to restrict time (in seconds) for EMS SQL Backup to connect to server.
Test connection
You can test specified connection settings by pressing this button.
© 1999-2015 EMS Database Management Solutions, Ltd.
96 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
97 EMS SQL Backup Administration console - User manual
3.7.2
Server options
The Server options section allows you to set additional options for the database.
Description field is used for comment on the server.
Connect automatically on Console startup
This option defines whether connection to the registered server should be performed on startup.
© 1999-2015 EMS Database Management Solutions, Ltd.
98 EMS SQL Backup Administration console - User manual
3.8
Server-side components properties
Server-side components properties window displays settings that have been defined on
server-side components installation and email settings for correct sending of policy
notifications . To open it use server's
Server-side components properties context menu item.
See also:
Install server-side EMS SQL Backup Components
Update/Remove server-side EMS SQL Backup components
© 1999-2015 EMS Database Management Solutions, Ltd.
99 EMS SQL Backup Administration console - User manual
3.8.1
SQL Server connection info
At the SQL Server connection info tab you can view\change authentication to be used for user authorization on the server. The settings you provide will be used by the service installed on the server.
Unlike the
Server Properties dialog this one is used to set
SQ L Se r v e r authentication parameters for an account that will be used for connection by a service installed on a server.
Specify the type of Microsoft® SQL Server™ authentication to be used for the connection: Windo w s authentication or SQ L Se r v e r authentication.
SQL Server authentication requires authorization information: Login and Password.
Connection Timeout
Use this option to restrict time (in seconds) for EMS SQL Backup to connect to server.
SQL Server Agent info shows the current state of the agent on the selected instance.
Show Debug Info
Check this option to display debug information in server logs.
© 1999-2015 EMS Database Management Solutions, Ltd.
100 EMS SQL Backup Administration console - User manual
3.8.2
Email settings
At this tab you can set email setting that are used for sending policies
email. If the following settings are not set email notifications cannot be sent.
Send notifications by Email
Check this option to enable email sending for the service.
Email service settings
SMTP server
Type the name of SMTP server to be used for sending emails.
Port
Specify SMTP port for the mail agent.
Login
Input the login for access to the mail agent.
Password
Input the password for access to the mail agent.
Send from
Specify the email address that will be displayed as a Sender address in the notification email.
© 1999-2015 EMS Database Management Solutions, Ltd.
101 EMS SQL Backup Administration console - User manual
Test address
Click the button to send a test email to the recipient to ensure your settings have been correct correctly.
© 1999-2015 EMS Database Management Solutions, Ltd.
102 EMS SQL Backup Administration console - User manual
3.8.3
Log storage settings
At this tab you need to configure settings of EMS SQL Backup log storage for the server.
Log file stores information about user tasks and policies
Depending on the configured values you will receive warning notification message that
'Log size is exceeded' appearing on server refresh. Also this message will be displaying in the
server overview information until you perform
Store tasks log records
Set the period of time (in days) within witch records about tasks launches should be stored in log file. All records that are older this specified value will be removed automatically.
Store backups log records
Set the period of time (in days) within witch records about backups should be stored in log file. All records that are older this specified value will be removed automatically.
Store logs up to
Set the preferable maximum size (in Mb) of a log file.
Note:
This value is limited to 3328 megabytes of data.
Note:
If the log file size reaches this specified value then both tasks and backups log records are truncated.
Log file truncation is not performed simultaneously on reaching specified boundary values.
© 1999-2015 EMS Database Management Solutions, Ltd.
103 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
104 EMS SQL Backup Administration console - User manual
3.8.4
Backup settings
At the Backup settings tab you need to set folder which will be used as a default folder for storing backup files.
Backup folder
Define the folder for storing backups created by
wizard. Click the button to open the
Server folder dialog to pick up the needed server folder.
Note:
This folder is tagged as a {ba c kup_r o o t _fo lde r } in a backup step.
© 1999-2015 EMS Database Management Solutions, Ltd.
105 EMS SQL Backup Administration console - User manual
3.9
Get backup to Console
The Get Backup to Console wizard guides you through the process of transferring backup files from the selected server to the local disk of the machine where the EMS SQL
Backup Administration Console is running. Getting backup files requires server connection only.
To run this wizard select the Get Backup to Console item in the server popup menu at
Steps:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
106 EMS SQL Backup Administration console - User manual
3.9.1
Specifying backup source
On the first step of the wizard you need to specify the backup source and the destination folder on the local machine.
Destination Folder
Specify the destination server folder where backups will be transferred to. This folder is set relatively to the local machine.
Backup provider
You need to select the provider that had been used for
.
Backup source
Hist o r y - shows the list of the available database backups for the specified server and database. Only backups of corresponding provider types are displayed.
F ile s - allows selecting individual backup files from the server.
Server
Select the server to get database backup from.
Database
This option is available for Hist o r y ba c kup so ur c e and contains databases available on the selected server. Choose the database you need to get the backup of and the list of the backups available for the selected database will be displayed below. You need to select the backup and proceed to the
© 1999-2015 EMS Database Management Solutions, Ltd.
107 EMS SQL Backup Administration console - User manual
For the
F ile s ba c kup so ur c e:
Add Local File
Click this button to search for the backup files on the selected server. If backup consists of multiple files (this option is only available for
EMS SQL Backup type ) you need to
specify the first file from the chain. If the backup file includes several databases you are only allowed to select one database at a time.
For every selected file displays additional information: Da t e , Da t a ba se , T y pe , Enc r y pt e d,
F ir st LSN, St o r a ge na m e , La st LSN, C he c k Po int LSN, Diffe r e nt ia l Ba se LSN.
Remove
Removes the selected file from the list.
Clear
Removes all files from the list.
After you have added the necessary files manually click the Next button to proceed to the
Viewing summary information step.
© 1999-2015 EMS Database Management Solutions, Ltd.
108 EMS SQL Backup Administration console - User manual
3.9.2
Selecting backup files
This step allows you to select files to be transferred to the local disk. This step is not available if F ile s has been selected as backup source at the previous step. The order is generating automatically.
After you have selected the necessary files click the Next button to proceed to the
Viewing summary information step.
© 1999-2015 EMS Database Management Solutions, Ltd.
109 EMS SQL Backup Administration console - User manual
3.9.3
Viewing summary information
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the operation.
After verifying the choices made in the wizard click the Run button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
110 EMS SQL Backup Administration console - User manual
3.10
Reports
Using reports you can view and save information to any available format about task execution that is displayed in the grid of a
To open a report on a policy/task execution the Preview window use the Report button on the
Launches area toolbar or select the
Show Report popup menu item.
There are three types of reports:
Single-server report
This report can be viewed when a single server is selected in the
deployed on this server is selected in the
Policies area. If a policy deployed on several
servers is selected in
Policies area a report will include information on launches of this
policy only on the selected server. The report displays brief information on tasks of the selected policy including t a sk na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d and t a sk st a t us.
Multi-server report
© 1999-2015 EMS Database Management Solutions, Ltd.
111 EMS SQL Backup Administration console - User manual
Multi-server report is available when a policy deployed on multiple servers is selected in the
area. Besides, a group or a solution must be selected in the
report displays brief information on tasks of the selected policy including t a sk na m e, se r v e r na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d and t a sk st a t us.
Detailed task report
Task report is available when a particular task is selected in the
area. This report displays a detailed information on a task and its steps of the selected policy including t a sk na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d, t a sk/st e p st a t us and e xe c ut io n m e ssa ge (info r m a t io n, w a r ning o r e r r o r ).
© 1999-2015 EMS Database Management Solutions, Ltd.
112 EMS SQL Backup Administration console - User manual
The Preview window allows you to change the report appearance, i.e. change a document background and add watermarks.
The man menu of the Preview window allows you to: open page setup dialog; start printing the report; export the content to any of the available formats:
PDF file , HT M L file, M HT file, RT F file
,
Exc e l file , C SV file, T e xt file, Im a ge file and then send it via E-mail; close the Preview window; change page layout: Facing or Continuous; enable/disable toolbar; enable/disable status bar; customize toolbar; set report background and watermark.
The toolbar of the Preview window allows you to: search for text within the document; open a previously saved report; save the current report to an external
*.pr nx file; start printing the report; open page setup dialog; set scaling options; enable/disable hand tool; adjust zoom options; navigate within the printing report pages; set the number of pages displayed in the window; set report background and watermark; export the content to any of the available formats:
PDF file , HT M L file, M HT file, RT F file
,
Exc e l file , C SV file, T e xt file, Im a ge file and then send it via E-mail; close the Preview window.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
IV
4
114 EMS SQL Backup Administration console - User manual
Policies
This chapter provides you with necessary information concerning SQL Server maintenance policies.
Policy in EMS SQL Backup is a set of scheduled
to be performed on the servers or databases each containing a number of steps. Policy is implemented as a set of jobs in
SQL Server and therefore its execution requires consistent work of SQL Agent. You can schedule one or more tasks to be executed according to the preset schedules. The policy can perform operations on a set of databases on different servers. It can be created for a server as well as for a Gr o up of servers or So lut io n. To assign it automatically on policy creation you should run
using the context menu of the corresponding elements (server, group or solution).
Each Policy execution generates the
that informs you about successful or failed policy executions. After reviewing the errors you can ignore them or
the task.
To manage policy status and process of execution go to
and
© 1999-2015 EMS Database Management Solutions, Ltd.
115 EMS SQL Backup Administration console - User manual
To start working with policy you need to create it at first.
Policies page provides all necessary tools to manage policies. Move to the page and use the
Create Policy from Template popup menu item.
You can easily create a template from the existing policy using
menu item. The template based on the selected policy will be automatically added to the
Note:
The databases selected in the policy can be saved in template as well.
Policies at this tab can be v ie w e d in t w o m o de s: Policy Tasks and Policy Servers.
Select the Policy on the left and switch between two corresponding modes to see policy's tasks or servers on the top-level. For each object of the tree you can see more Detailed info at the bottom panel.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
116 EMS SQL Backup Administration console - User manual
4.1
Popup menus
Popup menu of the object contains the list of actions that can be applied to the object.
The following popup menu is available in the policy list at the Policies tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
117 EMS SQL Backup Administration console - User manual
4.1.1
Policy popup menu
The following actions can be applied to the policy:
Create New Policy;
Create Policy from Template - create a policy based on the existing
Edit policy;
Delete policy;
Create Template from Policy - create a template with the same tasks and settings as the selected one;
Show History - open
© 1999-2015 EMS Database Management Solutions, Ltd.
118 EMS SQL Backup Administration console - User manual
4.1.2
Task popup menu
The following actions can be applied to the task:
Add New Task to the policy;
Add Task from Template - create a task based on the existing
Edit Task using the
Remove Task from the policy;
Expand all tasks;
Collapse all tasks;
Show History - open task history in
Copy the selected task;
Cut the selected task;
Paste the copied/cut task.
© 1999-2015 EMS Database Management Solutions, Ltd.
119 EMS SQL Backup Administration console - User manual
4.1.3
Step context menu
The following actions can be applied to the step:
Add New Step to the task;
Add Step from Template - create a step based on the existing
;
Edit Step using the
Remove Step from the task;
Expand all tasks;
Collapse all tasks;
Copy the selected step;
Cut the selected step;
Paste the copied/cut step.
© 1999-2015 EMS Database Management Solutions, Ltd.
120 EMS SQL Backup Administration console - User manual
4.1.4
Schedule context menu
The following actions can be applied to the schedule:
Add New Schedule to the task;
Add Schedule from Template - create a schedule based on the existing
Edit Schedule using the
;
Remove Schedule from the task;
Expand all tasks;
Collapse all tasks;
Copy the selected schedule;
Cut the selected schedule;
Paste the copied/cut schedule.
© 1999-2015 EMS Database Management Solutions, Ltd.
121 EMS SQL Backup Administration console - User manual
4.1.5
Server context menu
The following actions can be applied to the server on which the policy is deployed:
Remove server from Step;
Expand all tasks;
Collapse all tasks;
Show History - open
Note:
The single server cannot be removed from the step. Instead, you can remove the whole step.
© 1999-2015 EMS Database Management Solutions, Ltd.
122 EMS SQL Backup Administration console - User manual
4.2
Policy wizard
This chapter explains how to create a new
There is a special wizard that guides you through the policy creation process. You can launch this wizard in one of the following ways:
t a b:
Use the Create New Policy or Create Policy from Template popup menu item.
Right-click database/server/server group and use the Maintenance Policies |
Create new policy or Create from templates item.
If you call the wizard from the Policies page you will be asked to pick a server, group or solution which policy will be created for. You can create a policy for all servers within
Group or Solution.
Note:
Creating a Policy for a database means creating policy for the server on which database is stored. This database will be marked by default in steps that require database selection.
Note:
When you create a policy from a template it will be applied to all databases of the server irrespective of the database selected.
© 1999-2015 EMS Database Management Solutions, Ltd.
123 EMS SQL Backup Administration console - User manual
Proceed to the starting step of
Steps:
Setting policy name and description
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
124 EMS SQL Backup Administration console - User manual
4.2.1
Setting policy name and description
Use the first step of the wizard to set policy name, description and time preference.
Name
Specify policy name in this field.
Description
Define brief info for the created policy.
In different time zones schedule tasks on basis of
These options specify what time zone is used for policy task launch if its servers are located in different time zones. If tasks are to start at specific server time (for example, when server is idle) we recommend to select local server time, otherwise select local console time.
Local server time zone
Use this option to launch policy tasks according to the local time on each server.
Home time zone
Use this option to launch policy tasks at the time corresponding to the time zone set in the
General options . It allows easy control over policy status. It is recommended to use
© 1999-2015 EMS Database Management Solutions, Ltd.
125 EMS SQL Backup Administration console - User manual
this option to synchronize the operations for the
'Transaction Log Shipping' task.
© 1999-2015 EMS Database Management Solutions, Ltd.
126 EMS SQL Backup Administration console - User manual
4.2.2
Defining set of tasks
At this step you need to define tasks for the policy being created.
Po lic y is a set of schedule(s) and tasks each containing at least one step.
Create New
Use this button,
Ins key or the
\
header to create a new object.
Create New from Template
If you create a task\step\schedule from a
you need to pick a template for this object in the opened dialog.
Edit
You can use this button or click the Edit button in the object header to edit the object.
Delete
Click this button or the Delete button in the object header to remove it from the list.
© 1999-2015 EMS Database Management Solutions, Ltd.
127 EMS SQL Backup Administration console - User manual
The
De le t e key can be used as well.
Copy to Templates
Press this button to create a
template with the same options as the selected object.
Use and buttons to reorder Tasks, Steps and Schedules. The order of objects is important for Steps, they are executed in the set order starting from the top.
Use the following buttons for quick copying and moving objects within the policy:
- copy the selected object,
- cut the selected object,
- paste the copied/cut object.
When you create a new object from the template the following Templates list dialog is opened. You need to check the items you need to add and click the OK button. If you check several items the corresponding number of policies will be created.
© 1999-2015 EMS Database Management Solutions, Ltd.
128 EMS SQL Backup Administration console - User manual
4.2.3
Defining notification options
EMS SQL Backup administrator can receive electronic notifications on the results of EMS
SQL Backup policy launch via e-mail.
At this step you can set notifications for the policy.
Check the necessary servers in the Servers list to send notifications about policy launch results.
In the Notify field specify the trigger action:
Whe n t he po lic y suc c e e ds - send the message when policy tasks have been successfully completed.
Whe n t he po lic y fa ils - send the message when policy has failed.
Whe n t he po lic y c o m ple t e s - send the message when policy has been launched.
Input the recipient email address in the Send E-mail To field. You can define several email addresses separating them with commas.
SQL Server Agent must be configured to use Database Mail.
Note:
Email agent options should be set for the service at
© 1999-2015 EMS Database Management Solutions, Ltd.
129 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
130 EMS SQL Backup Administration console - User manual
4.2.4
Creating policy
At this step of the wizard you can see the summary of all options set at the previous steps.
You can Verify the choices made in the wizard in the corresponding area and click the
Finish button to create the policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
131 EMS SQL Backup Administration console - User manual
4.3
Policy editor
The policy is the logical set of maintenance tasks that need to be performed on a database or SQL Server instances at the corresponding time schedules. Each task in turn consists of one or more discrete
To e dit the policy you need to double click the policy at the
Edit Policy item on the toolbar of the
Editor tabs:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
132 EMS SQL Backup Administration console - User manual
4.3.1
Name and description
At this section you can view and edit policy name, description and time preference.
Name
Edit policy name in this field.
Description
Edit brief info for the created policy.
In different time zones schedule tasks on basis of
These options specify what time zone is used for policy task launch if its servers are located in different time zones. If tasks are to start at specific server time (for example, when server is idle) we recommend to select local server time, otherwise select local console time.
Local server time zone
Use this option to launch policy tasks according to the local time on each server.
Home time zone
Use this option to launch policy tasks at the time corresponding to the time zone set in the
General options . It allows easy control over policy status. It is recommended to use
© 1999-2015 EMS Database Management Solutions, Ltd.
133 EMS SQL Backup Administration console - User manual
this option to synchronize the operations for the
'Transaction Log Shipping' task.
The bottom panel shows errors and warnings for all sections of the policy, if any.
© 1999-2015 EMS Database Management Solutions, Ltd.
134 EMS SQL Backup Administration console - User manual
4.3.2
General
The General section allows you to view and edit the set of tasks and schedules.
Policy is a set of schedule(s) and tasks each containing at least one
You can edit objects using the buttons in the header:
Edit task
Delete task (or
De le t e key)
Add task (or Ins key)
Also you can manage the objects (Steps, Tasks and Schedules) using the buttons on the right or from the popup menu.
Create new. Select the required object in the list and click this button to create a new object.
Creating new from template. Click this button to see the list of
templates for this object and create a new one based on the template.
Edit. Click this button to change object settings.
Delete. Click this button to remove the object from the policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
135 EMS SQL Backup Administration console - User manual
Copy to templates. Select the required object in the list and click this button to add it to
Use and buttons to reorder Tasks, Steps and Schedules.
Use the following buttons for quick copying and moving objects within the policy:
- copy the selected object,
- cut the selected object,
- paste the copied/cut object.
When you create a new object from the template the following Templates list dialog is open. You need to check the item(s) you need to add and click the OK button.
© 1999-2015 EMS Database Management Solutions, Ltd.
136 EMS SQL Backup Administration console - User manual
4.3.3
Notification
The Notifications section allows you to view and edit notification parameters.
Check the necessary servers in the Servers list to send notifications about policy launch results.
In the Send email field specify the trigger action:
Whe n t he po lic y suc c e e ds - send the message when policy has been successfully launched.
Whe n t he po lic y fa ils - send the message when policy launch has failed.
Whe n t he po lic y c o m ple t e - send the message when policy tasks have been completed.
Input the recipient email address in the Send to field.
Note:
Email agent options should be set for the service at
Server-side components properties .
© 1999-2015 EMS Database Management Solutions, Ltd.
137 EMS SQL Backup Administration console - User manual
4.4
Maintenance plan conversion
This wizard is intended for converting linear M a int e na nc e Pla ns created in SQL Server
Management Studio to Po lic ie s of EMS SQL Backup.
NB:
You need to have SQ L Se r v e r Int e gr a t io n Se r v ic e s installed on the server to perform this conversion.
Note:
We recommend to disable Maintenance Plans in SQL Server Management Studio after conversion to avoid adverse effects.
To start conversion select the Maintenance Policies | Convert from
Maintenance plan context menu item for the server at the
tab.
Note:
If there are no maintenance plans available on the server this context menu item is not displayed.
Steps:
Selecting Maintenance plan to convert to policy
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
138 EMS SQL Backup Administration console - User manual
4.4.1
Welcome
This wizard helps you to convert Maintenance Plans created by Management Studio for
SQL Server to
policies , which EMS SQL Backup can manage. You need to have
SQ L Se r v e r
Int e gr a t io n Se r v ic e s installed on the server to perform this conversion.
© 1999-2015 EMS Database Management Solutions, Ltd.
139 EMS SQL Backup Administration console - User manual
4.4.2
Selecting Maintenance plan to convert to policy
At this step you can see the list of Maintenance Plans created by SQL Server
Management Studio.
You need to select one of the Maintenance Plans to be converted into Policy. The conversion will be performed at the next step.
Note that this function is only available if SQL Server Integration Services are installed on the server.
© 1999-2015 EMS Database Management Solutions, Ltd.
140 EMS SQL Backup Administration console - User manual
4.4.3
Performing conversion
At this step the selected Maintenance Plan is being converted to Policy.
If there are any errors on conversion you can
open the Policy with Edit Policy button to
view and correct them.
Set the Disable Maintenance plan option ON to disable Maintenance Plan in SQL Server
Management Studio.
© 1999-2015 EMS Database Management Solutions, Ltd.
141 EMS SQL Backup Administration console - User manual
4.4.4
Operation execution
At this step you can view parameters specified on previous steps. To complete the operation execution and set the policy on the server click the F inish button.
© 1999-2015 EMS Database Management Solutions, Ltd.
142 EMS SQL Backup Administration console - User manual
4.5
Execute policy
The policies are executed automatically in accordance with the schedule(s) specified for it. If needed you can launch the policy manually at the
At the Servers tab select the policy to be executed in the Policies section and use the
Execute Policy item from the popup menu or double-click the policy.
If the policy is deployed on several servers you will be prompted to select the servers for policy execution.
The information about current execution is available at
page and about all launches at the
viewer.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
143 EMS SQL Backup Administration console - User manual
4.6
Policy status
Waiting - the task has not been performed yet and it is waiting for its launch time.
Success – the task has been successfully completed.
Warning - the task has been completed with some minor errors. Warnings include out-ofrange parameters for Database Parameters Logger and some warnings on execution that do not affect the final result.
Fail – the task execution has failed.
Executing – the task is being executed at the moment.
Aborted – the execution of the task has been cancelled and it is in process of stopping it.
Missed – the expected time of task execution has passed but no launch of the task was detected
Unknown – information about task execution cannot be retrieved unless connection the server is set.
Ignored (task status) – the task was marked as ignored as a result of Problem resolving.
The overall server status is formed on the basis of policies statuses deployed there.
If all policies on a server have Suc c e ss status then the server status is Policies are
successful.
If at least one policy on a server has Wa r ning status then the server status is Policies
have warnings.
If at least one policy on a server has F a ile d status then the server status is Policies
have problems.
The overall group or solution status is formed on the basis of all policies statuses of servers included into group or solution.
If all policies of all servers in a group/solution have Suc c e ss status then the group/ solution status is Policies are successful.
If at least one policy on at least one server has Wa r ning status then the group/solution status is Policies have warnings.
If at least one policy on at least one server has F a ile d status then the group/solution status is Policies have problems.
© 1999-2015 EMS Database Management Solutions, Ltd.
144 EMS SQL Backup Administration console - User manual
4.7
Policy synchronization
When you are connecting to a server policies configurations stored on a server and in
EMS SQL Backup Console are compared. If they do not match notifications that describe problems appear.
Update Policy - if a policy was changed when a server was not connected.
If a policy was deployed on this single server you are offered to update server working copy of this policy on the basis of EMS SQL Backup Console configuration.
If a policy was deployed on several servers you are offered to update this policy on a server or make it independent that is to create a new policy on the basis of EMS SQL
Backup Console configuration on this server.
Install Policy - if a policy was created when a server was not connected. You are offered to install a server working copy of this policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
145 EMS SQL Backup Administration console - User manual
4.8
Launches
All policy tasks launches are listed in the Launches area on the
The following information about launches is provided: po lic y /t a sk/st e p na m e , pla nne d st a r t t im e , a c t ua l st a r t t im e , finish t im e , e xe c ut io n st a t us and m e ssa ge.
You can view a detailed information on every step execution by clicking the Show details button in the M e ssa ge column for the selected step.
The dialog appeared displays information about step execution start and finish time, result execution status and detailed information about maintenance actions results. If a step
© 1999-2015 EMS Database Management Solutions, Ltd.
146 EMS SQL Backup Administration console - User manual
has a failed status the reason of failed execution will be displayed in the Message field.
© 1999-2015 EMS Database Management Solutions, Ltd.
147 EMS SQL Backup Administration console - User manual
4.9
Resolve problem
The policy can result in
Wa r ning, Er r o r or M isse d status
. You can manage policy status overview at the
. After detecting that some of your policies tasks have failed you can resolve the problem tasks by m a r king t he pr o ble m a s igno r e d and, if needed, execute the task once again.
To run the Resolve task dialog double-click the erroneous policy at the Policies list at
Se r v e r s pa ge or use the corresponding menu item for task or policy.
There are two options that can be applied to the policy to correct the errors:
Mark problem task launches as ignored - ignore status of erroneous task(s)
Run problem task(s) - execute the erroneous task(s) immediately
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
148 EMS SQL Backup Administration console - User manual
4.10
Viewing Policy History
This chapter describes the way you can view history of policy launches.
To view the history use the Show history... item from the object popup menu. You can call this viewer for the group of servers, server, specific launch or policy.
The main frame of this dialog contains a table with complete information about policy launches: la unc h da t e ,
t a sk na m e , po lic y se r v e r , po lic y st a t us, r e sult m e ssa ge .
This table is customizable: you can change columns set, swap columns, set
and
The Refresh function ( F 5) updates the list of launches.
The Auto refresh mode sets automatic refreshing on. The window is refreshed when the new event is added to the log.
Filter output
One day
Information concerning policy launches performed not later than one day ago from the current date and time will be displayed.
One week
Information concerned policy launches performed not later than one week ago from the
© 1999-2015 EMS Database Management Solutions, Ltd.
149 EMS SQL Backup Administration console - User manual
current date and time will be displayed.
Custom
Enables setting date and time criteria. Information concerning policy launches performed
from the specified date to the specified date will be displayed.
Click the Apply button to set the filter.
Export
Export to HTML. Use this option to export history data to HTML file. By default the report is saved in the program's folder.
Export to Text. Use this option to export history data to TXT file. By default the report is saved in the program's folder.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
150 EMS SQL Backup Administration console - User manual
4.10.1 Sorting
You can perform data sorting in any table of EMS SQL Backup.
To perform sorting:
click the column header to perform ascending or descending sorting of this column values. When sorting is applied for a column, an arrow icon appears to the right of its title; use the column header popup menu items for this purpose: Sort Ascending or
Sort Descending.
To cancel sorting use the Clear Sorting item of the column header popup menu.
© 1999-2015 EMS Database Management Solutions, Ltd.
151 EMS SQL Backup Administration console - User manual
4.10.2 Grouping
When grouping by a column is applied, all records are displayed as subnodes to the grouping row value as displayed on the screenshot below. If necessary, you can group data by two or more columns. In this case column headers are displayed hierarchically.
To apply grouping:
enable the Group By Box area in the column header popup menu; drag the column header to the gray area at the top or use the Group by this
column popup menu item of the column header.
To reverse grouping:
drag the column header back; use the Ungroup item of the grouped column to clear a specific grouping; use the Clear grouping item of the Group by area popup menu to remove all grouping.
If necessary, you can group data by two or more columns. In this case column headers are displayed hierarchically, and data are grouped by these columns in the order the column headers appear in the Group by area.
The Group by area popup menu allows you to perform: Full Expand, Full Collapse and Clear Grouping.
You can disable or enable any column. Open the Column Chooser and drag any column header to disable this column from table. To add any disabled column drag the header back from the Column Chooser panel to the table.
© 1999-2015 EMS Database Management Solutions, Ltd.
152 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
153 EMS SQL Backup Administration console - User manual
4.10.3 Filtering
It is possible to make quick filtering by a specific value, or by bla nk/no n bla nk field criteria.
To activate quick filter press the button in the upper-right corner of the column header like at the screenshot below.
To apply manually defined conditions use the C ust o m item of the drop-down list.
Pick the logical expression from the lists on the left and define values in the fields on the right. Use the ' _' character to represent any single symbol, and use the '%' character to represent any series of symbols in the condition string. Relation between these conditions is defined with And/ O r options.
© 1999-2015 EMS Database Management Solutions, Ltd.
154 EMS SQL Backup Administration console - User manual
For more complex filtering use the Filter Builder. In this dialog you can set as much conditions as you need.
To launch the builder use the Filter Editor item of the column header popup menu.
Condition consists of Column, Logical operator and Value. Press any of this elements to change its value.
Two or more conditions form Condition group. Its popup menu allows you to change relations between child conditions ( And, Or, Not And, Not Or), to Add
Condition or Condition Group or to Remove Group. For root condition group the
Clear All operation is also available.
Note:
You can use the Inse r t keyboard button to add a condition to the selected group and the De le t e button to clear filter.
When any filter is applied the grey panel appears in the bottom of the grid.
© 1999-2015 EMS Database Management Solutions, Ltd.
155 EMS SQL Backup Administration console - User manual
Flag control enables/disables filtering. The arrow-down button opens the list containing recently applied filters.
To open current filter expression in the Filter Builder press the Edit Filter button.
The Close button disables panel and cancels filtering.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
V
5
158 EMS SQL Backup Administration console - User manual
Templates
This chapter describes the way you can manage policy, service task and schedule templates.
EMS SQL Backup has a set of standard pr e se t t e m pla t e s for easy creation of policies and their elements. You can create your own policy templates or widen the template library on the basis of already created objects.
To activate the template management section switch to the Templates tab:
How to create a new template:
Proceed to the Templates tab and add new template in the appropriate section.
How to create a template from the existing policy:
Proceed to the
tab and select Create template from policy from policy's popup
menu.
© 1999-2015 EMS Database Management Solutions, Ltd.
159 EMS SQL Backup Administration console - User manual
The program provides a set of standard templates.
To Import and Export templates to an external *.xm l file, use the
Import
Template and Export Template context items correspondingly.
To create a template copy select it in the list of templates and use the
Clone
Template context menu item.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
160 EMS SQL Backup Administration console - User manual
5.1
Policy templates
The Policy Templates page allows you to manage policy templates.
Po lic y t e m pla t e is a preset policy that can be used for creating new policies on its basis.
You can add or edit its settings in the process of policy creation afterwards.
You can manage policy templates using the buttons on the Toolbars or popup menu.
Add New Template (C t r l+Inse r t ) - launches the
wizard for creating a new policy template
Edit Template - opens the policy template editor
Delete Template (C t r l+De le t e ) - removes the template
Export Template.
Import Template
Clone Template - create a copy of the selected template
How to create a policy based on the template:
Use the Maintenance Policies | Create Policy from Template item form the popup menu at the
or use the Create from templates item from the popup menu at the
.
© 1999-2015 EMS Database Management Solutions, Ltd.
161 EMS SQL Backup Administration console - User manual
How to create a template from the existing policy:
Proceed to the
page and select Create template from policy from policy's
popup menu.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
162 EMS SQL Backup Administration console - User manual
5.1.1
Creating template from policy
If you already have a configured policy you can create a template on its basis which can be later used for creating a new policy. It will contain all tasks, steps and schedules of this policy with their defined parameters.
In order to create a template based on a policy select the necessary policy in the list on the Policies tab and then choose the Create Template from Policy context menu item.
In the dialog appeared enter a Template name and define whether databases selected in the policy should be saved in the template being created.
This template will be automatically added to the
© 1999-2015 EMS Database Management Solutions, Ltd.
163 EMS SQL Backup Administration console - User manual
5.2
Task templates
The Task Templates page allows you to manage task templates.
Task template is a preset template, containing steps and schedules, that can be used for creating new tasks on its basis. You can add or edit its settings in the process of task creation.
You can manage task templates using the buttons on the Toolbars or popup menu.
Add New Template
(C t r l+Inse r t ) - launches the
wizard for creating a new task template
Edit Template - opens the
Delete Template (C t r l+De le t e ) - removes the template
Export Template
Import Template
Clone Template - create a copy of the selected template
How to create a task based on the template:
When you are prompted to create a task on
click the
Create New
from Template button and select the template or several templates at once from the list.
© 1999-2015 EMS Database Management Solutions, Ltd.
164 EMS SQL Backup Administration console - User manual
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
165 EMS SQL Backup Administration console - User manual
5.2.1
Create task wizard
This wizard will guide you through creating a task template that EMS SQL Backup can run on a regular basis.
Task in EMS SQL Backup is a set of scheduled steps to be performed on the server(s) or database(s).
You can schedule routine database administration steps.
Wizard steps:
Set service task name and description
Define a set of steps for service task
Define a schedule for service task
© 1999-2015 EMS Database Management Solutions, Ltd.
166 EMS SQL Backup Administration console - User manual
5.2.1.1
Set service task name and description
At this step you need to specify Name and Description for the task being created.
© 1999-2015 EMS Database Management Solutions, Ltd.
167 EMS SQL Backup Administration console - User manual
5.2.1.2
Define a set of steps for service task
Use this step of the wizard to build a list of
steps in execution order to be performed on
task launch.
Create new step - create a new step. You will be prompted to select
the dialog and proceed to the
and create a step based on its settings. If you select several step templates the corresponding number of steps will be created.
Edit step - change step settings.
Delete step - remove the step.
Copy step to templates - create a template based on the selected step.
You can view each step Description, if any, in the corresponding field.
Use and buttons to reorder Steps.
© 1999-2015 EMS Database Management Solutions, Ltd.
168 EMS SQL Backup Administration console - User manual
Terminate task on step fail
If this option is checked then the execution of a whole task is aborted as a result of one of the steps fail.
© 1999-2015 EMS Database Management Solutions, Ltd.
169 EMS SQL Backup Administration console - User manual
5.2.1.3
Define schedule for service task
At this step you need to set schedule(s) to be used for task launch.
Create new schedule. Clicking this button opens the
Schedule Editor allowing you to
create a schedule.
Create New Schedule from Template. Use this button to create schedule from template. On pressing this button the Item selection dialog is opened allowing you to select any of the available templates and create a schedule based on its settings. If you select several schedule templates the corresponding number of schedules will be created.
Edit Schedule. This button opens selected schedule for
Delete Schedule. Click this button to remove selected schedule from the list.
Copy step to templates. Use this button to create a template based on the selected schedule.
You can view each step Description, if any, in the corresponding field.
© 1999-2015 EMS Database Management Solutions, Ltd.
170 EMS SQL Backup Administration console - User manual
5.2.1.4
Creating task
At this step of the wizard you can see the summary of all options set at the previous steps.
You can Verify the choices made in the wizard in the corresponding area and click the
Finish button to create the task.
© 1999-2015 EMS Database Management Solutions, Ltd.
171 EMS SQL Backup Administration console - User manual
5.2.2
Task editor
The Task editor allows you to view and edit task parameters. It provides the same set of options as
Task editor tabs:
© 1999-2015 EMS Database Management Solutions, Ltd.
172 EMS SQL Backup Administration console - User manual
5.2.2.1
Name and description
At this section you can view\edit task Na m e and De sc r ipt io n.
© 1999-2015 EMS Database Management Solutions, Ltd.
173 EMS SQL Backup Administration console - User manual
5.2.2.2
Steps
The Steps section allows you to view and edit the set of steps in the execution order.
Create new step - create a new step. You will be prompted to select
the dialog and proceed to the
Edit step - change step settings.
Delete step - remove the step.
Copy step to templates - create a template based on the selected step.
Use and buttons to reorder Steps.
Terminate task on step fail
If this option is checked then the execution of a whole task is aborted as a result of one of the steps fail.
You can view each step Description, if any, in the corresponding field.
© 1999-2015 EMS Database Management Solutions, Ltd.
174 EMS SQL Backup Administration console - User manual
5.2.2.3
Schedules
The Schedules section allows you to view and edit schedule(s) for task execution.
Create new schedule. This button opens the
allowing you to create a schedule.
Create New Schedule from Template. Use this button to create schedule from template. On pressing this button the Item selection dialog is opened allowing you to select any of the available templates or create a new one.
Edit Schedule. This button opens selected schedule for
Delete Schedule. Click this button to remove selected schedule from the list.
Copy step to templates. Use this button to create a template based on the selected schedule.
You can view each step Description, if any, in the corresponding field.
© 1999-2015 EMS Database Management Solutions, Ltd.
175 EMS SQL Backup Administration console - User manual
5.2.3
Creating template from task
If you already have a service task with defined configuration you can create a template on its basis which can be later used for creating a new service task. It will contain all steps and schedules of this task with their defined parameters.
In order to create a template based on a service task open the policy it is included in and select the Copy to Templates task context menu item or use the corresponding button.
In the dialog appeared enter a Template name and define whether databases selected in the task should be saved in the template being created.
This template will be automatically added to the
© 1999-2015 EMS Database Management Solutions, Ltd.
176 EMS SQL Backup Administration console - User manual
5.3
Step templates
The Step Templates section allows you to manage
You can manage step templates using the buttons on the Toolbars or popup menu.
Add New Template
(C t r l+Inse r t ) - launches the
wizard for creating a new step template
Edit Template - opens the
Delete Template (C t r l+De le t e ) - removes the template
Export Template
Import Template
Clone Template - create a copy of the selected template
How to create a step based on the template:
When you are prompted to create a step on
Create Step from Template button and select the template or several templates at once from the list.
© 1999-2015 EMS Database Management Solutions, Ltd.
177 EMS SQL Backup Administration console - User manual
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
178 EMS SQL Backup Administration console - User manual
5.3.1
Creating template from step
If you already have a configured
maintenance action included in a policy you can create a
template on its basis which can be later used for creating a new step. All parameters that have been defined during the step creation will be saved in this template.
In order to create a template based on a step open the policy it is included in and select the Copy to Templates step context menu item or use the corresponding button.
In the dialog appeared enter a Template name and define whether databases selected in the step should be saved in the template being created.
This template will be automatically added to the
© 1999-2015 EMS Database Management Solutions, Ltd.
179 EMS SQL Backup Administration console - User manual
5.4
Schedule template
The Schedule Templates section allows you to manage Schedule Templates.
To launch policy you can use the local time on each server or the local console time.
You can manage step templates using the buttons on the Toolbars or popup menu.
Add New Template
(C t r l+Inse r t ) - opens the dialog for
Edit Template - opens the
Delete Template (C t r l+De le t e ) - removes the template
Export Template
Import Template
Clone Template - create a copy of the selected template
How to create a step based on the template:
When you are prompted to create a schedule on
Create Schedule from Template button and select the template or several templates at once from the list.
© 1999-2015 EMS Database Management Solutions, Ltd.
180 EMS SQL Backup Administration console - User manual
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
181 EMS SQL Backup Administration console - User manual
5.4.1
Schedule editor
This dialog allows you to create/edit schedule(s).
At the Name and Description tab set the name of the schedule and its description.
At the General tab of the editor set parameters for the schedule.
Enabled
This option indicates whether schedule is active or not.
Schedule type
This section allows you to define schedule type.
Start automatically when SQL Server Agent starts
This option indicates that tasks associated with this schedule will be launched when SQL
Server Agent is started. Select this option to launch tasks associated with this schedule when SQL Server Agent is started.
© 1999-2015 EMS Database Management Solutions, Ltd.
182 EMS SQL Backup Administration console - User manual
Start whenever the CPUs become idle
Use this option to start tasks associated with this schedule whenever CPUs become idle.
This option indicates that tasks associated with the schedule will be launched whenever
CPUs become idle.
Start once
This option can be used when a single task performance should be scheduled.
Recurring from date
Select this option if recurring task performance needed.
Frequency
Restrict task execution start and finish date in Occurs
(Da ily , We e kly , M o nt hly ) from
date to date fields and set its interval of recurrence at Recurs every
N days.
Daily frequency
Set exact time at Occurs once or interval at Recurs every ... from ... to ... for the schedule.
NB:
When creating the policy you can specify whether local Console or server time will be used for execution.
© 1999-2015 EMS Database Management Solutions, Ltd.
183 EMS SQL Backup Administration console - User manual
5.4.2
Creating schedule from template
If you already have a configured schedule included in a policy you can create a template on its basis which can be later used for creating a new schedule. All parameters that have been defined during the schedule creation will be saved in this template.
In order to create a template based on a schedule open the policy this schedule is included in and select the Copy to Templates schedule context menu item or use the corresponding button.
In the dialog appeared enter a Template name for the template being created.
This template will be automatically added to the
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
VI
6
186 EMS SQL Backup Administration console - User manual
Activities
At this tab you can view all processes initiated by EMS SQL Backup:
The result
status of the task execution is displayed in the Status column.
The same information concerning tasks execution can be retrieved from the
viewer.
To see more detailed log refer to the Task Details section below. You can create a detailed bugreport by using the Copy As Bugreport context menu item. After the bugreport is generated you can paste it to any text editor.
The launch of policies created from other instances of the program is also displayed at this tab; such policies are displayed as Unr e gist e r e d in Po lic y Na m e column.
Refresh
Refreshes the Activities tab. You can also use F 5 key for this action.
Stop task
Interrupts task execution.
Show task history
Opens the
Server History viewer for the selected instance.
© 1999-2015 EMS Database Management Solutions, Ltd.
187 EMS SQL Backup Administration console - User manual
Show all tasks \ Show only active tasks
Toggles between displaying all tasks performed within 24 hours and tasks that are being executed at the moment.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
VII
7
190 EMS SQL Backup Administration console - User manual
Maintenance Actions
Step in EMS SQL Backup is a basic component of server maintenance. It sets the maintenance action to be performed over the database(s) and is used in
and
Steps can be run separately for a single database\server for performing immediate maintenance operation. Steps can be included into
Polices for scheduled performing.
Note:
To run the immediate maintenance action use the Quick Maintenance Action item from the database\server popup menu.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
191 EMS SQL Backup Administration console - User manual
7.1
Creating Steps
Step in EMS SQL Backup is a basic component of server maintenance:
To perform im m e dia t e Step execution use Quick Maintenance Actions | <Step
name> popup menu item in the
© 1999-2015 EMS Database Management Solutions, Ltd.
192 EMS SQL Backup Administration console - User manual
Step should be included into
Policy for scheduled execution. To add a Step to Policy you
need to specify the Step at
To create a
Step Template or add a Step to the Policy or Task template go to the
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
193 EMS SQL Backup Administration console - User manual
7.1.1
Backup Database
Backup Database step allows you to make a backup copy of one or several databases and transaction log.
To launch the backup job im m e dia t e ly select
Quick Maintenance Actions |
Backup Database popup menu item at the
To perform sc he dule d ba c kup on a regular basis you need to include this task into
1. At the
Create Policy wizard click Create new step button and select
Backup Database step type.
2. Also, you can create a new Step Template for further use selecting Backup Database
step type at the
Note:
To restore a database from backup use
wizard.
Steps of the Backup Database wizard:
Defining EMS SQL Backup settings
Specifying backup verifying options
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
194 EMS SQL Backup Administration console - User manual
7.1.1.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step is skipped for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
195 EMS SQL Backup Administration console - User manual
7.1.1.2
Selecting database provider
Select the backup provider at this step.
Use EMS SQL Backup provider if you need to backup multiple databases with advanced options. This kind of backup is quicker and creates compressed backup files. The files created with EMS SQL Backup provider cannot be restored using standard server tools; you need either use EMS SQL Backup restore or
the backup file to SQL Server type.
Use SQL Server provider to perform backup of a single database using native SQL
Server tools.
© 1999-2015 EMS Database Management Solutions, Ltd.
196 EMS SQL Backup Administration console - User manual
7.1.1.3
Selecting database
Use this step of the wizard to select database(s) for backup operation.
Backup Type
Use this parameter to define the backup type:
Da t a ba se - full (a full database backup which backs up the entire database including the transaction log)
Da t a ba se - diffe r e nt ia l (a differential backup which only records the changes made to the data in the database after the last full database backup)
T r a nsa c t io n lo g (a sequence of log backups provided for a continuous chain of transaction information to support recovery forward from database, differential, or file backups)
Set Remove inactive entries option on to truncate the live transaction log when you create a backup.
Set Leave in restoring state on to leave the database in restoring state to be unavailable to users until it is completely restored.
Set Copy-only option to create a copy-only backup which is a SQL Server backup that is independent of the sequence of conventional SQL Server backups.
© 1999-2015 EMS Database Management Solutions, Ltd.
197 EMS SQL Backup Administration console - User manual
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in
Databases
If EMS SQL Backup
provider is used, you can select multiple databases, in case of SQL
Server backup only one database can be specified.
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be backed up.
All user
Select this option to back up user databases only.
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
By list
This option allows you to select databases manually.
If you are creating a step in a policy template then you are able to enter databases manually.
© 1999-2015 EMS Database Management Solutions, Ltd.
198 EMS SQL Backup Administration console - User manual
Use the button or Ins key to define database name. After you click the Ent e r button the database will be added to the list.
Any database from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
199 EMS SQL Backup Administration console - User manual
7.1.1.4
Defining SQL Backup settings
Use this step of the wizard to define EMS SQL Backup backup settings. This step is available only on creating back up
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
Enable the option to compress backup.
Compression Level
Defines backup file compression level. Use '1' for best speed and '4' for best compression.
Encryption
Enable the option to encrypt backup.
Encryption Password
Set password that is used for backup encryption.
© 1999-2015 EMS Database Management Solutions, Ltd.
200 EMS SQL Backup Administration console - User manual
Confirm password
Confirm the password specified as an encryption password above.
Encryption Type
Select the encryption algorithm.
© 1999-2015 EMS Database Management Solutions, Ltd.
201 EMS SQL Backup Administration console - User manual
7.1.1.5
Setting backup options
At this step you can define backup options. This step is available only on creating back up
Block size
Define the size of a data block in bytes. The supported sizes are 512, 1024, 2048, 4096,
8192, 16384, 32768, and 65536 (64 KB) bytes. Possible values are: De fa ult, T o r e st o r e fr o m C D (2 KB), O t he r (i.e. you can specify an arbitrary value).
If necessary, you can set a Password for the backup: enter the password twice in the respective edit fields.
Write type
Append / Overwrite
Select whether the media should be appended or overwritten during the backup operation.
By appending another backup set to existing media, the previous contents of the media remain intact, and the new backup is written after the end of the last backup on the media.
Backup compression
© 1999-2015 EMS Database Management Solutions, Ltd.
202 EMS SQL Backup Administration console - User manual
This option enables backup compression overriding the server-level default (for SQL
Server 2008 Enterprise and later versions).
© 1999-2015 EMS Database Management Solutions, Ltd.
203 EMS SQL Backup Administration console - User manual
7.1.1.6
SQL Server
7.1.1.6.1 Setting backup options for incremental backup
For SQL Server backups the additional step of the wizard becomes available:
Buffer count
Specifies the total number of I/O buffers to be used for the backup operation.
Max transfer size, KB
Specifies the largest unit of transfer in bytes to be used between SQL Server and the backup media.
Note:
If specified value is 0 then the default value is used.
© 1999-2015 EMS Database Management Solutions, Ltd.
204 EMS SQL Backup Administration console - User manual
7.1.1.7
Setting file options
Use this step to define backup file options.
Backup folder
Specify backup destination directory. For your convenience {ba c kup_r o o t _fo lde r } and
{se r v e r } tags are provided. The directory which the {ba c kup_r o o t _fo lde r } tag stands for is configured in the
Server-side components Properties dialog.
You can check availability of the defined folder by clicking the corresponding button.
Note:
The Check button is available only if backup is configured on a single server.
Backup file name
Define backup file name. Type backup file name manually or form it using variables. For your convenience {se r v e r }, {da t a ba se }, {ba c kup_t y pe }, {da t e } and {lo gin} tags are provided. If you want to upload backup file to an
external storage it is recommended to
use the {da t e } tag for the backup file to have a unique name.
Note:
To insert a tag in the field simply click it in the list of Available tags.
Backup to a single file
Select this option to backup all selected databases to a single file.
© 1999-2015 EMS Database Management Solutions, Ltd.
205 EMS SQL Backup Administration console - User manual
Backup to several files
This option indicates that backup should be split into several files. Splitting the backup can in some cases speed up the backup process.
Split by size
Indicates that backup file will be split to volumes of the specified size.
Split by database
Indicates that each database will be backed up into a separate file.
© 1999-2015 EMS Database Management Solutions, Ltd.
206 EMS SQL Backup Administration console - User manual
7.1.1.8
Specifying backup verifying options
Use this step to configure backup verifying options.
Verify backup when finished (VERIFYONLY)
Check this option to enable backup verification. Verifying a backup checks that the backup is intact physically, to ensure that all the files in the backup are readable and can be restored, and that you can restore your backup in the event you need to use it.
Perform checksum before writing to media (CHECKSUM)
This option enables/disables checksum verification before writing to the backup media.
Before writing a page to the backup media, BACKUP verifies the page, if this information is presented on the page. BACKUP generates a separate backup checksum for the backup streams. Restore operations can optionally use the backup checksum to validate that the backup is not corrupted. The backup checksum can optionally be used at restore time.
Using backup checksums may affect workload and backup throughput.
Continue on error
This option determines whether the backup operation will be stopped or forced to continue despite encountering errors such as invalid checksums or torn pages.
© 1999-2015 EMS Database Management Solutions, Ltd.
207 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
208 EMS SQL Backup Administration console - User manual
7.1.1.9
Specifying cloud connections
Use this step to set cloud connections for storing backups. You can add unlimited number of remote and local storage engines. Copies of backup files will be uploaded to all of the specified storages.
The connections to the following storages are supported:
You can create a new connection or add an existing one. On adding an existing connection you will be offered to choose among connections specified in
Connections tab of the Options dialog.
If you create a new connection then after specifying its properties you will be offered to save it, so this connection will be available in
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
Note:
If the backup file with the specified name already exists in the storage then it will not be replaced and the upload will be failed.
© 1999-2015 EMS Database Management Solutions, Ltd.
209 EMS SQL Backup Administration console - User manual
Do not store backup copies locally
Check this option to delete backup files from your local disk after successful upload to the cloud storage.
Note:
Backup files will not be deleted from the local disk if the upload to at least one specified cloud fails.
© 1999-2015 EMS Database Management Solutions, Ltd.
210 EMS SQL Backup Administration console - User manual
7.1.1.10 Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the operation.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
211 EMS SQL Backup Administration console - User manual
7.1.2
Restore Database
Restore Database Wizard allows you to perform the database restore operation on your
SQL Server system. The wizard provides flexible customization and is easy-to-use. Using this wizard you can restore backup files stored locally on the server as long as the backups stored on the remote
Restore operation is used to rebuild a damaged or corrupted database that has been backed up using
. You can restore the entire database, part of a database, transaction logs.
To start the operation use the Quick Maintenance Action |
Restore Database
item of the server\database popup menu or the Restore Database item of the database context menu.
This wizard will guide you through the restore database process step by step.
Note:
This step cannot be included into
. It can be only launched manually from
Quick Maintenance Actions.
Steps of the Restore Database wizard:
Specifying the elements of backup
Defining target database parameters
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
212 EMS SQL Backup Administration console - User manual
7.1.2.1
Selecting available backup
At this step you need to select the backup for database restore.
Backup provider
You need to select the provider that had been used for
. Depending on the selection the restore procedure will be performed by EMS SQL Backup or SQL
Server means.
Backup Source
Hist o r y - shows the list of the available database backups for the specified server and database. Only backups of corresponding provider types are displayed.
F ile s - allows selecting individual backup files from the server.
Server
Select the server to restore database from.
Database
This option is available for Hist o r y ba c kup so ur c e and contains databases available for the selected server. Choose the database you need to restore and the list of the backups available for the selected database will be displayed below. You need to select the backup to restore and proceed to the
.
© 1999-2015 EMS Database Management Solutions, Ltd.
213 EMS SQL Backup Administration console - User manual
In the
St o r a ge column you can view
cloud storages where the backup has been uploaded.
If it is not found locally you will be able to search for it in the cloud storage and then download it.
When restoring on the chosen date using the history the search of the needed for restoring full and differential backups is performed. For example, if you are restoring a transaction log then all backups will be found: starting from the full to all transaction log backups. All detected backups will be restored sequentially to ensure a full restoring.
You can add backup files
manually from the local or network folder or cloud by choosing
the Select files option.
Note:
If you have selected the backup that is not found on the local drive it will be searched in the cloud automatically on proceeding to the next step. The search is performed in the clouds that were specified during the backup and in the similar cloud storages from the
Press the Next button to proceed to the
Specifying the elements of backup
(for
Hist o r y backup source) or
Defining the target database parameters
(for
F ile s backup source).
© 1999-2015 EMS Database Management Solutions, Ltd.
214 EMS SQL Backup Administration console - User manual
7.1.2.1.1 Selecting files manually
Using the Select files option you can add manually add backup file stored on the local/ network drive or
For every selected file displays additional information: Da t e , Da t a ba se , T y pe , Enc r y pt e d,
F ir st LSN, St o r a ge na m e , La st LSN, C he c k Po int LSN, Diffe r e nt ia l Ba se LSN.
Add Local File/Add Network File
Click this button to search for the backup files on the local (server) or network machine.
If backup consists of multiple files (this option is only available for
you need to specify the first file from the chain. If the backup file includes several databases you are only allowed to select one database at a time.
Add Cloud File
When you select the Add Cloud File option the Select cloud dialog appears. Here you need to specify the cloud which contains the necessary backup file.
You can create a new connection or add an existing one. On adding an existing
© 1999-2015 EMS Database Management Solutions, Ltd.
215 EMS SQL Backup Administration console - User manual
connection you will be offered to choose among connections specified in
Connections tab of the Options dialog.
If you create a new connection then after specifying its properties you will be offered to save it, so this connection will be available in
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
After the cloud is added, click the Ok button to start the process of retrieving files from the cloud. If the connection to the cloud is established and the user has sufficient privileges for getting the list of files, the Select file dialog appears. It contains the list of files located on the cloud.
Select the necessary backup file and specify the Local path for download - the path on your local drive where the backup files will be saved after download.
Note:
The file for restoring will be added after it is downloaded from the cloud.
Clear
Removes the selected file from the list.
Clear All
Removes all files from the list.
Use and buttons to reorder selected files.
Set Password
If the chosen backup is encrypted then click the button to input the password for the backup in the opened dialog:
© 1999-2015 EMS Database Management Solutions, Ltd.
216 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
217 EMS SQL Backup Administration console - User manual
7.1.2.2
Specifying the elements of backup
This step allows you to select history that will be used to restore the database. This step is not available if F ile s has been selected as backup source at the previous step. The order is generating automatically.
Backup set parts necessary for successful database restore process should be selected carefully. Please check that all backups required for full restore are selected.
To work with encrypted backups, enter the password by pressing the Set password button or double-clicking the required backup.
The first column indicates whether the file from the set is available for restoring or not:
- backup file is found on the local drive;
- backup file is found in the cloud storage;
- backup file is not found.
In the Backup file column you can see where the file is located - the local path or the cloud storage.
If the file is not stored locally or was not found automatically in the cloud, you can select this file in the list and click the Find in cloud button.
© 1999-2015 EMS Database Management Solutions, Ltd.
218 EMS SQL Backup Administration console - User manual
In the opened Select cloud dialog you need to add clouds where the backup file will be searched.
By default, this dialog lists the clouds where the backup file can be probably situated - clouds that were specified during the backup and in the similar cloud storages from the
You can create a new connection or add an existing one. On adding an existing connection you will be offered to choose among connections specified in
Connections tab of the Options dialog.
If you create a new connection then after specifying its properties you will be offered to save it, so this connection will be available in
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
After you have specified clouds, click the Ok button to start searching. The search is performed in the clouds one after another; when the file is found on one of the clouds you are offered to use this cloud and stop searching. You can continue searching as well.
After all backup files are found click the Next button to proceed to the
Defining target database parameters step of the wizard.
Note:
If you have files found in clouds you will be offered to download them before proceeding to the next step. It is necessary action for the database restoring. Files are downloaded to the folder that was specified in the backup settings.
© 1999-2015 EMS Database Management Solutions, Ltd.
219 EMS SQL Backup Administration console - User manual
7.1.2.3
Defining target database parameters
Use this step of the wizard to define the target database parameters.
Restore as
Select Exist ing da t a ba se to restore to an existing database, or Ne w da t a ba se if you want to create a new database.
Database name
Select the database to perform restoring on from the list of all available databases on the specified host.
Verify only (RESTORE VERIFYONLY)
Check this option to enable selected backup set verification. Verifying a backup checks that the backup is intact physically, to ensure that all the files in the backup are readable and can be restored, and that you can restore your backup in the event you need to use it.
If the New database option is selected, then database name should be specified in the corresponding field. If you are restoring a database from the diffe r e nt ia l c o py the Ne w da t a ba se option is unavailable.
© 1999-2015 EMS Database Management Solutions, Ltd.
220 EMS SQL Backup Administration console - User manual
The grid displays logical and physical names of the files. You can rename the files and groups in the grid or change file folder in the appropriate dialog, clicking the ellipsis button.
Use the ellipsis button to set files for the database that is being restored.
Click the Next button to proceed to the
Specifying restoring options step of the wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
221 EMS SQL Backup Administration console - User manual
7.1.2.4
Specifying restore options
At this step you need to set recovery options and options for transaction log restore.
Recovery options
This group of options allows you to specify the recovery options to be applied to the restore operation.
Recovery (rollbacks all uncommitted transactions)
This option specifies that the restore operation rolls back any uncommitted transactions.
After the recovery process the database is ready for use.
No recovery (leaves the database in the restoring state)
This option specifies that the restore operation does not roll back any uncommitted transactions.
NB:
When this option is selected, the database is not usable in this intermediate, nonrecovered state.
When used with a file or filegroup restore operation, this option forces the database to remain in the restoring state after the restore operation. This is useful in either of the following situations: a restore script is being run and the log is always being applied; a sequence of file restores is used and the database is not intended to be usable between two of the restore operations.
Standby (leaves database in read-only and standby mode)
This option allows the database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.
Undo file name
Specify the undo file name, so that the recovery effects can be undone. The same undo file can be used for consecutive restores of the same database.
NB:
If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.
© 1999-2015 EMS Database Management Solutions, Ltd.
222 EMS SQL Backup Administration console - User manual
Backup the transaction log before proceeding with the restore is checked
Check this option to perform the tail-log backup before the restore. Note that the 'WITH
NORECOVERY' option will be used in the backup operation so that the database state will be changed to Recovery. This guarantees that the database does not change after the tail-log backup.
Note:
The tail-log backup process starts automatically on proceeding to the next step.
Restore tail of log automatically
If you check this option the tail-log backup file will be added to the backup set for restoring.
Replace (WITH REPLACE)
This option specifies that SQL Server database will be overwritten if it exists.
Continue on error
This option determines whether the restore operation will be stopped or forced to continue if an error occurs.
Transaction log options
This section is available only if the Transaction log restore type was selected at the
Specifying the elements of backup step.
© 1999-2015 EMS Database Management Solutions, Ltd.
223 EMS SQL Backup Administration console - User manual
Restore all records of transaction log
Select this option to make a complete restore from transaction log backup.
Restore all records of transaction log before
This option indicates that database restore is based on the transaction log records added before specified date. Pick date and specify time in the fields below.
Restore all records of transaction log up to market transaction
Use this option to restore database to the state when marked transaction was committed.
Mark name
Specify the needed mark in the field.
Look for marks at or after
You need to define the start date time point to search for the marked transaction from.
Include marked transaction
Enable this option to restore database to the state right after the transaction committing. If the option is disabled then database will be restored to the state right before the transaction committing.
Kill connections
Set this option to kill all existing connections to the database before starting the restore process otherwise restore will fail if any connections exist.
Note:
If this option is checked when the Backup the transaction log before
proceeding with the restore is checked, then connections will be killed before the backup tail-log process starts.
Check orphaned users
Check this option to detect orphaned users on restore process.
Drop orphaned users
If this option is checked then found orphaned users will be dropped on the restore process.
© 1999-2015 EMS Database Management Solutions, Ltd.
224 EMS SQL Backup Administration console - User manual
7.1.2.5
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the operation.
After verifying the choices made in the wizard click the Run button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
225 EMS SQL Backup Administration console - User manual
7.1.3
Execute SQL Server Agent job
Execute SQL Server Agent job step allows you to execute an SQL Server Agent job on the server.
A job is a specified set of operations performed sequentially by SQL Server Agent. A job can perform a wide range of activities, including running Transact-SQL scripts, commandline applications, Microsoft ActiveX scripts, Integration Services packages, Analysis
Services commands and queries, or Replication tasks. Jobs can run repetitive or scheduled tasks, and they can automatically notify operators of job status by generating alerts.
Before using SQL Server jobs, make sure that the SQL Server Agent service is running.
Note:
The
status of this step execution shows whether a job has been launched or failed
to launch, and not the result of job execution.
To launch the job im m e dia t e ly select Quick Maintenance Actions |
Execute SQL
Server Agent job popup menu item in the
To perform sc he dule d e xe c ut io n of SQL Server Agent job on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Execute SQL Server Agent job type.
2. Also, you can create a new Step Template for further use selecting Execute SQL
Server Agent job step at the
Steps of the Execute SQL Server Agent job wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
226 EMS SQL Backup Administration console - User manual
7.1.3.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
227 EMS SQL Backup Administration console - User manual
7.1.3.2
Selecting job
Use this step to set the correspondence between instances and jobs to be executed.
Select the server(s) in the Servers list and add the job from the Available SQL Server
Agent jobs list to Selected SQL Server Agent jobs in execution order list using button or double-clicking.
Note:
Selecting servers is not available in Template mode. If the server name icon is grayed out the Backup service is not run (installed) or there is no connection to the server.
You can re-arrange jobs order for execution using arrow buttons on the right
Use Delete button or De le t e key to remove job from the list.
.
© 1999-2015 EMS Database Management Solutions, Ltd.
228 EMS SQL Backup Administration console - User manual
7.1.3.3
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start job(s) execution.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
229 EMS SQL Backup Administration console - User manual
7.1.4
Execute T-SQL statement
Execute T-SQL statement step allows you to execute any T-SQL statement.
To launch the T-SQL statement im m e dia t e ly select Quick Maintenance Actions |
Execute T-SQL statement popup menu item in the
To perform sc he dule d T -SQ L st a t e m e nt e xe c ut io n on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Execute T-SQL statement step type.
2. Also, you can create a new Step Template for further use selecting Execute T-SQL
statement step at the
Steps of the Execute T-SQL statement wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
230 EMS SQL Backup Administration console - User manual
7.1.4.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
231 EMS SQL Backup Administration console - User manual
7.1.4.2
Selecting server
Use this step of the wizard to select server(s) for T-SQL statement execution.
Servers
Select the servers to execute the T-SQL statement on. If the servers name icon is grayed out the Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Server description and version are displayed on the right panel.
© 1999-2015 EMS Database Management Solutions, Ltd.
232 EMS SQL Backup Administration console - User manual
7.1.4.3
Defining T-SQL statement
Use this step to define a T-SQL statement to be executed.
Type the T-SQL statement in the Query text tab.
Use the Execute timeout field to define time restriction for checking the statement procedure.
Use the Check statement button to run the statement on the server in PARSEONLY mode to ensure that T-SQL statement is correct. The detailed log of errors is displayed at the Errors tab.
Note:
The Check statement button is not available in Template mode.
Use Load\Save buttons for loading or saving the script from\to an internal file.
All errors are displayed on the Errors tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
233 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
234 EMS SQL Backup Administration console - User manual
7.1.4.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start T-SQL statement execution.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
235 EMS SQL Backup Administration console - User manual
7.1.5
History Cleanup
History Cleanup step allows you to clean the selected instance history (backup history and SQL Agent jobs).
To launch history cleanup im m e dia t e ly select Quick Maintenance Action |
History Cleanup popup menu item in the
To perform sc he dule d hist o r y c le a ning on regular basis you need to include this task into
:
1. At
Create Policy wizard click Create new step button and select
History Cleanup step type.
2. Also, you can create a new Step Template for further use selecting History Cleanup
step at the
Steps of the History Cleanup wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
236 EMS SQL Backup Administration console - User manual
7.1.5.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
237 EMS SQL Backup Administration console - User manual
7.1.5.2
Selecting server
Use this step of the wizard to select servers for history cleanup.
Servers
Select the Server(s) to clean history. If the servers name icon is grayed out the Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Server description and version are displayed on the right panel.
© 1999-2015 EMS Database Management Solutions, Ltd.
238 EMS SQL Backup Administration console - User manual
7.1.5.3
Selecting historical data
At this step of the wizard you need to define the history that should be deleted.
MS SQL Server
The following options are intended to delete MS SQL
and some log info concerning specific jobs performed by MS SQL Server means.
Backup and restore history data older than
Enable the option to clean the history of the MS SQL Server backup and restore operations that are older than specified period of time. After cleanup the information about SQL Server type backups performed by EMS SQL Backup or by SQL Server itself will be removed from the server.
History data of Server Agent job older than
Enable the option to clean the history of the SQL Server Agent job(s) that are older than specified period of time. After this cleanup all information about SQL Server Agent job execution will be removed from the server.
EMS SQL Backup
The following options are intended to delete some log info concerning tasks performed by
EMS SQL Backup.
© 1999-2015 EMS Database Management Solutions, Ltd.
239 EMS SQL Backup Administration console - User manual
Backup and restore history data older than
Enable the option to clean the history of the backup and restore operations that are older than specified period of time. After cleanup the information about EMS SQL Backup type backups will be removed from EMS SQL Backup.
Log records of EMS SQL Backup older than
Enable the option to clean the history of the EMS SQL Backup task(s) execution that are older than specified period of time. After cleanup the information about executed tasks will be removed from
© 1999-2015 EMS Database Management Solutions, Ltd.
240 EMS SQL Backup Administration console - User manual
7.1.5.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start cleaning the history data.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
241 EMS SQL Backup Administration console - User manual
7.1.6
Database Integrity Check
Database Integrity Check step allows you to perform the check database operation on the server (the DBCC CHECKDB Transact-SQL statement is issued). This operation is used to check the allocation, structural, and logical integrity of all the objects in the specified database.
To launch the database check im m e dia t e ly select Quick Maintenance Actions |
Database Integrity Check popup menu item in the
To perform sc he dule d da t a ba se int e gr it y c he c k on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Database Integrity Check step type.
2. Also, you can create a new Step Template for further use selecting Database
Integrity Check step at the
tab.
Steps of the Database Integrity Check wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
242 EMS SQL Backup Administration console - User manual
7.1.6.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
243 EMS SQL Backup Administration console - User manual
7.1.6.2
Selecting databases
Use this step of the wizard to select databases for integrity check.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Databases
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be checked.
All user
Select this option to check user databases only.
© 1999-2015 EMS Database Management Solutions, Ltd.
244 EMS SQL Backup Administration console - User manual
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
By list
This option allows you to select databases manually.
If you are creating a step in a policy template then you are able to enter databases manually.
Use the button or Ins key to define database name. After you click the Ent e r button the database will be added to the list.
Any database from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
245 EMS SQL Backup Administration console - User manual
7.1.6.3
Setting options
This step of the wizard allows you to customize database integrity check.
Include Indices
The option indicates that indices are included in database integrity check.
Limited Checking
Use this option if you need to restrict database integrity check with Physical Only or
Data Purity conditions:
Physical Only option ( PHY SIC AL_O NLY) limits the checking operation to the integrity of the physical structure of the page and record headers, the physical structure of B-trees and the allocation consistency of the database. Designed to provide a small overhead check of the physical consistency of the database, this check can also detect torn pages, checksum failures, and common hardware failures that can compromise a user's data.
If Data Purity option ( DAT A_PURIT Y) is enabled, the DBC C C HEC KDB statement checks the database for column values that are not valid or out-of-range.
Exclusive access options
limit the checks that are performed.
© 1999-2015 EMS Database Management Solutions, Ltd.
246 EMS SQL Backup Administration console - User manual
Snapshot
Enable the option to use an internal database snapshot for the transactional consistency needed to perform database integrity checks.
Lock Table
If this option (
T ABLO C K) is used, the DBC C C HEC KDB statement obtains locks instead of using an internal database snapshot. This includes a short-term database exclusive lock.
All error messages
This option (
ALL_ERRO RM SGS) displays an unlimited number of errors per object.
No info messages
This option (
NO _INF O M SGS) suppresses all informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
247 EMS SQL Backup Administration console - User manual
7.1.6.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start checking database integrity.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
248 EMS SQL Backup Administration console - User manual
7.1.7
Reorganize Indices
Reorganize Indices step allows you to perform index management operations in your databases: r e o r ga nizing, r e building, disa bling (the ALT ER INDEX REO RGANIZ E ...
REBUILD ... DISABLE Transact-SQL statements are issued).
When indexes have pages in which the logical ordering based on the key value does not match the physical ordering inside the data file, these indexes are called fragmented.
Highly fragmented indexes may considerably decrease query performance. Index fragmentation is remedied by either reorganizing or by rebuilding an index.
To launch the reorganization of indexes im m e dia t e ly select
Quick Maintenance
Actions | Reorganize Indices popup menu item in the
.
To perform sc he dule d ba c kup on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Reorganize Indices step type.
2. Also, you can create a new Step Template for further use selecting Reorganize
Indices step at the
Steps of the Reorganize Indices wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
249 EMS SQL Backup Administration console - User manual
7.1.7.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
250 EMS SQL Backup Administration console - User manual
7.1.7.2
Selecting objects
Use this step of the wizard to select objects for index reorganization.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Databases and objects
Select objects to reorganize indexes.
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
© 1999-2015 EMS Database Management Solutions, Ltd.
251 EMS SQL Backup Administration console - User manual
By mask
This option allows defining objects selection by mask. Use * for a set of any characters and ? for any single character in the object name.
By list
This option allows you to select objects manually.
If you are creating a step in a policy template then you are able to enter databases, tables and views manually.
Use the button or Ins key to define database/table/view name. After you click the
Ent e r button the database/table/view will be added to the list.
Any database/table/view from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
252 EMS SQL Backup Administration console - User manual
7.1.7.3
Defining rules
At this step of the wizard you can set index reorganization rules.
Reorganize indices if fragmentation level is above
Define the fragmentation limits. Exceeding this limits considers the indices to be reorganized.
Rebuild indices if fragmentation level is above
Define the fragmentation limits. Exceeding this limits considers the indices to be rebuilt.
Compact large objects
Enable this option to compact im a ge, t e xt, nt e xt, v a r c ha r (m a x), nv a r c ha r (m a x), v a r bina r y (m a x) and xm l data.
© 1999-2015 EMS Database Management Solutions, Ltd.
253 EMS SQL Backup Administration console - User manual
7.1.7.4
Advanced options
This step of the wizard provides a number of advanced options for index reorganizing.
Free space
Define which pages should be reorganized: ones with the default or specified amount of free space per page.
Pad index
Enable this option to leave the space open on each page in the intermediate levels of index.
Sort results in tempdb
This option indicates that intermediate sort results used to rebuild indices will be stored in the tempdb database.
Ignore duplicate keys
If the option is enabled then duplicate keys will be ignored.
Keep index online while reindexing
This option determines whether concurrent user access to the underlying table or clustered index data and any associated non-clustered indexes is allowed while reindexing.
© 1999-2015 EMS Database Management Solutions, Ltd.
254 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
255 EMS SQL Backup Administration console - User manual
7.1.7.5
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start reorganizing indices.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
256 EMS SQL Backup Administration console - User manual
7.1.8
Shrink Database
Shrink Database step allows you to perform database shrinking (the DBC C
SHRINKDAT ABASE and SHRINKF ILE Transact-SQL statements are issued). This operation is used to reduce any file within the database to remove unused pages. Both data and transaction log files can be reduced, or shrunk.
To launch the shrinking operation im m e dia t e ly select
Quick Maintenance Actions |
Shrink Database popup menu item in the
To perform sc he dule d shr inking on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select Shrink
Database step type.
2. Also, you can create a new Step Template for further use selecting Shrink Database
step at the
Steps of the Shrink Database wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
257 EMS SQL Backup Administration console - User manual
7.1.8.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
258 EMS SQL Backup Administration console - User manual
7.1.8.2
Selecting database
Use this step of the wizard to select databases to shrink.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Databases
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be shrinked.
All user
Select this option to shrink user databases only.
© 1999-2015 EMS Database Management Solutions, Ltd.
259 EMS SQL Backup Administration console - User manual
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
By list
This option allows you to select databases manually.
If you are creating a step in a policy template then you are able to enter databases manually.
Use the button or Ins key to define database name. After you click the Ent e r button the database will be added to the list.
Any database from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
260 EMS SQL Backup Administration console - User manual
7.1.8.3
Setting options
At this step you can set shrinking options.
Shrink database when it exceeds
Set database size limit. Database will be shrunk when its size goes over this limit.
Freed space
Amount of free space to remain after shrink
Use this field to define percentage of free space that will be left in database file after it is shrunk.
You need to decide whether freed space should be retained in database files or
returned to operating system.
Suppress informational messages
Enable the option to disable informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
261 EMS SQL Backup Administration console - User manual
7.1.8.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start the operation.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
262 EMS SQL Backup Administration console - User manual
7.1.9
Update Statistics
Update Statistics step
allows you to perform the update statistics operation in your database (the
UPDAT E ST AT IST IC S statement is issued). This operation is used to updates the statistics for the specified tables and views.
To launch the updating operation im m e dia t e ly select Quick Maintenance Action |
Update Statistics step popup menu item in the
.
To perform sc he dule d upda t e o f st a t ist ic s on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select Update
Statistics step type.
2. Also, you can create a new Step Template for further use selecting Update Statistics
step at the
Steps of the Update Statistics wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
263 EMS SQL Backup Administration console - User manual
7.1.9.1
Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
264 EMS SQL Backup Administration console - User manual
7.1.9.2
Selecting objects
Use this step of the wizard to select objects to update statistics.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Databases and objects
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
By mask
© 1999-2015 EMS Database Management Solutions, Ltd.
265 EMS SQL Backup Administration console - User manual
This option allows defining objects selection by mask. Use * for a set of any characters and ? for any single character in the object name.
By list
This option allows you to select objects manually.
If you are creating a step in a policy template then you are able to enter databases, tables and views manually.
Use the button or Ins key to define database/table/view name. After you click the
Ent e r button the database/table/view will be added to the list.
Any database/table/view from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
266 EMS SQL Backup Administration console - User manual
7.1.9.3
Setting options
Use this step to define basic update statistics options.
Update
All existing statistics
Select this option if you need to update all statistics.
Column statistics only
Use this option to update column statistics only.
Index statistics only
This option indicates that only index statistics will be updated.
Options
Full scan
Specifies that all rows in table or view should be read to gather the statistics. This option provides the same behavior as Sample 100 Percent.
© 1999-2015 EMS Database Management Solutions, Ltd.
267 EMS SQL Backup Administration console - User manual
Sample
Specifies the percentage of the table or indexed view, or the number of rows to sample when collecting statistics for larger tables or views.
Resample
Option specifies that statistics will be gathered using an inherited sampling ratio for all existing statistics including indexes. If the sampling ratio results in too few rows being sampled, SQL Server automatically corrects the sampling based on the number of existing rows in the table or view.
No recompute
Disable the option to recompute statistics that become out of date automatically.
© 1999-2015 EMS Database Management Solutions, Ltd.
268 EMS SQL Backup Administration console - User manual
7.1.9.4
Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start updating statistics.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
269 EMS SQL Backup Administration console - User manual
7.1.10 Database Parameters Logger
Database Parameters Logger step allows you to check database parameters (such as information about backups, index fragmentation, transaction logs, data files, integrity check operations and more) and log
warnings if parameters do not satisfy given conditions
for efficient database maintenance.
To launch the database parameters logger operation im m e dia t e ly select
Quick
Maintenance Actions | Database Parameters Logger popup menu item in the
To perform sc he dule d da t a ba se pa r a m e t e r s lo gging on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Database Parameters Logger step type.
2. Also, you can create a new Step Template for further use selecting Database
Parameters Logger step at the
tab.
Steps of the Database Parameters Logger wizard:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
270 EMS SQL Backup Administration console - User manual
7.1.10.1 Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
271 EMS SQL Backup Administration console - User manual
7.1.10.2 Selecting database
Use this step of the wizard to select databases to update statistics.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Databases and objects
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
© 1999-2015 EMS Database Management Solutions, Ltd.
272 EMS SQL Backup Administration console - User manual
By mask
This option allows defining objects selection by mask. Use * for a set of any characters and ? for any single character in the object name.
By list
This option allows you to select objects manually.
If you are creating a step in a policy template then you are able to enter databases manually.
Use the button or Ins key to define database name. After you click the Ent e r button the database will be added to the list.
Any database from the list can be edited or deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
273 EMS SQL Backup Administration console - User manual
7.1.10.3 Setting conditions
This step allows you to define events to be logged.
The options below allow you to define conditions which EMS SQL Backup should perform logging by.
No backup
Enable this option to log the list of databases with no backup.
Last full backup
The option should be used to log the list of databases with old full backups.
Last full backup older than
Defines the time point relatively to current date. The list of databases with full backup made before this point will be logged.
Last log backup
Use this option to log the list of databases with old log backups.
Last log backup older than
Define the time point relatively to current date. The list of databases with log backup
© 1999-2015 EMS Database Management Solutions, Ltd.
274 EMS SQL Backup Administration console - User manual
made before this point will be logged.
Index fragmentation
Enable this option to log the list of databases with high fragmentation.
Index fragmentation more than
Define the level of index fragmentation. Databases list with index fragmentation level above specified will be added to log.
Only check indices with more than
This option indicates that only indices with page amount above specified will be checked.
Integrity check (SQL Server 2005 or higher)
Enable this option to log the list of databases with out-of-date integrity check.
Last integrity check older than
Define the time point relatively to current date. The list of databases with integrity check made before this point will be added to log.
Transaction log
Enable this option to log the list of databases with transaction log free space below the specified limit.
Free space is less than
This option defines transaction log free space limit. Log includes list of databases with amount of free space less than this limit.
Log file is larger than
This option adds log file size condition. List of databases which transaction log file is larger than the specified limit will be included to log.
Data file
This option indicates that log should include databases with data file free space below the specified limit.
Free space is less than
Use this option to define the data file free space limit.
Data file is larger than
Use this option to define data file size condition. Databases which data file is above this limit will be added to log.
© 1999-2015 EMS Database Management Solutions, Ltd.
275 EMS SQL Backup Administration console - User manual
7.1.10.4 Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can start logging database parameters.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
276 EMS SQL Backup Administration console - User manual
7.1.11 Maintenance Cleanup
Maintenance Cleanup step allows you to cleanup EMS SQL Backup and SQL Server backups and Maintenance plan reports, created by MS SQL Server, stored locally on the server or on a remote cloud storage. Cleaning MS SQL Server backups is not available for
MS SQL Server 2000.
To launch the updating operation im m e dia t e ly select
Quick Maintenance Actions |
Maintenance Cleanup popup menu item in the
To perform sc he dule d m a int e na nc e c le a nup on regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Maintenance Cleanup step type.
2. Also, you can create a new Step Template for further use selecting Maintenance
Cleanup step at the
tab.
Steps of the Maintenance Cleanup wizard:
Selecting files/folders for cleanup
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
277 EMS SQL Backup Administration console - User manual
7.1.11.1 Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
This step does not appear for Quick Maintenance Actions.
© 1999-2015 EMS Database Management Solutions, Ltd.
278 EMS SQL Backup Administration console - User manual
7.1.11.2 Selecting files/folders for cleanup
At this step you need to define server(s) and locations for cleanup.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode.
Use Add file or folder specification to add a cleanup destination and
specification, Remove selected specification for appropriate actions.
Edit
Cleanup specification
In this dialog you can define locations or files to be cleared on the server or cloud storage.
© 1999-2015 EMS Database Management Solutions, Ltd.
279 EMS SQL Backup Administration console - User manual
Location
Select Se r v e r if you want to clear folders/files stored on your server locally.
Select C lo ud st o r a ge if you want to delete files located on the
Server
Provider
Select whether the files created by EM S SQ L Ba c kup or SQ L Se r v e r will be cleaned.
Folder
Set the search folder for the files. The path is set relatively to the server which you selected in the Server list.
If the M S SQ L Se r v e r has been selected as a Backup provider then you can define the path and name of the specific backup File to be deleted.
Extension
Specify the custom extension for backup or report files if it differs from the default.
Enable Include subfolders/ Include first-level subfolders option if you need to clean up all sub-folders of the specified folder.
File type
Use this drop-down list to specify the the type of files to be deleted:
Ba c kups - backup files;
Re po r t s - text reports of previously run maintenance plans.
Note:
This drop-down list is available if the M S SQ L Se r v e r has been selected as a
Provider.
Cloud storage
© 1999-2015 EMS Database Management Solutions, Ltd.
280 EMS SQL Backup Administration console - User manual
Here you need to specify the cloud storage where you want to delete backup files. You can create a new connection or add an existing one. On adding an existing connection you will be offered to choose among connections specified in
the Options dialog.
If you create a new connection then after specifying its properties you will be offered to save it, so this connection will be available in
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
All files by mask
In this field you can specify the mask for the file names to be deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
281 EMS SQL Backup Administration console - User manual
7.1.11.3 Defining cleanup criteria
This step allows you to define cleanup criteria.
SQL Backup and Clouds criteria
Set the conditions for EMS SQL Backup backup files and files on clouds to be deleted.
Use All file s o lde r t ha n for time limiting or All file s e xc e pt fo r t he la t e st criteria to specify the number of the latest backups to keep.
SQL Server criteria
Apply file age criteria on maintenance cleanup
Use this option to delete files above the age specified below.
© 1999-2015 EMS Database Management Solutions, Ltd.
282 EMS SQL Backup Administration console - User manual
7.1.11.4 Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can perform maintenance cleanup.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
283 EMS SQL Backup Administration console - User manual
7.1.12 Transaction Log Shipping
Transaction Log Shipping step allows you to create transaction log backups, ship them to the destination server via a shared folder and restore on the destination server.
To perform log shipping step you must have at least two SQL Server instances; version of destination server cannot be earlier than the source server version; the source database must use the full or bulk-logged recovery model, both servers have access to the shared folder. The databases restored on the destination server stay in Restoring or Standby mode.
Note:
This step is not included into Quick Maintenance Action list. It can be only executed within the
To perform sc he dule d lo g shipping on a regular basis you need to include this task into
:
1. At
Create Policy wizard click Create new step button and select
Transaction Log Shipping step type.
2. Also, you can create a new Step Template for further use selecting Transaction Log
Shipping step at the
Steps of the Transaction Log Shipping wizard:
Specify folders and recovery options
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
284 EMS SQL Backup Administration console - User manual
7.1.12.1 Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
© 1999-2015 EMS Database Management Solutions, Ltd.
285 EMS SQL Backup Administration console - User manual
7.1.12.2 Specifying database pairs
At this step you need to set database pair for transaction log shipping.
Source server
Select the server where the database that you want to back up to another server is located.
Destination server
Select the server where transaction logs are shipped to from the drop-down list.
Set the database pairs in the grid. The backups of transaction logs are performed on the source server and restored on the destination server. The destination database must be the restored copy of the source database and be in Restoring state.
If the destination database does not exist, you can select <C r e a t e ne w > item in the
Destination DB column and specify its name in the New database column. If the destination database needs rewriting, set the corresponding flag in the Overwrite column. Creating and overwriting of the databases is performed by creating a full backup of the source database and its further restoring. Even in case of scheduled execution, creating of a database is executed once immediately on wizard finish and the <C r e a t e ne w > item will be replaced with the created database name afterwards.
© 1999-2015 EMS Database Management Solutions, Ltd.
286 EMS SQL Backup Administration console - User manual
Data folder
Specify the path for data MDF files for the newly created database.
Log folder
Specify the path for data LDF files for the newly created database.
Note:
When creating a template no databases can be selected at this step. Please proceed to the next steps to set default template options. Databases can be selected on applying the template to the policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
287 EMS SQL Backup Administration console - User manual
7.1.12.3 Specifying backup options
At this step you can define backup options for source database(s).
Backup folder
Specify the directory for backup. It is set relatively the source server. You can check availability of this folder by clicking the corresponding button.
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
Enable the option to compress backup.
Compression Level
Defines backup file compression level. Use '1' for the best speed and '4' for the best compression.
Encryption
© 1999-2015 EMS Database Management Solutions, Ltd.
288 EMS SQL Backup Administration console - User manual
Enable the option to encrypt backup.
Encryption Password
Set password that is used for backup encryption.
Confirm password
Confirm the password specified as an encryption password above.
Encryption Type
Select the encryption algorithm.
© 1999-2015 EMS Database Management Solutions, Ltd.
289 EMS SQL Backup Administration console - User manual
7.1.12.4 Specifying folders and recovery options
At this step you need to set shared and destination folder, and recovery options for the transaction log restore.
Network shared folder
Specify the backup shared folder for copying transaction log backups of the source database. Both source and destination servers should have access to this folder otherwise log shipping cannot be performed. Click the Check button to make sure that the folder is accessible by both servers.
Destination folder
Specify the destination server folder where backups will be shipped to. This folder is set relatively to the destination server.
Recovery options
This group of options allows you to specify the recovery options to be applied to the restore operation. The destination database may be in either the recovering or standby state, which leaves the database available for limited read-only access.
No recovery (leaves the database in the restoring state)
This option specifies that the restore operation does not roll back any uncommitted
© 1999-2015 EMS Database Management Solutions, Ltd.
290 EMS SQL Backup Administration console - User manual
transactions.
NB:
When this option is selected, the database is not usable in this intermediate, nonrecovered state.
When used with a file or filegroup restore operation, this option forces the database to remain in the restoring state after the restore operation. This is useful in either of the following situations: a restore script is being run and the log is always being applied; a sequence of file restores is used and the database is not intended to be usable between two of the restore operations.
Standby (leaves database in read-only and standby mode)
This option allows the database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.
Undo file name
Specify the undo file name, so that the recovery effects can be undone. The same undo file can be used for consecutive restores of the same database.
NB:
If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.
Set Kill connections to destination database option ON for forced disconnection of all processes the database. We recommend to check it, if Overwrite option has been set at
© 1999-2015 EMS Database Management Solutions, Ltd.
291 EMS SQL Backup Administration console - User manual
7.1.12.5 Performing operation
This step of the wizard is intended to inform you that all necessary options have been set, and you can perform transaction log shipping.
After verifying the choices made in the wizard click the Finish button to complete the operation.
If the Ne w da t a ba se or O v e r w r it e option has been selected as a Destination database at
Step 2 performing of the operation consists of 2 steps:
1) Transferring of the full backup. It is executed once on wizard finish.
2) Transferring of transaction log.
© 1999-2015 EMS Database Management Solutions, Ltd.
292 EMS SQL Backup Administration console - User manual
7.1.13 Database Shipping
Database Shipping step allows you to create full backups on the source server, ship them to the destination server via a shared folder and restore on the destination server.
To perform database shipping step you must have at least two SQL Server instances; version of destination server cannot be lower than the source server version; both servers must have access to the shared folder.
To launch the database shipping im m e dia t e ly select Quick Maintenance Actions |
Database shipping popup menu item in the
To perform sc he dule d da t a ba se shipping on a regular basis you need to include this task into
1. At
Create Policy wizard click Create new step button and select
Database Shipping step type.
2. Also, you can create a new Step Template for further use selecting Database
Shipping step at the
Steps of the Database Shipping wizard:
Specify folders and recovery options
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
293 EMS SQL Backup Administration console - User manual
7.1.13.1 Naming step
You can name the step using the Name field. The Description field can be used to define brief info for the created step.
© 1999-2015 EMS Database Management Solutions, Ltd.
294 EMS SQL Backup Administration console - User manual
7.1.13.2 Specifying database pairs
At this step you need to set database pairs for database shipping.
Source server
Select the server where the database that you want to back up to another server is located.
Destination server
Select the server where backup files are shipped to from the drop-down list.
Set the database pairs in the grid. The full database backups are performed on the source server and restored on the destination server.
If the destination database does not exist, you can select <C r e a t e ne w > item in the
Destination DB column and specify its name in the New database column. Creating the databases is performed by creating a full backup of the source database and its further restoring.
Data folder
Specify the path for data MDF files for the newly created database.
Log folder
© 1999-2015 EMS Database Management Solutions, Ltd.
295 EMS SQL Backup Administration console - User manual
Specify the path for data LDF files for the newly created database.
Note:
When creating a template no databases can be selected at this step. Please proceed to the next steps to set default template options. Databases can be selected on applying the template to the policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
296 EMS SQL Backup Administration console - User manual
7.1.13.3 Specifying backup options
At this step you can define backup options for source database(s).
Backup folder
Specify the directory for backup. It is set relatively the source server. You can check availability of this folder by clicking the corresponding button.
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
Enable the option to compress backup.
Compression Level
Defines backup file compression level. Use '1' for the best speed and '4' for the best compression.
Encryption
© 1999-2015 EMS Database Management Solutions, Ltd.
297 EMS SQL Backup Administration console - User manual
Enable the option to encrypt backup.
Encryption Password
Set password that is used for backup encryption.
Confirm password
Confirm the password specified as an encryption password above.
Encryption Type
Select the encryption algorithm.
© 1999-2015 EMS Database Management Solutions, Ltd.
298 EMS SQL Backup Administration console - User manual
7.1.13.4 Specifying folders and recovery options
At this step you need to set shared and destination folder, and recovery options for the database restore.
Network shared folder
Specify the backup shared folder for copying full database backups of the source database. Both source and destination servers should have access to this folder otherwise database shipping cannot be performed. Click the Check button to make sure that the folder is accessible by both servers.
Destination folder
Specify the destination server folder where backups will be shipped to. This folder is set relatively to the destination server.
Recovery options
This group of options allows you to specify the recovery options to be applied to the restore operation.
No recovery (leaves the database in the restoring state)
This option specifies that the restore operation does not roll back any uncommitted transactions.
© 1999-2015 EMS Database Management Solutions, Ltd.
299 EMS SQL Backup Administration console - User manual
NB:
When this option is selected, the database is not usable in this intermediate, nonrecovered state.
When used with a file or filegroup restore operation, this option forces the database to remain in the restoring state after the restore operation. This is useful in either of the following situations: a restore script is being run and the log is always being applied; a sequence of file restores is used and the database is not intended to be usable between two of the restore operations.
Standby (leaves database in read-only and standby mode)
This option allows the database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.
Recovery (rollbacks all uncommitted transactions)
This option specifies that the restore operation rolls back any uncommitted transactions.
After the recovery process the database is ready for use.
Undo file name
Specify the undo file name, so that the recovery effects can be undone. The same undo file can be used for consecutive restores of the same database.
NB:
If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.
Set Kill connections to destination database option ON for forced disconnection of all processes the database.
© 1999-2015 EMS Database Management Solutions, Ltd.
300 EMS SQL Backup Administration console - User manual
7.1.13.5 Viewing summary information
This step of the wizard is intended to inform you that all necessary options have been set, and you can perform database shipping.
After verifying the choices made in the wizard click the Finish button to complete the operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
301 EMS SQL Backup Administration console - User manual
7.2
Editing Steps
This chapter describes the way steps can be viewed/edited.
After the step has been already created it can be opened and edited in the editor at
Policies tab (if it's already a part of a policy) or Templates tab (if it's been created as a
template ).To open a step editor use double-clicking, popup menu or the
Edit button.
Topics listed below provide sufficient information about step editing:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
302 EMS SQL Backup Administration console - User manual
7.2.1
Backup database
Backup Database step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
303 EMS SQL Backup Administration console - User manual
7.2.1.1
Name and description
This page allows you to view\edit Backup database step name and description.
Name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
304 EMS SQL Backup Administration console - User manual
7.2.1.2
General
This page allows you to view a backup provider selected.
Backup provider
Backup provider set in the
. This option cannot be changed in editing mode.
The files created with EMS SQL Backup provider cannot be restored using standard server tools; you need either use EMS SQL Backup restore or
SQL Server type.
© 1999-2015 EMS Database Management Solutions, Ltd.
305 EMS SQL Backup Administration console - User manual
7.2.1.3
Selection
This page allows you to edit database selection for backup operation.
Backup type
Use this parameter to define the backup type:
Da t a ba se - full (a full database backup which backs up the entire database including the transaction log)
Da t a ba se - diffe r e nt ia l (a differential backup which records only the changes made to the data in the database after the last full database backup)
T r a nsa c t io n lo g (a sequence of log backups provided for a continuous chain of transaction information to support recovery forward from database, differential, or file backups)
Set Remove inactive entries option on to truncate the live transaction log when you create a backup
Set Leave in restoring state on to leave the database in restoring state to be unavailable to users until it is completely restored.
Set Copy-only option to create a copy-only backup which is a SQL Server backup that is independent of the sequence of conventional SQL Server backups.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
© 1999-2015 EMS Database Management Solutions, Ltd.
306 EMS SQL Backup Administration console - User manual
Step Template in Policy.
Databases
If
EMS SQL Backup provider is used, you can select multiple databases, in case of SQL
Server backup only one database can be specified.
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be backed up.
All user
Select this option to back up user databases only.
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
By list
This option allows you to select databases manually.
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)
defined on the
Selecting database step are missed on the selected server the list of
databases will be the following.
Click the Clean Mismatches button to delete the missed databases from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
307 EMS SQL Backup Administration console - User manual
7.2.1.4
SQL Backup settings
This page contains set of specific backup options. You can make changes if needed.
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
Enable the option to compress backup.
Compression Level
Defines backup file compression level. Use '1' for best speed and '9' for best compression.
Encryption
Enable the option to encrypt backup.
Encryption Password
Set and confirm password that is used for backup decryption.
Encryption Type
Select the encryption algorithm.
© 1999-2015 EMS Database Management Solutions, Ltd.
308 EMS SQL Backup Administration console - User manual
7.2.1.5
Backup file options
At this page you can find backup file options.
Backup folder
Specify backup destination directory. For your convenience {ba c kup_r o o t _fo lde r } and
{se r v e r } tags are provided. The directory which the {ba c kup_r o o t _fo lde r } tag stands for is configured in the Server-side components Properties dialog.
You can check availability of the defined folder by clicking the corresponding button.
Note:
The Check button is available only if backup is configured on a single server.
Backup file name
Define backup file name. Type backup file name manually or form it using variables. For your convenience {se r v e r }, {da t a ba se }, {ba c kup_t y pe }, {da t e } and {lo gin} tags are provided.
Note:
To insert a tag in the field simply click it in the list of Available tags.
Backup to a single file
Select this option to backup all selected databases to a single file.
Backup to several files
This option indicates that backup should be split to several files. Splitting the backup can in some cases speed up the backup process.
Split by size
Indicates that backup file will be split to volumes of the specified size.
© 1999-2015 EMS Database Management Solutions, Ltd.
309 EMS SQL Backup Administration console - User manual
Split by database
Indicates that each database will be backed up into a separate file.
Note:
Backup to several files option is disabled for SQL Server backup provider.
© 1999-2015 EMS Database Management Solutions, Ltd.
310 EMS SQL Backup Administration console - User manual
7.2.1.6
Options
At this page you can define backup options. This tab is only available for SQL Server provider selected.
Block size
Define the size of a data block. Possible values are: De fa ult, T o r e st o r e fr o m C D (2
KB), O t he r (i.e. you can specify an arbitrary value). The supported sizes are 512, 1024,
2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. Possible values are: De fa ult,
T o r e st o r e fr o m C D (2 KB), O t he r (i.e. you can specify an arbitrary value).
Options
Verify backup when finished
Check this option to enable backup verification.
Perform checksum before writing to media
This option enables/disables checksum verification before writing to the backup media.
Continue on error
This option determines whether the backup operation will be stopped or forced to continue if an error occurs.
Write type
Append / Overwrite
Select whether the media should be appended or overwritten during the backup operation.
© 1999-2015 EMS Database Management Solutions, Ltd.
311 EMS SQL Backup Administration console - User manual
By appending another backup set to existing media, the previous contents of the media remain intact, and the new backup is written after the end of the last backup on the media.
Backup compression
This option enables backup compression overriding the server-level default (for SQL
Server 2008 Enterprise and later versions).
If necessary, you can set a Password for the backup: enter the password twice in the respective edit fields.
© 1999-2015 EMS Database Management Solutions, Ltd.
312 EMS SQL Backup Administration console - User manual
7.2.1.7
Additional options
This tab is only available if backup is performed with SQL Server provider.
Buffer count
Specifies the total number of I/O buffers to be used for the backup operation.
Max transfer size, KB
Specifies the largest unit of transfer in bytes to be used between SQL Server and the backup media. The maximum value is 4096 Kb.
Note:
If specified value is 0 then the default value is used.
© 1999-2015 EMS Database Management Solutions, Ltd.
313 EMS SQL Backup Administration console - User manual
7.2.1.8
Verify options
At this page you can define backup verifying options.
Verify backup when finished (VERIFYONLY)
Check this option to enable backup verification. Verifying a backup checks that the backup is intact physically, to ensure that all the files in the backup are readable and can be restored, and that you can restore your backup in the event you need to use it.
Perform checksum before writing to media (CHECKSUM)
This option enables/disables checksum verification before writing to the backup media.
Before writing a page to the backup media, BACKUP verifies the page, if this information is presented on the page. BACKUP generates a separate backup checksum for the backup streams. Restore operations can optionally use the backup checksum to validate that the backup is not corrupted. The backup checksum can optionally be used at restore time.
Using backup checksums may affect workload and backup throughput.
Continue on error
This option determines whether the backup operation will be stopped or forced to continue despite encountering errors such as invalid checksums or torn pages.
© 1999-2015 EMS Database Management Solutions, Ltd.
314 EMS SQL Backup Administration console - User manual
7.2.1.9
Clouds
Use this tab to set cloud connections for storing backups. Copies of backup files will be uploaded to the specified storages.
The connections to the following storages are supported:
You can create a new connection or add an existing one. On adding an existing connection you will be offered to choose among connections specified in
Connections tab of the Options dialog.
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
Do not store backup copies locally
Check this option to delete backup files from your local disk after successful upload to the cloud storage.
Note:
Backup files will not be deleted from the local disk if the upload to at least one specified cloud fails.
© 1999-2015 EMS Database Management Solutions, Ltd.
315 EMS SQL Backup Administration console - User manual
7.2.2
Execute SQL Server Agent job
Execute SQL Server Agent job step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
316 EMS SQL Backup Administration console - User manual
7.2.2.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
317 EMS SQL Backup Administration console - User manual
7.2.2.2
Selection
Use this page to edit job name.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
SQL Server Agent's job
This field indicates which SQL Server Agent job should be executed.
You can re-arrange jobs order for execution using arrow buttons on the right. Use button or Delete key to remove job from the list.
Note:
The server is selected on applying the Step Template in Policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
318 EMS SQL Backup Administration console - User manual
7.2.3
Execute T-SQL statement
Execute T-SQL Statement step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
319 EMS SQL Backup Administration console - User manual
7.2.3.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
320 EMS SQL Backup Administration console - User manual
7.2.3.2
General
At this page you can view\edit T-SQL statement.
T-SQL statement
This area contains T-SQL statement text to be performed.
Execute timeout
This field indicates time limit for syntax check.
Use Load\Save buttons to work with text loading and saving.
Use the Check statement button to run the statement on the server in PARSEONLY mode to ensure that T-SQL statement is correct. The detailed log of errors is displayed at the Errors tab.
All errors are displayed on the Errors tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
321 EMS SQL Backup Administration console - User manual
© 1999-2015 EMS Database Management Solutions, Ltd.
322 EMS SQL Backup Administration console - User manual
7.2.3.3
Selection
This page allows you to edit servers selection for the operation.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
323 EMS SQL Backup Administration console - User manual
7.2.4
History Cleanup
History Cleanup step editor provides the same set of options as
.
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
324 EMS SQL Backup Administration console - User manual
7.2.4.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
325 EMS SQL Backup Administration console - User manual
7.2.4.2
General
This page is used to define general options of history cleanup step.
MS SQL Server
The following options are intended to delete MS SQL
and some log info concerning specific jobs performed by MS SQL Server means.
Backup and restore history data older than
Enable the option to clean the history of the MS SQL Server backup and restore operations that are older than specified period of time. After cleanup the information about SQL Server type backups performed by EMS SQL Backup or by SQL Server itself will be removed from the server.
History data of Server Agent job older than
Enable the option to clean the history of the SQL Server Agent job(s) that are older than specified period of time. After this cleanup all information about SQL Server Agent job execution will be removed from the server.
EMS SQL Backup
The following options are intended to delete some log info concerning tasks performed by
EMS SQL Backup.
Backup and restore history data older than
Enable the option to clean the history of the backup and restore operations that are older than specified period of time. After cleanup the information about EMS SQL Backup type
© 1999-2015 EMS Database Management Solutions, Ltd.
326 EMS SQL Backup Administration console - User manual
backups will be removed from EMS SQL Backup.
Log records of Backup older than
Enable the option to clean the history of the EMS SQL Backup task(s) execution that are older than specified period of time. After cleanup the information about executed tasks will be removed from
© 1999-2015 EMS Database Management Solutions, Ltd.
327 EMS SQL Backup Administration console - User manual
7.2.4.3
Selection
This page allows you to edit servers selection for the operation.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
328 EMS SQL Backup Administration console - User manual
7.2.5
Database Integrity Check
Database Integrity Check step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
329 EMS SQL Backup Administration console - User manual
7.2.5.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
330 EMS SQL Backup Administration console - User manual
7.2.5.2
General
At this page you can edit general options of the step.
Include Indices
The option indicates that indices are included in database integrity check.
Limited Checking
Use this option if you need to restrict database integrity check.
Physical Only
This option ( PHY SIC AL_O NLY) limits the checking operation to the integrity of the physical structure of the page and record headers, the physical structure of B-trees and the allocation consistency of the database. Designed to provide a small overhead check of the physical consistency of the database, this check can also detect torn pages, checksum failures, and common hardware failures that can compromise a user's data.
Data Purity
If this option ( DAT A_PURIT Y) is enabled, the DBC C C HEC KDB statement checks the database for column values that are not valid or out-of-range.
Exclusive access options limits the checks that are performed:
Snapshot
Enable the option to use an internal database snapshot for the transactional consistency needed to perform database integrity checks.
© 1999-2015 EMS Database Management Solutions, Ltd.
331 EMS SQL Backup Administration console - User manual
Lock Table
If this option (
T ABLO C K) is used, the DBC C C HEC KDB statement obtains locks instead of using an internal database snapshot. This includes a short-term database exclusive lock.
All Error Messages
This option (
ALL_ERRO RM SGS) displays an unlimited number of errors per object.
No Info Messages
This option (
NO _INF O M SGS) suppresses all informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
332 EMS SQL Backup Administration console - User manual
7.2.5.3
Selection
This page allows you to edit objects selection for integrity check.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Databases
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be backed up.
All user
Select this option to back up user databases only.
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
© 1999-2015 EMS Database Management Solutions, Ltd.
333 EMS SQL Backup Administration console - User manual
By list
This option allows you to select databases manually.
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)
defined on the
Selecting database step are missed on the selected server the list of
databases will be the following.
Click the Clean Mismatches button to delete the missed databases from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
334 EMS SQL Backup Administration console - User manual
7.2.6
Shrink Database
Shrink Database step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
335 EMS SQL Backup Administration console - User manual
7.2.6.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
336 EMS SQL Backup Administration console - User manual
7.2.6.2
General
At this page you can edit general options for Shrink Database step.
Shrink database when it exceeds
Set database size limit. Database will be shrunk when its size goes over this limit.
Amount of free space to remain after shrink
Use this field to define percentage of free space that will be left in database file after it is shrunk.
You need to decide whether freed space should be retained in database files or
returned to operating system.
Suppress informational messages
Enable the option to disable informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
337 EMS SQL Backup Administration console - User manual
7.2.6.3
Selection
This page allows you to edit database selection to shrink.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Databases
All
Use this option to select both: system and user databases.
All system
This option indicates that only system databases should be shrinked.
All user
Select this option to shrink user databases only.
By mask
This option allows defining database selection by mask. Use * for a set of any characters and ? for any single character in the database name.
© 1999-2015 EMS Database Management Solutions, Ltd.
338 EMS SQL Backup Administration console - User manual
By list
This option allows you to select databases manually.
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)
defined on the
Selecting database step are missed on the selected server the list of
databases will be the following.
Click the Clean Mismatches button to delete the missed databases from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
339 EMS SQL Backup Administration console - User manual
7.2.7
Reorganize Indices
Reorganize Indices step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
340 EMS SQL Backup Administration console - User manual
7.2.7.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
341 EMS SQL Backup Administration console - User manual
7.2.7.2
General
At this page you can edit general options of the step.
Reorganize indices if fragmentation level is above
Define the fragmentation limits. Exceeding this limits considers the indices to be reorganized.
Rebuild indices if fragmentation level is above
Define the fragmentation limits. Exceeding this limits considers the indices to be rebuilt.
Compact large objects
Enable this option to compact im a ge, t e xt, nt e xt, v a r c ha r (m a x), nv a r c ha r (m a x), v a r bina r y (m a x) and xm l data.
© 1999-2015 EMS Database Management Solutions, Ltd.
342 EMS SQL Backup Administration console - User manual
7.2.7.3
Selection
This page allows you to edit object selection for indices reorganization.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Databases and objects
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
By mask
This option allows defining objects selection by mask. Use * for a set of any characters and ? for any single character in the object name.
By list
This option allows you to select objects manually.
© 1999-2015 EMS Database Management Solutions, Ltd.
343 EMS SQL Backup Administration console - User manual
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)/
table(s)/view(s) defined on the
Selecting objects step are missed on the selected server
the list of database(s)/table(s)/view(s) will be the following.
Click the Clean Mismatches button to delete the missed database(s)/table(s)/view(s) from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
344 EMS SQL Backup Administration console - User manual
7.2.7.4
Rebuild options
This tab provides a number of advanced options for index reorganizing.
Free space
Define which pages should be reorganized: ones with the default or specified amount of free space per page.
Pad index
Enable this option to leave the space open on each page in the intermediate levels of index.
Sort results in tempdb
This option indicates that intermediate sort results used to rebuild indices will be stored in the tempdb database.
Ignore duplicate keys
If the option is enabled then duplicate keys will be ignored.
Keep index online while reindexing
This option determines whether concurrent user access to the underlying table or clustered index data and any associated non-clustered indexes is allowed while reindexing.
© 1999-2015 EMS Database Management Solutions, Ltd.
345 EMS SQL Backup Administration console - User manual
7.2.8
Update Statistics
Update Statistics step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
346 EMS SQL Backup Administration console - User manual
7.2.8.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
347 EMS SQL Backup Administration console - User manual
7.2.8.2
General
At this page you can edit general options of Update Statistics step.
All existing statistics
Select this option if you need to update all statistics.
Column statistics only
Use this option to update column statistics only.
Index statistics only
This option indicates that only index statistics will be updated.
Full scan
Specifies that all rows in table or view should be read to gather the statistics. This option provides the same behavior as Sample 100 Percent.
Sample
Specifies the percentage of the table or indexed view, or the number of rows to sample when collecting statistics for larger tables or views.
Resample
Option specifies that statistics will be gathered using an inherited sampling ratio for all existing statistics including indexes. If the sampling ratio results in too few rows being
© 1999-2015 EMS Database Management Solutions, Ltd.
348 EMS SQL Backup Administration console - User manual
sampled, SQL Server automatically corrects the sampling based on the number of existing rows in the table or view.
No recompute
Disable the option to recompute statistics that become out of date automatically.
© 1999-2015 EMS Database Management Solutions, Ltd.
349 EMS SQL Backup Administration console - User manual
7.2.8.3
Selection
This page allows you to edit object selection to update statistics.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Databases and objects
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
By mask
This option allows defining objects selection by mask. Use * for a set of any characters and ? for any single character in the object name.
© 1999-2015 EMS Database Management Solutions, Ltd.
350 EMS SQL Backup Administration console - User manual
By list
This option allows you to select objects manually.
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)/
table(s)/view(s) defined on the
Selecting objects step are missed on the selected server
the list of database(s)/table(s)/view(s) will be the following.
Click the Clean Mismatches button to delete the missed database(s)/table(s)/view(s) from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
351 EMS SQL Backup Administration console - User manual
7.2.9
Database Parameters Logger
Database Parameters Logger step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
352 EMS SQL Backup Administration console - User manual
7.2.9.1
Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
353 EMS SQL Backup Administration console - User manual
7.2.9.2
General
At this page you can edit general options of Database Parameters Logger step.
The options below allow you to define conditions which EMS SQL Backup should perform logging by.
No backup
Enable this option to log the list of databases with no backup.
Last full backup
The option should be used to log the list of databases with old full backups.
Last full backup older than
Defines the time point relatively to current date. The list of databases with full backup made before this point will be logged.
Last log backup
Use this option to log the list of databases with old log backups.
Last log backup older than
Define the time point relatively to current date. The list of databases with log backup made before this point will be logged.
Index fragmentation
Enable this option to log the list of databases with high fragmentation.
© 1999-2015 EMS Database Management Solutions, Ltd.
354 EMS SQL Backup Administration console - User manual
Index fragmentation more than
Define the level of index fragmentation. Databases list with index fragmentation level above specified will be added to log.
Only check indices with more than
This option indicates that only indices with page amount above specified will be checked.
Integrity check (SQL Server 2005 or higher)
Enable this option to log the list of databases with out-of-date integrity check.
Last integrity check older than
Define the time point relatively to current date. The list of databases with integrity check made before this point will be added to log.
Transaction log
Enable this option to log the list of databases with transaction log free space below the specified limit.
Free space is less than
This option defines transaction log free space limit. Log includes list of databases with amount of free space less than this limit.
Log file is larger than
This option adds log file size condition. List of databases which transaction log file is larger than the specified limit will be included to log.
Data file
This option indicates that log should include databases with data file free space below the specified limit.
Free space is less than
Use this option to define the data file free space limit.
Data file is larger than
Use this option to define data file size condition. Databases which data file is above this limit will be added to log.
© 1999-2015 EMS Database Management Solutions, Ltd.
355 EMS SQL Backup Administration console - User manual
7.2.9.3
Selection
This page allows you to edit database selection to log database parameters.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Databases and objects
All
Use this option to select both: system and user objects.
All system
This option indicates that only system objects should be selected.
All user
Select this option to select user objects only.
By mask
This option allows defining objects selection by mask. Use * for a set of any characters
© 1999-2015 EMS Database Management Solutions, Ltd.
356 EMS SQL Backup Administration console - User manual
and ? for any single character in the object name.
By list
This option allows you to select objects manually.
If you are creating a step template then you can add a database to the list by using the
button or Ins key.
Note:
The server is selected on applying the Step Template in Policy.
When you are editing a step on creating a policy from
template then if the database(s)
defined on the
Selecting database step are missed on the selected server the list of
databases will be the following.
Click the Clean Mismatches button to delete the missed databases from the list for the policy cannot be executed for them.
© 1999-2015 EMS Database Management Solutions, Ltd.
357 EMS SQL Backup Administration console - User manual
7.2.10 Maintenance Cleanup
Maintenance Cleanup step editor provides the same set of options as
.
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
358 EMS SQL Backup Administration console - User manual
7.2.10.1 Name and description
This page allows you to view\edit the step name and description.
Task name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
359 EMS SQL Backup Administration console - User manual
7.2.10.2 General
At this page you can edit general options of Maintenance Cleanup step.
SQL Backup and Clouds criteria
Set the conditions for EMS SQL Backup backup files and files on clouds to be deleted.
Use All file s o lde r t ha n for time limiting or All file s e xc e pt fo r t he la t e st criteria to specify the number of the latest backups to keep.
SQL Server criteria
Apply file age criteria on maintenance cleanup
Use this option to delete files above the age specified below.
© 1999-2015 EMS Database Management Solutions, Ltd.
360 EMS SQL Backup Administration console - User manual
7.2.10.3 Selection
This page allows you to edit server and folder\files selection for maintenance cleanup.
Servers
Select the servers to run the operation on. If the servers name icon is grayed out the
Backup service is not run (installed) or there is no connection to the server.
Note:
Selecting servers is not available in Template mode. It is selected on applying the
Step Template in Policy.
Use Add file or folder specification to add a cleanup destination and
specification, Remove selected specification for appropriate actions.
Edit
Cleanup specification
In this dialog you can define locations or files to be cleared on the server or cloud storage.
© 1999-2015 EMS Database Management Solutions, Ltd.
361 EMS SQL Backup Administration console - User manual
Location
Select Se r v e r if you want to clear folders/files stored on your server locally.
Select C lo ud st o r a ge if you want to delete files located on the
Server
Provider
Select whether the files created by EM S SQ L Ba c kup or SQ L Se r v e r will be cleaned.
Folder
Set the search folder for the files. The path is set relatively to the server which you selected in the Server list.
If the M S SQ L Se r v e r has been selected as a Backup provider then you can define the path and name of the specific backup File to be deleted.
Extension
Specify the custom extension for backup or report files if it differs from the default.
Enable Include subfolders/ Include first-level subfolders option if you need to clean up all sub-folders of the specified folder.
File type
Use this drop-down list to specify the the type of files to be deleted:
Ba c kups - backup files;
Re po r t s - text reports of previously run maintenance plans.
Note:
This drop-down list is available if the M S SQ L Se r v e r has been selected as a
Provider.
Cloud storage
© 1999-2015 EMS Database Management Solutions, Ltd.
362 EMS SQL Backup Administration console - User manual
Here you need to specify the cloud storage where you want to delete backup files. You can create a new connection or add an existing one. On adding an existing connection you will be offered to choose among connections specified in
the Options dialog.
If you create a new connection then after specifying its properties you will be offered to save it, so this connection will be available in
To change connection parameters click on its name. Depending on connection type the relevant dialog for configuring connection settings will be opened.
All files by mask
In this field you can specify the mask for the file names to be deleted.
© 1999-2015 EMS Database Management Solutions, Ltd.
363 EMS SQL Backup Administration console - User manual
7.2.11 Transaction Log Shipping
Transaction Log Shipping step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
364 EMS SQL Backup Administration console - User manual
7.2.11.1 Name and description
This page allows you to view\edit the step name and description.
Name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
365 EMS SQL Backup Administration console - User manual
7.2.11.2 General
This page is used to define options for log shipping step.
Backup folder
Specify the directory for backup. It is set relatively the source server. You can check availability of this folder by clicking the corresponding button.
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
© 1999-2015 EMS Database Management Solutions, Ltd.
366 EMS SQL Backup Administration console - User manual
Enable the option to compress backup.
Compression Level
Defines backup file compression level. Use '1' for best speed and '4' for best compression.
Encryption
Enable the option to encrypt backup.
Encryption Password
Set password that is used for backup encryption.
Confirm password
Confirm the password specified as an encryption password above.
Encryption Type
Select the encryption algorithm.
Network shared folder
Specify the backup shared folder for copying transaction log backups of the source database. Both source and destination servers should have access to this folder otherwise log shipping cannot be performed. Click the Check button to make sure that the folder is accessible by both servers.
Destination folder
Specify the destination server folder where backups will be shipped to. This folder is set relatively to the destination server.
Recovery options
This group of options allows you to specify the recovery options to be applied to the restore operation. The destination database may be in either the recovering or standby state, which leaves the database available for limited read-only access.
No recovery (leaves database in the restoring state)
This option specifies that the restore operation does not roll back any uncommitted transactions.
NB:
When this option is selected, the database is not usable in this intermediate, nonrecovered state.
When used with a file or filegroup restore operation, this option forces the database to remain in the restoring state after the restore operation. This is useful in either of the following situations: a restore script is being run and the log is always being applied; a sequence of file restores is used and the database is not intended to be usable between two of the restore operations.
Standby (leaves database in read-only and standby mode)
This option allows the database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.
Undo file name
Specify the undo file name, so that the recovery effects can be undone. The same undo file can be used for consecutive restores of the same database.
© 1999-2015 EMS Database Management Solutions, Ltd.
367 EMS SQL Backup Administration console - User manual
NB:
If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.
Set Kill connections to destination database option ON to forced disconnection of all processes. We recommend to check it, if Overwrite option has been set at
© 1999-2015 EMS Database Management Solutions, Ltd.
368 EMS SQL Backup Administration console - User manual
7.2.11.3 Selection
This page allows you to edit database selection to ship transaction logs.
Source server
Select the server where the database that you want to back up to another server is located.
Destination server
Select the server where transaction logs are shipped to from the Destination server list.
Set the database pairs in the grid. The backups of transaction logs are performed on the source server and restored on the destination server. If the destination database does not exist, you can select Ne w da t a ba se item in the Destination DB column and specify its name in the New database column. If the destination database needs rewriting, set the corresponding flag in the Overwrite column. Creating and overwriting of the databases is performed by creating a full backup of the source database and its further restoring. Even in case of scheduled execution, creating of a database is executed immediately on wizard finish.
Data folder
Specify the path for data MDF files for the newly created database.
© 1999-2015 EMS Database Management Solutions, Ltd.
369 EMS SQL Backup Administration console - User manual
Log folder
Specify the path for data LDF files for the newly created database.
Note:
When creating a template no databases can be selected.
If the Overwrite option was selected or you have chosen to create a new database then the first stage of the operation is performed immediately on applying settings (pressing the OK button). On the next step editing the Overwrite option will be reset and the
<C r e a t e ne w > item will be replaced with the created database name.
© 1999-2015 EMS Database Management Solutions, Ltd.
370 EMS SQL Backup Administration console - User manual
7.2.12 Database Shipping
Database Shipping step editor provides the same set of options as
The following pages are available in this dialog:
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
371 EMS SQL Backup Administration console - User manual
7.2.12.1 Name and description
This page allows you to view\edit the step name and description.
Name
Use this field to name the step.
Description
This field allows you to define step description.
© 1999-2015 EMS Database Management Solutions, Ltd.
372 EMS SQL Backup Administration console - User manual
7.2.12.2 General
This page is used to define options for database shipping step.
Backup folder
Specify the directory for backup. It is set relatively the source server. You can check availability of this folder by clicking the corresponding button.
Max Thread Count
Indicates the number of threads to be used for backup operation. Increase the number of threads for faster speed. If you are using a multi-processor system, increasing this value can fasten backup speed. You are recommended to set one thread fewer than the number of processors.
Compression
Enable the option to compress backup.
© 1999-2015 EMS Database Management Solutions, Ltd.
373 EMS SQL Backup Administration console - User manual
Compression Level
Defines backup file compression level. Use '1' for best speed and '4' for best compression.
Encryption
Enable the option to encrypt backup.
Encryption Password
Set password that is used for backup encryption.
Confirm password
Confirm the password specified as an encryption password above.
Encryption Type
Select the encryption algorithm.
Network shared folder
Specify the backup shared folder for copying full backups of the source database. Both source and destination servers should have access to this folder otherwise database shipping cannot be performed. Click the Check button to make sure that the folder is accessible by both servers.
Destination folder
Specify the destination server folder where backups will be shipped to. This folder is set relatively to the destination server.
Recovery options
This group of options allows you to specify the recovery options to be applied to the restore operation.
No recovery (leaves the database in the restoring state)
This option specifies that the restore operation does not roll back any uncommitted transactions.
NB:
When this option is selected, the database is not usable in this intermediate, nonrecovered state.
When used with a file or filegroup restore operation, this option forces the database to remain in the restoring state after the restore operation. This is useful in either of the following situations: a restore script is being run and the log is always being applied; a sequence of file restores is used and the database is not intended to be usable between two of the restore operations.
Standby (leaves database in read-only and standby mode)
This option allows the database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.
Undo file name
Specify the undo file name, so that the recovery effects can be undone. The same undo file can be used for consecutive restores of the same database.
NB:
If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.
© 1999-2015 EMS Database Management Solutions, Ltd.
374 EMS SQL Backup Administration console - User manual
Recovery (rollbacks all uncommitted transactions)
This option specifies that the restore operation rolls back any uncommitted transactions.
After the recovery process the database is ready for use.
Set Kill connections to destination database option ON to forced disconnection of all processes.
© 1999-2015 EMS Database Management Solutions, Ltd.
375 EMS SQL Backup Administration console - User manual
7.2.12.3 Selection
This page allows you to edit database selection to ship full database backups.
Source server
Select the server where the database that you want to back up to another server is located.
Destination server
Select the server where database backups are shipped to from the Destination server list.
Set the database pairs in the grid. The full database backups are performed on the source server and restored on the destination server.
If the destination database does not exist, you can select <C r e a t e ne w > item in the
Destination DB column and specify its name in the New database column. Creating the databases is performed by creating a full backup of the source database and its further
© 1999-2015 EMS Database Management Solutions, Ltd.
376 EMS SQL Backup Administration console - User manual
restoring.
Data folder
Specify the path for data MDF files for the newly created database.
Log folder
Specify the path for data LDF files for the newly created database.
Note:
When creating a template no databases can be selected.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
VIII
8
378 EMS SQL Backup Administration console - User manual
Gears menu
This chapter contains information concerning personalization of the application. These tools are accessible via pressing the Gears button located in the left-top corner of the
EMS SQL Backup window.
This group sets options for storing program settings.
This group includes general options: data security, server refresh, log depth and cloud storages.
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
379 EMS SQL Backup Administration console - User manual
8.1
Switch/Save configuration
Program settings are stored in XML format. You can save them either in a separate XML file or in database table. The settings include info concerning server registration, policies, groups and solutions, templates, environment options.
Note:
We recommend you to make backups of the table with EMS SQL Backup settings.
XML file is backed up automatically on program launch (see .bak file in the current settings folder).
Switch Configuration
You can load different or backed up program configuration using Switch configuration
EMS SQL Backup Console menu item. The current options, if not saved, will be lost.
Save Configuration
You can save existing configuration using Save configuration EMS SQL Backup Console menu item.
© 1999-2015 EMS Database Management Solutions, Ltd.
380 EMS SQL Backup Administration console - User manual
Store in a configuration file on your local computer
Set the path to the settings file and its name in the File Name field.
Store in an SQL Server database
Server Name
Select the host from the drop-down list to connect to. The list contains servers found automatically in the local network.
This list is formed using SQL-DMO components function - "ListAvailableSQLServers". If
SQL-DMO components are not installed the "NetServerEnum" function from netapi32.dll is used. If neither SQL-DMO components, nor netapi32.dll are installed, the Server name drop-down list will be empty when the program is launched for the first time, and filled with host names already registered in the program, during further launches.
Please note that if Microsoft® SQL Server™ is installed as a named instance, you should input instance name in the 'Server name' field in the following format: computer_name\sqlserver_instance_name or ip_address\sqlserver_instance_name (e.g.
"MYCOMPUTER\SQLEXPRESS", "127.0.0.1\SQLEXPRESS" ).
Note:
If a server name cannot be found automatically, type in its name in the field.
Select Authentication type to be used for the connection: Windows Authentication or SQL Server authentication and set user name and password correspondingly.
Connection timeout
Set timeout limit (in seconds) for establishing connection to the server.
Database Name
Select the database name for loading\saving the configuration from the drop-down menu.
Test Connection
Check whether the connection is established successfully.
Schema is a database schema for configuration table that will store logs and policy table names.
Options Table Name
EMS SQL Backup policies will be stored in this table.
Switch to Saved Configuration
Enable this option to move current configuration to another location and apply it, otherwise configuration will be saved (exported) to the specified location.
© 1999-2015 EMS Database Management Solutions, Ltd.
381 EMS SQL Backup Administration console - User manual
8.2
Options
This tool allows you to customize general options of EMS SQL Backup. To open the tool use Environment options EMS SQL Backup Console menu item.
© 1999-2015 EMS Database Management Solutions, Ltd.
382 EMS SQL Backup Administration console - User manual
8.2.1
General
General options tab allows you to set the security parameters for configuration data and select the EMS SQL Backup Console time zone.
The Home time zone option is used for planning tasks in
When you first launch the EMS SQL Backup Administration Console its Home time zone equals the time zone set on the machine it was started on. If your machine is moved to another time zone the Console time zone is not change automatically. You need to switch it using the Home time zone combobox. All time zones available in the operation system are listed here.
Under the combobox the time zone set on the machine with the running Administration
Console is displayed.
Note:
After changing the Home time zone value all policies scheduled on the basis of the home time zone will be redeployed according to the newly set time zone.
Encrypt configuration data
If this option is ON the
configuration data is encrypted. The password is prompted on
program launch when configuration information is loaded.
Password
Set password that is used for configuration encryption.
Confirm password
© 1999-2015 EMS Database Management Solutions, Ltd.
383 EMS SQL Backup Administration console - User manual
Confirm the password specified as an encryption password above.
© 1999-2015 EMS Database Management Solutions, Ltd.
384 EMS SQL Backup Administration console - User manual
8.2.2
Data refreshing
Data refreshing tab allows customizing some program settings.
Server refresh interval (sec)
Set the interval (in seconds) for refresh of servers at the
Log view depth (days)
Set the limit of days for displaying
and
.
Launches records per page
Specify the number of records that is loaded at once in the
© 1999-2015 EMS Database Management Solutions, Ltd.
385 EMS SQL Backup Administration console - User manual
8.2.3
Cloud Connections
Cloud Connections tab allows you to set connections parameters to external storages for your backups. When configuring backup operation you will be offered to select storage for backup files copies among those which are defined here. The selection is performed on the
Specifying cloud connections step of the Backup wizard.
To add a storage to the list click the Create new connection button. In the opened window select the needed connection type.
© 1999-2015 EMS Database Management Solutions, Ltd.
386 EMS SQL Backup Administration console - User manual
Select this item to create a folder for backups on a local or network storage.
Select this item to create a folder for backups on FTP server. FTP with SSL (Implicit and
Explicit) is available.
This connection is used for storing backups in Amazon S3 bucket.
Choose this connection if you want to store backups on SFTP server. Connection is established over SSH channel.
This connection is used for uploading backups to Microsoft Azure container of BLOB objects.
© 1999-2015 EMS Database Management Solutions, Ltd.
387 EMS SQL Backup Administration console - User manual
8.2.3.1
SMB/CIFS Connection
The SMB/CIFS Connection Settings dialog is provided for configuring local or remote network folders.
Name
Specify the name for the connection. The connection name must be unique among all that were already created.
Folder
Specify the local or network folder for storing backup copies. Use the ellipsis button to browse for directory. By clicking the button you can open the specified directory. Note that a path to a network folder must be specified in the UNC format.
Overwrite existing file
If this option is checked than the backup file with the same filename will be overwritten in the specified location. Otherwise, in this case the uploading operation will return an error.
Set the authentication parameters for uploading backup files to the specified directory.
Note that the specified user should have sufficient rights to write to the target folder.
You can choose Windows Authentication or provide User name and Password in the corresponding fields.
You can check the access to the specified folder by clicking the Test button. You will be offered to select servers over which the connection should be checked.
© 1999-2015 EMS Database Management Solutions, Ltd.
388 EMS SQL Backup Administration console - User manual
8.2.3.2
FTP Connection
The FTP Connection Settings dialog is provided for configuring FTP Server connection for uploading backup files.
Name
Specify the name for the connection. The connection name must be unique among all that were already created.
Host address
Define the FTP host address. Here you can enter server name or its IP address (without specifying protocol).
Remote folder
Define the directory on the FTP server where backup files will be uploaded. If the specified directory does not exist on the server it will be created on the first upload process.
Set the authentication parameters for uploading backup files to the specified FTP server.
© 1999-2015 EMS Database Management Solutions, Ltd.
389 EMS SQL Backup Administration console - User manual
Note that the specified user should have sufficient rights to write to the target folder.
You can choose Anonymous logon or provide User name and Password in the corresponding fields.
Protocol
Select the protocol that should be used for backup files transferring. The possible values are:
F T P (St a nda r d)
F T PS (Im plic it SSL/T LS)
F T PS (Explic it SSL/T LS)
Port
Specify the port the FTP connection should be executed through.
Mode
Select the mode of the FTP connection. The possible values are:
Pa ssiv e (PASV )
Ac t iv e (PO RT )
If you have checked the Use proxy option to connect to FTP you need to configure the following proxy settings:
Se r v e r, Po r t, Use r na m e a nd Pa ssw o r d.
Timeout
Specify the timeout in seconds when a connection will be timed out because of inactivity on the data channel.
You can check the access to the specified folder by clicking the Test button. You will be offered to select servers over which the connection should be checked.
If the specified remote folder does not exist it will be created on performing test access.
© 1999-2015 EMS Database Management Solutions, Ltd.
390 EMS SQL Backup Administration console - User manual
8.2.3.3
Amazon S3 Cloud Connection
The Amazon S3 Connection Settings dialog is provided for configuring connection to
Amazon bucket for uploading backup files.
Name
Specify the name for the connection. The connection name must be unique among all that were already created.
Bucket
Define the bucket that will be used for storing backups. You can create a bucket on the
Amazon website. If the specified bucket does not exist it will be created automatically in
US Standard region. Note that the bucket name must be unique among all Amazon S3 buckets.
Path
If you want backup files to be stored in a folder then set the path to the folder within the specified bucket. The folder will be created automatically on file upload. Use the '/' as a directory separator. For example, 'ba c kups/Adv e nt ur e Wo r ks'.
© 1999-2015 EMS Database Management Solutions, Ltd.
391 EMS SQL Backup Administration console - User manual
The Access key and the Secret key are used to get access to your bucket and are found on the Security Credentials page of your Amazon Web Services account.
Storage class
Select the storage class for uploaded backup files. The possible values are:
St a nda r d
Re duc e d Re dunda nc y
Protocol
Select the protocol that will be used for uploading backups to Amazon S3. The possible values are:
HT T P
HT T PS
If you have checked the Use proxy option to connect to Amazon S3 you need to configure the following proxy settings:
Se r v e r, Po r t, Use r na m e a nd Pa ssw o r d.
Timeout
Specify the timeout in seconds when a connection will be timed out because of inactivity on the data channel.
You can check the access to the specified bucket by clicking the Test button. You will be offered to select servers over which the connection should be checked.
If the specified bucket does not exist it will be created on performing test connection.
© 1999-2015 EMS Database Management Solutions, Ltd.
392 EMS SQL Backup Administration console - User manual
8.2.3.4
Secure FTP Connection
The Secure FTP Connection Settings dialog is provided for configuring SFTP (Secure File
Transfer Protocol) server connection for uploading backup files.
Name
Specify the name for the connection. The connection name must be unique among all that were already created.
Host address
Define the SSH host address. Here you can enter server name or its IP address (without specifying protocol).
Port
Specify the port the SFTP connection should be executed through.
Remote folder
Define the directory on the SFTP server where backup files will be uploaded. If the specified directory does not exist on the server it will be created on the first upload process.
Set the authentication parameters for uploading backup files to the specified SFTP server.
© 1999-2015 EMS Database Management Solutions, Ltd.
393 EMS SQL Backup Administration console - User manual
Note that the specified user should have sufficient rights to write to the target folder.
Provide User name and Password in the corresponding fields.
Proxy
Select the proxy through which the connection to the SFTP server will be established.
The possible values are:
So c ks 4
So c ks 5
HT T P
If you have selected to connect through proxy to SFTP you need to configure the following proxy settings:
Se r v e r, Po r t, Use r na m e a nd Pa ssw o r d.
Timeout
Specify the timeout in seconds when a connection will be timed out because of inactivity on the data channel.
You can check the access to the specified folder by clicking the Test button. You will be offered to select servers over which the connection should be checked.
If the specified remote folder does not exist it will be created on performing test access.
© 1999-2015 EMS Database Management Solutions, Ltd.
394 EMS SQL Backup Administration console - User manual
8.2.3.5
Microsoft Azure Cloud
The Azure Connection Settings dialog is provided for configuring connection to
Microsoft Azure BLOB storage container for uploading backup files.
Name
Specify the name for the connection. The connection name must be unique among all that were already created.
Account Name
Enter a name of the Microsoft Azure storage account. The storage account name forms the subdomain of the BLOB object URL address.
Account key
Enter the storage access key. Both primary and secondary key can be used.
Container
Every blob in Azure storage resides in a container. Use the drop-down list to select the container among existing ones. You can enter any new valid container name as well. To view container naming rules hove the icon.
Timeout, sec
Specify the timeout in seconds when a connection will be timed out because of inactivity on the data channel. If the server timeout interval elapses before the service has finished processing the request, the service returns an error.
You can check the access to the specified bucket by clicking the Test button. You will be offered to select servers over which the connection should be checked.
If the specified container does not exist it will be created on performing test connection.
© 1999-2015 EMS Database Management Solutions, Ltd.
395 EMS SQL Backup Administration console - User manual
8.2.4
Proxy
Use the Proxy tab to define connection settings. These parameters will be used for to perform on-line
or
deactivation of a license key.
Choose one of three options:
Aut o m a t ic a lly de t e c t pr o xy se t t ings
I ha v e dir e c t c o nne c t io n t o t he Int e r ne t
M a nua l pr o xy c o nfigur a t io n
Proxy Server
If you have chosen to configure proxy manually then use this group of options to set the following proxy server parameters: host, port, user name and user password (if the Use
authentication option is checked).
Click the Test connection button to check connection to the proxy server with the settings defined above.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
IX
9
398 EMS SQL Backup Administration console - User manual
How to...
The succeeding pages of this chapter are intended to provide you with brief instructions on how to perform this or that operation correctly using EMS SQL Backup.
Install server-side components without having permissions for remote installation
Schedule backup database task daily
Configure transaction log shipping
Monitor server productivity counters
Create a policy based on predefined templates
Add database/server to an existing policy
Create a policy rapidly on sevreral servers/databases
Transfer policy tasks to another set of databases/servers
Reveal a reason of a failed policy execution
Restore successful policy status
Convert SQL Server maintenance plan to EMS SQL Backup policy
Configure policy notifications
Create a report on policy execution
Ensure simultaneous policy execution on servers from different time zones
See also:
© 1999-2015 EMS Database Management Solutions, Ltd.
399 EMS SQL Backup Administration console - User manual
9.1
Install EMS SQL Backup
EMS SQL Backup consists of two core units: SQL Administration Console and Server-side components. So to perform a full installation and start working with SQL Server in EMS
SQL Backup Console you need:
1.
Install EMS SQL Backup Administration Console.
2. Register server using the
Register Server Wizard . To launch it use the
Register
Server context menu item of the Server Explorer.
3. Connect to the server using the Connect item of its context menu.
4. After server registration you need to install server-side components. To launch the
Install server-side EMS SQL Backup components use the Install server-side EMS SQL
Backup Components server context menu item.
© 1999-2015 EMS Database Management Solutions, Ltd.
400 EMS SQL Backup Administration console - User manual
9.2
Install server-side components without having permissions for remote installation
If you do not have permissions for a remote installation of server-side components using
Install server-side EMS SQL Backup components you can install them locally on the server
using the
Stand-alone remote components Installer .
In order to perform server-side components installation locally on the server do the following:
1. copy EMS SQL Backup setup file to the server machine.
2. launch the EMS SQL Backup setup wizard and choose the Server-side only mode on the third step.
3. after the EMS SQL Backup Setup wizard is finished the
Installer is launched automatically.
4. follow the steps of the wizard in compliance with
Note:
The EMS SQL Backup setup wizard installs EMS SQL Backup Service Installer application ( Inst a llWiza r d.e xe)which allows installing, updating and removing server-side components locally on a server.
© 1999-2015 EMS Database Management Solutions, Ltd.
401 EMS SQL Backup Administration console - User manual
9.3
Activate license on SQL Server instance
License activation for SQL Server instance is performed by means of
License activation wizard . Use the Activate license server context menu item to launch this wizard.
There are four methods of activating license on SQL Server instance: online activation; web-site activation; manual re-activation.
Online activation
1. On the
first step of the wizard select the Activate EMS SQL Backup License online
option.
2. On the
second step of the wizard enter License Key. It can be copied from the
Members Area or from the e-mail that is received after license purchasing.
3. On the
click the Finish button to complete the activation.
Web-site activation
1. On the first step of the wizard select the Activate EMS SQL Backup License
through our website option.
2. Register in the Members Area at https://secure.sqlmanager.net/login and open My
Registered Products section.
3. Expand key list for desired product and choose the Activate License action.
4. Enter automatically generated SQL Server instance ID on the
form and generate the activation code.
5. Copy the generated activation code in the License Activation Code field on the
6. On the
click the Finish button to complete the activation.
Renew maintenance manually
This option is available if the license key is already activated for prolonging maintenance.
1. On the
first step of the wizard select the Enter existing license activation code
manually option.
2. On the
second step enter License Activation Code.
3. On the
click the Finish button to complete the activation.
© 1999-2015 EMS Database Management Solutions, Ltd.
402 EMS SQL Backup Administration console - User manual
9.4
Schedule backup database task daily
If you want a backup database task to be executed daily you need to create a
with a
Backup Database step and a schedule with appropriate parameters.
In order to do this perform the following operations:
1. choose the database in the server explorer and select the
Maintenance Policies |
Create New Policy item of its context menu;
2. on the second step of
policy wizard select the Steps section and click the
Add
button;
3. in the Select Step dialog select the Backup Database item;
4. in the
Backup Database step wizard opened configure backup settings; after all wizard
steps completion the Ba c kup Da t a ba se step appears in the Steps list;
5. select the Schedules section and click the Add button;
6. in the opened
set the following parameters:
Schedule type - Re c ur r ing fr o m da t e,
Occurs - Da ily,
Recurs every - 1 da y,
Daily frequency - O c c ur s o nc e a t,
Occurs once at - launch time for backup database task execution; then press the OK button
7. complete all steps of the policy wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
403 EMS SQL Backup Administration console - User manual
9.5
Setup uploading backup files to different storage locations
(Network folders/FTP/SFTP/Clouds)
EMS SQL Backup provides the possibility to save backup files not only in the standard
backup folder but also upload their copies to different external storages.
If you want to configure uploading of backup files to different storages perform the following actions.
1. Open the
dialog and proceed to the
2. Click the Create new connection button and select the connection type in the opened dialog:
,
3. Depending on the type selected the relevant dialog for configuring connection properties appears.
4. After all connection properties are set click the OK button. The specified connection appears in the list of Cloud connections.
5. After that on configuring
backup operation proceed to the
step of the wizard and click the Add existing connection button.
6. Select the connection from the list. You can add as many connections as you need.
© 1999-2015 EMS Database Management Solutions, Ltd.
404 EMS SQL Backup Administration console - User manual
9.6
Create a policy based on predefined templates
There is a set of predefined policies, tasks, steps and schedules in EMS SQL Backup that can be used for rapid maintenance policy creation.
All predefined templates with descriptions can be found on the
In order to add a predefined task to a policy you need to proceed to the
the
Policy wizard , select the Tasks section, click the
button and select the needed
.
Create New from Template
In order to add a predefined step to a task in a policy you need to proceed to the
Policy wizard , select the Steps section, click the
Template button and select the needed
Create New from
In order to add a predefined schedule to a task in a policy you need to proceed to the
Policy wizard , select the Schedules section, click the
New from Template button and select the needed
.
Create
© 1999-2015 EMS Database Management Solutions, Ltd.
405 EMS SQL Backup Administration console - User manual
9.7
Configure transaction log shipping
To configure transaction log shipping from one server to another you need to create a policy with a
Transaction Log Shipping step.
On the
of the
Transaction Log Shipping wizard you need to set pairs of
databases for transaction log shipping. The destination database must be the restored copy of the source database and be in Re st o r ing state. Otherwise use the Overwrite (to rewrite database) or Create new options.
On the
third step of the wizard specify the directory on the source server for storing
transaction log backups of the source database. Also, set backup parameters.
On the fourth step you need to set the backup shared folder (Network shared folder) for copying transaction log backups of the source database. Backup files will be transferred to the directory set in the Destination folder field. Both source and destination servers should have access to this folder otherwise log shipping cannot be performed.
If you are creating or overwriting a database then after
Transaction Log Shipping wizard
completion the full source database backup copy is created on a destination server. The destination database is in the restoring state. Transaction log shipping will be performed according to the schedule set in the service task.
Note:
On the
first step of the policy with Transaction Log Shipping step you need to set
Use local Console time as absolute time option.
© 1999-2015 EMS Database Management Solutions, Ltd.
406 EMS SQL Backup Administration console - User manual
9.8
Monitor server productivity counters
Using the
Database Parameters Logger maintenance operation you can monitor database
parameters and receive notifications when their values do not match specified conditions.
To receive warnings about possible faults you need to include
Logger step in a policy. Also you can execute this maintenance action by selecting
Quick Maintenance Actions | Database Parameters Logger context menu item of a server or a database.
In case a status of a policy including Database Parameters Logger step changed to
Wa r ning after policy execution that means some databases parameters values do not match conditions set on the third step of
Database Parameters Logger wizard . To view
these parameters and their values select this step in the
Launches list and click the Show
details button. The information in the dialog appeared will contain a detailed report on step execution result.
© 1999-2015 EMS Database Management Solutions, Ltd.
407 EMS SQL Backup Administration console - User manual
9.9
Add database/server to an existing policy
There are several ways to add databases or servers to a policy. The way chosen depends on whether the policy was created on a solution or not and on tasks and steps count in a policy.
A policy was created on a solution with databases/servers
1. If a policy includes a big number of tasks (steps) then do the following: create a template based on this policy (without saving selected databases) by choosing the Create Template from Policy its context menu item; add needed databases/servers to the existing solution; create policy on a renewed solution based on the created template by choosing the
Maintenance Policies | Create from Templates of the solution context menu item.
2. If a policy includes several tasks (steps) then it is recommended to open every step editor and check needed databases/servers on a Selection tab.
A policy was created on separate databases/servers
1. If a policy includes a big number of tasks (steps) then it is recommended to do the following: unite databases/servers from this policy into a solution and then add needed databases/servers to it; create a template based on this policy (without saving selected databases) by choosing the Create Template from Policy its context menu item; create a policy based on this template on the created solution by using the
Maintenance Policies |
Create from Templates solution context menu item.
2. If a policy includes several tasks (steps) then it is recommended to open every step editor and check needed databases/servers on a Selection tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
408 EMS SQL Backup Administration console - User manual
9.10
Create a policy rapidly on several servers/databases
The most efficient way to create a policy rapidly on several servers/databases is to create it on a solution that unites these servers/databases.
In order to create a policy rapidly on several servers or databases perform the following operations:
1. create a solution by selecting Create Solution context menu item of Solutions section;
2. move needed databases/servers to this solution;
Note:
One solution cannot include both databases and servers.
3. Select the Maintenance Policies | Create New Policy solution context menu item to create a new policy. All databases/servers will be checked automatically in creating steps in this policy.
© 1999-2015 EMS Database Management Solutions, Ltd.
409 EMS SQL Backup Administration console - User manual
9.11
Transfer policy tasks to another set of databases/servers
There are several ways to transfer policy tasks from one set of databases/servers to another. The way chosen depends on whether the policy was created on a solution or not and on tasks and steps count in a policy.
A policy was created on a solution with databases/servers
1. If a policy includes a big number of tasks (steps) then do the following: create a template based on this policy (without saving selected databases) by choosing the Create Template from Policy its context menu item; create a new solution and add needed databases/servers to it; create policy on this solution based on the created template by choosing the
Maintenance Policies |
Create from Templates of the solution context menu item.
2. If a policy includes several tasks (steps) then it is recommended to open every step editor and check needed databases/servers on a Selection tab.
A policy was created on separate databases/servers
1. If a policy includes a big number of tasks (steps) then it is recommended to do the following: unite databases/servers on which you want to transfer policy into a solution; create a template based on this policy (without saving selected databases) by choosing the Create Template from Policy its context menu item; create a policy based on this template on the created solution by using the
Maintenance Policies |
Create from Templates solution context menu item.
2. If a policy includes several tasks (steps) then it is recommended to open every step editor and check needed databases/servers on a Selection tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
410 EMS SQL Backup Administration console - User manual
9.12
Reveal a reason of a failed policy execution
If a server has at least one policy with status F a ile d then the server status contains
Policies have problems message.
To reveal a policy with erroneous execution you need to find a policy with a F a ile d status in the
list. This status means that at least one policy task execution was erroneous.
When you select this policy task in the
list shows information on all task launches. Select a task with a F a ile d status and click the Show details button in the M e ssa ge column. In the dialog appeared the reason of failed execution will be displayed in the Message field
If the problem occurred on policy execution has been resolved you can
restore succeeding policy status .
© 1999-2015 EMS Database Management Solutions, Ltd.
411 EMS SQL Backup Administration console - User manual
9.13
Restore successful policy status
If you have revealed a reason of why a policy did not run or failed after execution you can repair its overall status that means to change erroneous policy statuses ( F a ile d,
M isse d, Abo r t e d and Wa r ning) to Igno r e d and repeat erroneous tasks if needed. This can be done on several ways.
Click the Resolve button located under the server
status . In the dialog appeared all
problem tasks of all policies will be listed. You can change erroneous status to Igno r e d and/or execute all problem tasks of all policies. In this case overall status of every policy will be changed based on last launches of erroneous tasks.
Select the erroneous policy in the
list and then choose the Resolve the
Problem item of its context menu. In the opened dialog you will be proposed to change statuses of all erroneous policy tasks to Igno r e d and/or execute all problem tasks of this policy. In this case overall status of this policy will be changed based on last launches of its erroneous tasks.
Select the erroneous policy task in the
Policies list and then choose the Resolve the
Problem item of its context menu. In the opened dialog you will be proposed to change status of this erroneous policy task to Igno r e d and/or repeat its execution. In this case overall status of this policy will be changed based on a last launch of this erroneous task.
Using a context menu of an erroneous task in the
Launches list you can change to
Igno r e d (Ignore Errors for Selected Launches) its status or statuses of all erroneous tasks (Ignore Errors for All Problem Launches).
© 1999-2015 EMS Database Management Solutions, Ltd.
412 EMS SQL Backup Administration console - User manual
9.14
Convert SQL Server maintenance plan to SQL Backup policy
Configured SQL Server maintenance plans can be used in EMS SQL Backup after their conversion to EMS SQL Backup policies.
To convert SQL Server maintenance plan to EMS SQL Backup policy perform the following operations:
1. Select the
Maintenance Policies |
Convert from Maintenance Plan server context menu item to launch
Maintenance plan conversion wizard .
2. On the
second step of the wizard select the maintenance plan for conversion.
3. On the
third step of the wizard you can view conversion results. Maintenance plan
subplans are converted to policy service tasks. In case some mistakes occurred on maintenance plan conversion you can correct them in the
policy editor that is launched
by clicking the Edit Policy button.
4. It is recommended to check the Disable Maintenance plan option to disable tasks execution in maintenance plan being converted.
5. On the last step view conversion settings and click the Finish button. Created policy appears in the list on the Policies tab.
© 1999-2015 EMS Database Management Solutions, Ltd.
413 EMS SQL Backup Administration console - User manual
9.15
Manage templates effectively
Using the
templates tool of EMS SQL Backup you can create saved into EMS SQL Backup
configuration policies, tasks, steps and schedules settings.
In order to create a template proceed to the Templates tab and choose an object type
(policy, task, step or schedule) which template you want to create. Then click the Add button located on the toolbar or in the context menu.
If you already have a configured policy on a group of databases or servers you can create its template. In order to do this proceed to the Policies tab and select the Create
Template from Policy its context menu item.
Also you can create templates of existing tasks, steps and schedules. To do this you need to: open the policy including these objects in the
select the Copy to Templates context menu item of the object which template you want to create.
All saved templates can be later used for creating policies.
In order to create a policy based on a template you need to select the
Create Policy
from Template context menu item of a policies list on the Policies tab. In the Item
Selection dialog choose the needed template (or several templates). The policy editor will be opened. All tasks included in the template will be automatically added to the policy being created.
In order to create a
schedule based on a template in a policy use the
Add
New from Template context menu item or the toolbar corresponding button on the second step of the
policy wizard . The added object can be opened in its editor afterwards
to change some parameters if needed.
Templates tab contains a list of all predefined templates as well as templates created by user. You can save a template into *.xml file by selecting the Export its context menu item. Also you can load saved templates using the Import button. This ability allows copying templates from one EMS SQL Backup configuration to another.
See also:
Create a policy based on predefined templates
© 1999-2015 EMS Database Management Solutions, Ltd.
414 EMS SQL Backup Administration console - User manual
9.16
Configure policy notifications
You can configure notifications that will inform you about policy execution result via email.
Notification parameters are set on the
of the
You need to set an action on which notifications should be sent:
When the policy succeeds - send the message when policy tasks have been successfully completed;
When the policy fails - send the message when policy has failed;
When the policy completes - send the message when policy has been launched.
In the Send E-mail To field enter the e-mail address of the administrator that should receive messages generated on policy execution.
SQL Server Agent must be configured to use Database Mail for sending e-mail.
Note:
Email agent options should be set for the service at
© 1999-2015 EMS Database Management Solutions, Ltd.
415 EMS SQL Backup Administration console - User manual
9.17
Create a report on policy execution
Using the reports tool you can view information on policy tasks execution that is displayed in the
Launches section as well as save reports to files of different formats and send them
via email.
To generate a report on task execution you need to click the Report button on the toolbar of the
section or select the Show Report context menu item of a task.
There are three types of reports:
Single-server report
Multi-server report
Detailed task report
Single-server report
This report can be viewed when a single server is selected in the
deployed on this server is selected in the
Policies area. If a policy deployed on several
servers is selected in
Policies area a report will include information on launches of this
policy only on the selected server. The report displays brief information on tasks of the selected policy including t a sk na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d and t a sk st a t us.
Multi-server report
Multi-server report is available when a policy deployed on multiple servers is selected in the
area. Besides, a group or a solution must be selected in the
report displays brief information on tasks of the selected policy including t a sk na m e, se r v e r na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d and t a sk st a t us.
Detailed task report
Task report is available when a particular task is selected in the
area. This report displays a detailed information on a task and its steps of the selected policy including t a sk na m e, pla nne d st a r t, t im e st a r t e d, t im e finishe d, t a sk/st e p st a t us and e xe c ut io n m e ssa ge (info r m a t io n, w a r ning o r e r r o r ).
© 1999-2015 EMS Database Management Solutions, Ltd.
416 EMS SQL Backup Administration console - User manual
9.18
Ensure simultaneous policy execution on servers from different time zones
To ensure simultaneous policy tasks launches on servers located in different time zones you need to select the Use local Console time as absolute time option on the
In this case a policy will be executed on all servers at the time corresponding to the local
EMS SQL Backup Console taking into consideration time zones where servers are located.
© 1999-2015 EMS Database Management Solutions, Ltd.
417 EMS SQL Backup Administration console - User manual
9.19
Report bugs and suggestions
If you want to report a bug occurred in the application or just provide some feedback you can do it directly from the EMS SQL Backup. Before reporting bugs and suggestions make sure you are using the latest version of the EMS SQL Backup.
To create an e-mail with attached bug report files automatically do the following:
1. select the server on which the problem occurred in the
2. choose the Send bug report to EMS its context menu item;
3. after a while the default mail client installed on your computer will be opened with newly created letter having bug report files attached to it;
4. in the generated e-mail describe the steps to reproduce the occurred bug and send the letter.
If due to some reasons the e-mail creation failed or the report sending was cancelled the following dialog appears.
Follow the given instructions to create bug report e-mail manually:
1. click the "mailto:" link [email protected]
to open mail client, or in case no client has been opened copy the address by clicking the Copy to clipboard button and create e-mail in a preferable client;
2. click the Save and open folder button and define the directory where the bug report file should be saved; after the file is saved the defined directory will be opened automatically;
3. attach the saved file to the created e-mail;
4. describe the steps to reproduce the occurred bug and send the letter.
© 1999-2015 EMS Database Management Solutions, Ltd.
418 EMS SQL Backup Administration console - User manual
9.20
Update EMS SQL Backup
EMS SQL Backup update process consists of EMS SQL Backup Administration Console and
Server-side components update.
In order to update EMS SQL Backup Administration Console, please, do the following: download the full installation package of EMS SQL Backup from the download page available at our site; close EMS SQL Backup application if it is running; repeat the steps you have made for the first-time installation; run EMS SQL Backup using its shortcut in the corresponding group of Windows Start menu.
After EMS SQL Backup Administration Console is launched you will be warned that serverside components version is out-of-date. You will be offered to update server-side components. This is done by means of
Update/Remove server-side EMS SQL Backup components .
If you do not have permissions for remote update of server-side components via EMS SQL
Backup Administration Console you can copy EMS SQL Backup setup file to the server machine and run installation there. Server-side components update process locally on a server is similar to their installation process and is performed by means of
Stand-alone remote components Installer . To update server components you need to select the
Update option and then select instances on which you want to update components.
© 1999-2015 EMS Database Management Solutions, Ltd.
419 EMS SQL Backup Administration console - User manual
9.21
Remove EMS SQL Backup
In order to remove EMS SQL Backup perform the following operations:
1. Remove server-side components from all servers they were installed. This is done by means of
Update/Remove server-side EMS SQL Backup components that is launched by
selecting the Update/Remove server-side EMS SQL Backup components server context menu item.
2. Remove EMS SQL Backup Administration Console from your computer via Control Panel -
> Programs and Features.
Note:
If you do not have permissions for remote of server-side components uninstall via
EMS SQL Backup Administration Console you can copy EMS SQL Backup setup file to the server machine and run installation there. Server-side components remove process locally on a server is similar to their installation process and is performed by means of
Standalone remote components Installer . To remove server components you need to select the
Uninstall All option on the second step.
© 1999-2015 EMS Database Management Solutions, Ltd.
420 EMS SQL Backup Administration console - User manual
9.22
Use Free version of EMS SQL Backup
In order to use EMS SQL Backup Free version you need to activate the Free license key.
Note that for activating Free license you need Internet connection.
1. Open the
License activation wizard from the SQL Server instance context menu.
2. On the
first step of the wizard select the Activate EMS SQL Backup License online
option.
3. On the
second step of the wizard select the Free option as a License type.
4. Complete the wizard steps.
The list of all functional differences between EMS SQL Backup versions can be found in the Feature Matrix.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
X
422 EMS SQL Backup Administration console - User manual
10 Appendix
10.1
Database states
The general database status includes SQL Server database state (the database icon color or right-bottom corner icon) and
policy status (the color of a shield in the left-top
corner).
- database is in an emergency state and does not have policies
- database is in an emergency state and all policies have "succeeded" status
- database is in an emergency state and has failed policies
- database is in an emergency state and has some warnings on policy execution
- database is offline and does not have policies
- database is offline and all policies have "succeeded" status
- database is offline and has failed policies
- database is offline and has some warnings on policy execution
- database is online and does not have policies
- database is online and all policies have "succeeded" status
- database is online and has failed policies
- database is online and has some warnings on policy execution
- database is in a single user mode and does not have policies
- database is in a single user mode and all policies have "succeeded" status
- database is in a single user mode and has failed policies
- database is in a single user mode and has some warnings on policy execution
- database is in a recovering state and does not have policies
- database is in a recovering state and all policies have "succeeded" status
- database is in a recovering state and has failed policies
- database is in a recovering state and has some warnings on policy execution
- database is in a restoring state and does not have policies
- database is in a restoring state and all policies have "succeeded" status
- database is in a restoring state and has failed policies
- database is in a restoring state and has some warnings on policy execution
- database is suspect and does not have policies
- database is suspect and all policies have "succeeded" status
- database is suspect and has failed policies
- database is suspect and has some warnings on policy execution
- database is inactive
© 1999-2015 EMS Database Management Solutions, Ltd.
423 EMS SQL Backup Administration console - User manual
10.2
Backup Converter Utility
This utility is used for converting EMS SQL Backup backup files to standard MS SQL Server backup files. It is run in console mode only.
Usage:
<pa t h t o C o nv e r t Ut il.e xe t o o l>\C o nv e r t Ut il.e xe -I[nput F ile ]:file _na m e -O [ut put F ile ]: file _na m e -D[a t a ba se s]:na m e [,...n] [-H[e lp]|He lp|-?] [-P[a ssw o r d]:pa ssw o r d]
The path to this utility is "C :\Pr o gr a m F ile s\EM S\SQ L Ba c kup\Dist r ib\Se r v ic e \", on the machine where EMS SQL Backup Console is installed; on the server - "C :\Pr o gr a m
F ile s\EM S\SQ L Ba c kup\Se r v ic e \".
Where
-I[nputFile] stands for the EMS SQL Backup file to be converted
-O[utputFile] sets the result name of SQL Server backup file
-D[atabases] sets database name(s), which data should be extracted
Optional parameters:
-H[elp]|Help|-? outputs reference information
-P[assword] sets the password to convert encrypted backups
Example:
"C :\Pr o gr a m F ile s\EM S\SQ L Ba c kup\Se r v ic e \C o nv e r t Ut il.e xe " -I: C :\Da t a \T EST .bkp O : T EST m s.ba k
D:Em plo y e e ,De pa r t m e nt s P:8p5Z h79
Note:
If EMS SQL Backup backup is split into several files you only need to specify the first file from the chain, all subsequent files are processed automatically.
Note:
If on backup you specified more than one threads at
Defining EMS SQL Backup settings , you will get
n MS SQL Server files as a result of conversion. You will need to select all of those n files on restore by MS SQL Server means.
© 1999-2015 EMS Database Management Solutions, Ltd.
424 EMS SQL Backup Administration console - User manual
10.3
Server folder dialog
SQL Server Folders dialog allows you to browse directories on the server.
This dialog is opened on selecting server backups folder in:
tab of the
Server-side components properties dialog
;
Setting file options step of the
the
;
Selecting available backup step of the
step of the
;
Selecting files/folders for cleanup step of the
Maintenance Cleanup wizard and
Maintenance Cleanup step editor
;
Specifying folders and recovery options steps of the
Transaction Log Shipping wizard and
Transaction Log Shipping step editor .
© 1999-2015 EMS Database Management Solutions, Ltd.
425 EMS SQL Backup Administration console - User manual
Credits
Software Developers:
Alexey Butalov
Nicolay Sezganov
Alexander Pak lin
Andrey Kudryashov
Nik ita Konuchenk o
Technical Writers:
Olga Radchenk o
Tatyana Ovsyannik ova
Cover Designer:
Tatyana Mak urova
Translators:
Anna Shulk ina
Serge Fominik h
Team Coordinators:
Nicolay Sezganov
Alexander Chelyadin
Roman Tk achenk o
© 1999-2015 EMS Database Management Solutions, Ltd.
Download
Advertisement
Key features
Automated backups and restores
Log shipping management
Database health monitoring
Performance tracking
Intuitive user interface
Alerting and reporting
Frequently asked questions
EMS SQL Backup is a comprehensive solution for automating and managing backups, restores, and log shipping tasks on your SQL Server. It provides an intuitive interface and powerful features to enhance your database management.
EMS SQL Backup supports various backup types, including full, differential, and transactional log backups. You can also schedule different backup types for different databases based on your requirements.
EMS SQL Backup simplifies log shipping by automating the process of backing up transaction logs, transferring them to secondary servers, and restoring them. It also provides monitoring and alerting features to ensure that log shipping is running smoothly.