EMS SQL Backup Administration console
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
What's
...........................................................................................................................................13
new
System
...........................................................................................................................................14
requirements
Installation
...........................................................................................................................................15
Purchasing
...........................................................................................................................................16
How
...........................................................................................................................................18
to register SQL Backup
License activation
.................................................................................................................................................................. 19
Selecting
..........................................................................................................................................................................
license activation method
20
Entering
..........................................................................................................................................................................
license key
22
Web-site
..........................................................................................................................................................................
activation
23
Entering
..........................................................................................................................................................................
license activation code
24
Performing
..........................................................................................................................................................................
online activation
25
Completing
..........................................................................................................................................................................
operation
26
License deactivation
.................................................................................................................................................................. 27
Selecting
..........................................................................................................................................................................
deactivation method
28
Web-site
..........................................................................................................................................................................
deactivation
29
Performing
..........................................................................................................................................................................
online deactivation
30
Completing
..........................................................................................................................................................................
operation
31
License Manager
.................................................................................................................................................................. 32
Version
...........................................................................................................................................34
history
EMS
...........................................................................................................................................37
SQL Backup FAQ
Other
...........................................................................................................................................42
EMS Products
Part II Getting Started
50
EMS
...........................................................................................................................................51
SQL Backup overview
Policy
...........................................................................................................................................52
overview
Navigating
...........................................................................................................................................53
Part III Servers
56
Popup
...........................................................................................................................................60
menus
Groups popup
..................................................................................................................................................................
m enu
61
Group popup
..................................................................................................................................................................
m enu
62
Server popup
..................................................................................................................................................................
m enu
63
Database ..................................................................................................................................................................
popup m enu
65
Register
...........................................................................................................................................66
Server Wizard
Specifying..................................................................................................................................................................
connection param eters
67
Defining additional
..................................................................................................................................................................
options
69
Perform ing
..................................................................................................................................................................
operation
70
Install
...........................................................................................................................................71
server-side SQL Backup components
Selecting ..................................................................................................................................................................
installation type
72
Specifying..................................................................................................................................................................
service account settings
74
© 1999-2015 EMS Database Management Solutions, Ltd.
4
EMS SQL Backup Administration console - User manual
Perform ing
..................................................................................................................................................................
operation
76
Update/Remove
...........................................................................................................................................77
server-side SQL Backup components
Selecting ..................................................................................................................................................................
updating/rem oving type
78
Selecting ..................................................................................................................................................................
operation type
80
Specifying..................................................................................................................................................................
service account settings
81
Perform ing
..................................................................................................................................................................
operation
83
Update
...........................................................................................................................................84
server-side components
Service account
..................................................................................................................................................................
settings
86
Stand-alone
...........................................................................................................................................89
local server-side components installer
Configuring
..................................................................................................................................................................
installation settings
90
Installer
..........................................................................................................................................................................
connection properties
92
Perform ing
..................................................................................................................................................................
operation
93
Server
...........................................................................................................................................94
properties
Server connection
..................................................................................................................................................................
info
95
Server options
.................................................................................................................................................................. 97
Server-side
...........................................................................................................................................98
components properties
SQL Server
..................................................................................................................................................................
connection info
99
Em ail settings
.................................................................................................................................................................. 100
Log storage
..................................................................................................................................................................
settings
102
Backup settings
.................................................................................................................................................................. 104
Get
...........................................................................................................................................105
backup to Console
Specifying
..................................................................................................................................................................
backup source
106
Selecting..................................................................................................................................................................
backup files
108
View ing ..................................................................................................................................................................
sum m ary inform ation
109
Reports
...........................................................................................................................................110
Part IV Policies
114
Popup
...........................................................................................................................................116
menus
Policy popup
..................................................................................................................................................................
m enu
117
Task popup
..................................................................................................................................................................
m enu
118
Step context
..................................................................................................................................................................
m enu
119
Schedule..................................................................................................................................................................
context m enu
120
Server context
..................................................................................................................................................................
m enu
121
Policy
...........................................................................................................................................122
wizard
Setting policy
..................................................................................................................................................................
nam e and description
124
Defining ..................................................................................................................................................................
set of tasks
126
Defining ..................................................................................................................................................................
notification options
128
Creating..................................................................................................................................................................
policy
130
Policy
...........................................................................................................................................131
editor
Nam e and
..................................................................................................................................................................
description
132
General .................................................................................................................................................................. 134
Notification
.................................................................................................................................................................. 136
Maintenance
...........................................................................................................................................137
plan conversion
Welcom e.................................................................................................................................................................. 138
Selecting..................................................................................................................................................................
Maintenance plan to convert to policy
139
Perform ing
..................................................................................................................................................................
conversion
140
Operation
..................................................................................................................................................................
execution
141
Execute
...........................................................................................................................................142
policy
© 1999-2015 EMS Database Management Solutions, Ltd.
5
EMS SQL Backup Administration console - User manual
Policy
...........................................................................................................................................143
status
Policy
...........................................................................................................................................144
synchronization
Launches
...........................................................................................................................................145
Resolve
...........................................................................................................................................147
problem
Viewing
...........................................................................................................................................148
Policy History
Sorting .................................................................................................................................................................. 150
Grouping.................................................................................................................................................................. 151
Filtering .................................................................................................................................................................. 153
Part V Templates
158
Policy
...........................................................................................................................................160
templates
Creating..................................................................................................................................................................
tem plate from policy
162
Task
...........................................................................................................................................163
templates
Create task
..................................................................................................................................................................
w izard
165
Set..........................................................................................................................................................................
service task name and description
166
Define
..........................................................................................................................................................................
a set of steps for service task
167
Define
..........................................................................................................................................................................
schedule for service task
169
Creating
..........................................................................................................................................................................
task
170
Task editor
.................................................................................................................................................................. 171
Name
..........................................................................................................................................................................
and description
172
Steps
.......................................................................................................................................................................... 173
Schedules
.......................................................................................................................................................................... 174
Creating..................................................................................................................................................................
tem plate from task
175
Step
...........................................................................................................................................176
templates
Creating..................................................................................................................................................................
tem plate from step
178
Schedule
...........................................................................................................................................179
template
Schedule..................................................................................................................................................................
editor
181
Creating..................................................................................................................................................................
schedule from tem plate
183
Part VI Activities
186
Part VII Maintenance Actions
190
Creating
...........................................................................................................................................191
Steps
Backup Database
.................................................................................................................................................................. 193
Naming
..........................................................................................................................................................................
step
194
Selecting
..........................................................................................................................................................................
database provider
195
Selecting
..........................................................................................................................................................................
database
196
Defining
..........................................................................................................................................................................
SQL Backup settings
199
Setting
..........................................................................................................................................................................
backup options
201
SQL
..........................................................................................................................................................................
Server
203
Setting backup options
.........................................................................................................................................
for incremental backup
203
Setting
..........................................................................................................................................................................
file options
204
Specifying
..........................................................................................................................................................................
backup verifying options
206
Specifying
..........................................................................................................................................................................
cloud connections
208
Performing
..........................................................................................................................................................................
operation
210
Restore ..................................................................................................................................................................
Database
211
Selecting
..........................................................................................................................................................................
available backup
212
Selecting files manually
......................................................................................................................................... 214
Specifying
..........................................................................................................................................................................
the elements of backup
217
© 1999-2015 EMS Database Management Solutions, Ltd.
6
EMS SQL Backup Administration console - User manual
Defining
..........................................................................................................................................................................
target database parameters
219
Specifying
..........................................................................................................................................................................
restore options
221
Performing
..........................................................................................................................................................................
operation
224
Execute SQL
..................................................................................................................................................................
Server Agent job
225
Naming
..........................................................................................................................................................................
step
226
Selecting
..........................................................................................................................................................................
job
227
Performing
..........................................................................................................................................................................
operation
228
Execute T-SQL
..................................................................................................................................................................
statem ent
229
Naming
..........................................................................................................................................................................
step
230
Selecting
..........................................................................................................................................................................
server
231
Defining
..........................................................................................................................................................................
T-SQL statement
232
Performing
..........................................................................................................................................................................
operation
234
History Cleanup
.................................................................................................................................................................. 235
Naming
..........................................................................................................................................................................
step
236
Selecting
..........................................................................................................................................................................
server
237
Selecting
..........................................................................................................................................................................
historical data
238
Performing
..........................................................................................................................................................................
operation
240
Database..................................................................................................................................................................
Integrity Check
241
Naming
..........................................................................................................................................................................
step
242
Selecting
..........................................................................................................................................................................
databases
243
Setting
..........................................................................................................................................................................
options
245
Performing
..........................................................................................................................................................................
operation
247
Reorganize
..................................................................................................................................................................
Indices
248
Naming
..........................................................................................................................................................................
step
249
Selecting
..........................................................................................................................................................................
objects
250
Defining
..........................................................................................................................................................................
rules
252
Advanced
..........................................................................................................................................................................
options
253
Performing
..........................................................................................................................................................................
operation
255
Shrink Database
.................................................................................................................................................................. 256
Naming
..........................................................................................................................................................................
step
257
Selecting
..........................................................................................................................................................................
database
258
Setting
..........................................................................................................................................................................
options
260
Performing
..........................................................................................................................................................................
operation
261
Update Statistics
.................................................................................................................................................................. 262
Naming
..........................................................................................................................................................................
step
263
Selecting
..........................................................................................................................................................................
objects
264
Setting
..........................................................................................................................................................................
options
266
Performing
..........................................................................................................................................................................
operation
268
Database..................................................................................................................................................................
Param eters Logger
269
Naming
..........................................................................................................................................................................
step
270
Selecting
..........................................................................................................................................................................
database
271
Setting
..........................................................................................................................................................................
conditions
273
Performing
..........................................................................................................................................................................
operation
275
Maintenance
..................................................................................................................................................................
Cleanup
276
Naming
..........................................................................................................................................................................
step
277
Selecting
..........................................................................................................................................................................
files/folders for cleanup
278
Defining
..........................................................................................................................................................................
cleanup criteria
281
Performing
..........................................................................................................................................................................
operation
282
Transaction
..................................................................................................................................................................
Log Shipping
283
Naming
..........................................................................................................................................................................
step
284
Specifying
..........................................................................................................................................................................
database pairs
285
Specifying
..........................................................................................................................................................................
backup options
287
Specifying
..........................................................................................................................................................................
folders and recovery options
289
Performing
..........................................................................................................................................................................
operation
291
© 1999-2015 EMS Database Management Solutions, Ltd.
7
EMS SQL Backup Administration console - User manual
Database..................................................................................................................................................................
Shipping
292
Naming
..........................................................................................................................................................................
step
293
Specifying
..........................................................................................................................................................................
database pairs
294
Specifying
..........................................................................................................................................................................
backup options
296
Specifying
..........................................................................................................................................................................
folders and recovery options
298
View
..........................................................................................................................................................................
ing summary information
300
Editing
...........................................................................................................................................301
Steps
Backup database
.................................................................................................................................................................. 302
Name
..........................................................................................................................................................................
and description
303
General
.......................................................................................................................................................................... 304
Selection
.......................................................................................................................................................................... 305
SQL
..........................................................................................................................................................................
Backup settings
307
Backup
..........................................................................................................................................................................
file options
308
Options
.......................................................................................................................................................................... 310
Additional
..........................................................................................................................................................................
options
312
Verify
..........................................................................................................................................................................
options
313
Clouds
.......................................................................................................................................................................... 314
Execute SQL
..................................................................................................................................................................
Server Agent job
315
Name
..........................................................................................................................................................................
and description
316
Selection
.......................................................................................................................................................................... 317
Execute T-SQL
..................................................................................................................................................................
statem ent
318
Name
..........................................................................................................................................................................
and description
319
General
.......................................................................................................................................................................... 320
Selection
.......................................................................................................................................................................... 322
History Cleanup
.................................................................................................................................................................. 323
Name
..........................................................................................................................................................................
and description
324
General
.......................................................................................................................................................................... 325
Selection
.......................................................................................................................................................................... 327
Database..................................................................................................................................................................
Integrity Check
328
Name
..........................................................................................................................................................................
and description
329
General
.......................................................................................................................................................................... 330
Selection
.......................................................................................................................................................................... 332
Shrink Database
.................................................................................................................................................................. 334
Name
..........................................................................................................................................................................
and description
335
General
.......................................................................................................................................................................... 336
Selection
.......................................................................................................................................................................... 337
Reorganize
..................................................................................................................................................................
Indices
339
Name
..........................................................................................................................................................................
and description
340
General
.......................................................................................................................................................................... 341
Selection
.......................................................................................................................................................................... 342
Rebuild
..........................................................................................................................................................................
options
344
Update Statistics
.................................................................................................................................................................. 345
Name
..........................................................................................................................................................................
and description
346
General
.......................................................................................................................................................................... 347
Selection
.......................................................................................................................................................................... 349
Database..................................................................................................................................................................
Param eters Logger
351
Name
..........................................................................................................................................................................
and description
352
General
.......................................................................................................................................................................... 353
Selection
.......................................................................................................................................................................... 355
Maintenance
..................................................................................................................................................................
Cleanup
357
Name
..........................................................................................................................................................................
and description
358
General
.......................................................................................................................................................................... 359
Selection
.......................................................................................................................................................................... 360
© 1999-2015 EMS Database Management Solutions, Ltd.
8
EMS SQL Backup Administration console - User manual
Transaction
..................................................................................................................................................................
Log Shipping
363
Name
..........................................................................................................................................................................
and description
364
General
.......................................................................................................................................................................... 365
Selection
.......................................................................................................................................................................... 368
Database..................................................................................................................................................................
Shipping
370
Name
..........................................................................................................................................................................
and description
371
General
.......................................................................................................................................................................... 372
Selection
.......................................................................................................................................................................... 375
Part VIII Gears menu
378
Switch/Save
...........................................................................................................................................379
configuration
Options
...........................................................................................................................................381
General .................................................................................................................................................................. 382
Data refreshing
.................................................................................................................................................................. 384
Cloud Connections
.................................................................................................................................................................. 385
SMB/CIFS
..........................................................................................................................................................................
Connection
387
FTP
..........................................................................................................................................................................
Connection
388
Amazon
..........................................................................................................................................................................
S3 Cloud Connection
390
Secure
..........................................................................................................................................................................
FTP Connection
392
Microsoft
..........................................................................................................................................................................
Azure Cloud
394
Proxy .................................................................................................................................................................. 395
Part IX How to...
398
Install
...........................................................................................................................................399
EMS SQL Backup
Install
...........................................................................................................................................400
server-side components without having permissions for remote installation
Activate
...........................................................................................................................................401
license on SQL Server instance
Schedule
...........................................................................................................................................402
backup database task daily
Setup
...........................................................................................................................................403
uploading backup files to different storage locations (Network folders/FTP/SFTP/Clouds)
Create
...........................................................................................................................................404
a policy based on predefined templates
Configure
...........................................................................................................................................405
transaction log shipping
Monitor
...........................................................................................................................................406
server productivity counters
Add
...........................................................................................................................................407
database/server to an existing policy
Create
...........................................................................................................................................408
a policy rapidly on several servers/databases
Transfer
...........................................................................................................................................409
policy tasks to another set of databases/servers
Reveal
...........................................................................................................................................410
a reason of a failed policy execution
Restore
...........................................................................................................................................411
successful policy status
Convert
...........................................................................................................................................412
SQL Server maintenance plan to SQL Backup policy
Manage
...........................................................................................................................................413
templates effectively
Configure
...........................................................................................................................................414
policy notifications
Create
...........................................................................................................................................415
a report on policy execution
Ensure
...........................................................................................................................................416
simultaneous policy execution on servers from different time zones
Report
...........................................................................................................................................417
bugs and suggestions
Update
...........................................................................................................................................418
EMS SQL Backup
Remove
...........................................................................................................................................419
EMS SQL Backup
© 1999-2015 EMS Database Management Solutions, Ltd.
9
EMS SQL Backup Administration console - User manual
Use
...........................................................................................................................................420
Free version of EMS SQL Backup
Part X Appendix
422
Database
...........................................................................................................................................422
states
Backup
...........................................................................................................................................423
Converter Utility
Server
...........................................................................................................................................424
folder dialog
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
I
12
1
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
1.1
EMS SQL Backup Administration console - User manual
What's new
Version
Release date
EMS SQL Backup 1.8
July 16, 2015
What's new in EMS SQL Backup?
1) Ability to restore databases 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 Policy Editor.
6) Some other improvements and bugfixes.
© 1999-2015 EMS Database Management Solutions, Ltd.
14
1.2
EMS SQL Backup Administration console - User manual
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
1.3
EMS SQL Backup Administration console - User manual
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 SQLBa 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 и Cust om .
If you choose the Cust om 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 Stand-alone remote components
Installer choose the Se rv e r-side only on the third step of the installation wizard.
See also:
EMS SQL Backup FAQ
© 1999-2015 EMS Database Management Solutions, Ltd.
16
1.4
EMS SQL Backup Administration console - User manual
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*
Register Now!
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)
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
1.5
EMS SQL Backup Administration console - User manual
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 Wizard.
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.
License activation
License deactivation
See also:
Purchasing
© 1999-2015 EMS Database Management Solutions, Ltd.
19
1.5.1
EMS SQL Backup Administration console - User manual
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 License Activation Wizard.
To activate your newly purchased license, perform the following steps:
1. select the Activate license item of the server popup menu to run the License
Activation Wizard;
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 key
Performing online activation
Web-site activation
Entering license activation code
Completing operation
See also:
Purchasing
License deactivation
© 1999-2015 EMS Database Management Solutions, Ltd.
20
1.5.1.1
EMS SQL Backup Administration console - User manual
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
1.5.1.2
EMS SQL Backup Administration console - User manual
Entering license key
This step appears if you have chosen online activation on the first step.
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 SQL Ba c kup F re 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
1.5.1.3
EMS SQL Backup Administration console - User manual
Web-site activation
This step appears only in case the
Activate EMS SQL Backup License through our
website option was selected on the first step.
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 next step.
8. Click the Finish button to complete EMS SQL Backup license process.
Next step
© 1999-2015 EMS Database Management Solutions, Ltd.
24
1.5.1.4
EMS SQL Backup Administration console - User manual
Entering license activation code
Here you are to enter the license activation code that you have or that you have copied
from the website.
Next step
© 1999-2015 EMS Database Management Solutions, Ltd.
25
1.5.1.5
EMS SQL Backup Administration console - User manual
Performing online activation
This step appears only in case the
was selected on the first step.
Activate EMS SQL Backup License online option
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 Proxy tab of the
Options dialog.
After the operation is complete you will be automatically redirected to the final step.
If problems occurred on deactivating the previous license key on the EMS activation
server you will be redirected to the Web-site deactivation step.
© 1999-2015 EMS Database Management Solutions, Ltd.
26
1.5.1.6
EMS SQL Backup Administration console - User manual
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
1.5.2
EMS SQL Backup Administration console - User manual
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 License Deactivation Wizard.
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 server popup menu to run the License
Deactivation Wizard;
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:
Selecting deactivation method
Web-site deactivation
Performing online deactivation
Completing operation
See also:
Purchasing
License activation
© 1999-2015 EMS Database Management Solutions, Ltd.
28
1.5.2.1
EMS SQL Backup Administration console - User manual
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
1.5.2.2
EMS SQL Backup Administration console - User manual
Web-site deactivation
This step appears only in case the
Deactivate EMS SQL Backup License through our
website option was selected on the first step.
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
1.5.2.3
EMS SQL Backup Administration console - User manual
Performing online deactivation
This step appears only in case the
Deactivate EMS SQL Backup License online
option was selected on the first step.
To configure connection parameters for performing deactivation see the Proxy tab of the
Options dialog.
After the process of online deactivation you will automatically proceed to the next step of
the wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
31
1.5.2.4
EMS SQL Backup Administration console - User manual
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
1.5.3
EMS SQL Backup Administration console - User manual
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 Gears menu. 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 )
Cust om 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
Proxy tab of the Options 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 activation wizard or 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
1.6
EMS SQL Backup Administration console - User manual
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
Version 1.7
Version 1.6
Version 1.5
Version 1.4
Version 1.3
Version 1.2
Version 1.1
Version 1.0
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 FTP.
4. License Activation and License Deactivaion wizards are improved.
5. Other improvements and bug-fixes.
Version 1.5
1. The Built-In Scheduler 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 remote 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 remote storages to upload and store backups.
Network folders, network-attached storages (NAS).
Upload using FTP (ImplicitSSL / ExplicitSSL), SFTP (SSH) protocols.
Support of cloud storage Amazon S3.
2. Possibility to add unlimited number of remote and local storages for each backup.
3. Support of 'Check orphaned users' option to restore backups.
4. New macros for backup folders: {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 templates.
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...
Scroll to top
See also:
What's new
© 1999-2015 EMS Database Management Solutions, Ltd.
37
1.7
EMS SQL Backup Administration console - User manual
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?
I have 5 SQL Servers, 2 of which have two SQL Server instances running, how many
licenses for EMS SQL Backup do I need to purchase?
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
Backup components installed?
What are the reasons for reduction of time required for backup and recovery?
Does EMS SQL Backup use undocumented features of SQL Server?
Can EMS SQL Backup perform a standard backup, suitable for recovery on SQL Server,
without using EMS SQL Backup?
Does EMS SQL Backup support log shipping?
I have servers in different time-zones. At what time-zone will tasks be launched?
What is the advantage of using the Policy Engine of EMS SQL Backup compared to
standard maintenance plans of SQL Server?
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?
Can I monitor/manage my set of servers using two (three) different (installed on
different computers) consoles?
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
SQL Backup?
Can I install EMS SQL Backup server components remotely?
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?
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?
I get the "Access is denied" error on trying to install EMS SQL Backup server-side
components via NetBIOS. How can I fix the problem?
Question/answer list
Q: Wha t v e rsions of SQL Se rv e r doe s EM S SQL Ba c kup support ?
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 SQL Ba c kup be inst a lle d on e a c h se rv e r w hic h I w a nt t o w ork 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 SQL Se rv e rs, 2 of w hic h ha v e t w o SQL Se rv e r inst a nc e s running, how m a ny
lic e nse s for EM S SQL Ba c kup do I ne e d t o purc 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: How doe s EM S SQL Ba c kup re duc e ba c kup size ?
A: This is achieved by compressing data received from the server during the backup
process.
Q: Doe s t he ba c kup c om pre ssion de pe nd on SQL Se rv e r v e rsion or e dit ion?
A: EMS SQL Backup uses its own data compression function, which does not depend on a
version and edition of SQL Server.
Q: How m uc h is a ba c kup file size re duc e d a nd w ha t doe s it de pe nd on?
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: Ca n I re st ore a ba c kup file of EM S SQL Ba c kup on SQL Se rv e r w it h no EM S SQL Ba c kup
c om pone 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 re t he re a sons for re duc t ion of t im e re quire d for ba c kup a nd re c ov e ry ?
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: Doe s EM S SQL Ba c kup use undoc um e nt e d fe a t ure s of SQL Se rv 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: Ca n EM S SQL Ba c kup pe rform a st a nda rd ba c kup, suit a ble for re c ov e ry on SQL Se rv e r,
w it hout using EM S SQL 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: Doe s EM S SQL Ba c kup support log 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 rv e rs in diffe re nt t im e -zone s. At w ha t t im e -zone 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 of using t he Polic y Engine of EM S SQL Ba c kup c om pa re d t o
st a nda rd m a int e na nc e pla ns of SQL Se rv 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: Ca n diffe re nt t y pe s of m a int e na nc e t a sks go in t he sa m e polic y ?
A: A policy can contain both multiple tasks of different types and multiple tasks of the
same type.
Q: Ca n polic y t a sks ha v e t he ir ow n e xe c ut ion sc he dule s?
A: Yes, each task can have one or more schedules.
Q: Ca n EM S SQL Ba c kup pe rform a single m a int e na nc e t a sk w it hout c re a t ing polic ie s?
A: Yes, you can perform a maintenance task using the "Quick Maintenance Actions"
context menu item of the Server tree.
Q: Ca n I e xe c ut e m ult iple polic ie s sim ult a ne ously on one se rv 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 SQL Se rv e r m a int e na nc e pla ns. Ca n I use t he m in EM S SQL 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: How doe s EM S SQL Ba c kup not ify a bout a polic y e xe c ut ion fa ilure ?
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: Ca n I m onit or/m a na ge m y se t of se rv e rs using t w o (t hre e ) diffe re nt (inst a lle d on
diffe re nt c om put e rs) c onsole 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 rv e rs, EM S SQL Ba c kup w orks w it h, m ust be loc a t e d w it hin one loc a l
ne t w ork?
© 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 ope n a ny a ddit iona l port s or t o e na ble prot oc ols for w orking w it h EM S
SQL 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: Ca n I inst a ll EM S SQL Ba c kup se rv e r c om pone nt s re m ot 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 of a c c ount should be use d for running EM S SQL Ba c kup se rv 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: Polic y e xe c ut ion fa ile d w it h t he e rror: "T he t a sk c a nnot be c om ple t e d. T he ow ne r (NT
AUT HORIT Y \SY ST EM ) of SqlBa c kup_X X X X X X X X _T a sk doe s not ha v e a c c e ss t o se rv e r".
Why doe 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 re t he diffe re nc e s be t w e e n diffe re nt v e rsions of EM S SQL 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 not pa y t he progra 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 rror on t ry ing t o inst a ll EM S SQL Ba c kup se rv e r-side
c om pone nt s v ia Ne t w ork F olde r. How c a n I fix t he proble 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.
Scroll to top
If you still have any questions, contact us at our Support Center.
© 1999-2015 EMS Database Management Solutions, Ltd.
42
1.8
EMS SQL Backup Administration console - User manual
Other EMS Products
Quick navigation
MySQL
Microsoft SQL
PostgreSQL
InterBase /
FireBird
Oracle
IBM DB2
Tools &
components
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.
Scroll to top
© 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.
Scroll to top
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.
Scroll to top
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.
Scroll to top
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.
Scroll to top
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.
Scroll to top
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.
Scroll to top
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
II
50
2
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 install server-side
components on each of them. Servers can be registered in Groups or Solutions folders.
Groups are used to organize servers by some specific criteria (for example, location),
whereas Solut ions unite servers or databases to be included into one Policy.
Enjoy your work with EMS SQL Backup!
See also:
Servers
Policies
Templates
Activities
Maintenance Actions
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
51
2.1
EMS SQL Backup Administration console - User manual
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:
Policy overview
Navigating
© 1999-2015 EMS Database Management Solutions, Ltd.
52
2.2
EMS SQL Backup Administration console - User manual
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 result status 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 Templates.
Policy is implemented as a set of jobs in SQL Server and therefore its execution requires
consistent work of SQL Agent.
See also:
EMS SQL Backup overview
Navigating
© 1999-2015 EMS Database Management Solutions, Ltd.
53
2.3
EMS SQL Backup Administration console - User manual
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 status.
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 Servers and Policies tabs.
See also:
EMS SQL Backup overview
Policy overview
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
III
56
3
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.
Groups are used to organize servers by some specific criteria (for example, location).
Solut ions 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 rt ) or drag the object to the Shortcuts.
Troubled servers
This panel displays servers which have problem policies. You can review the servers and
resolve the problems.
© 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 installed on the
server.
Policies have problems - there have been some errors on policy execution. You
can resolve the problems using the Resolve the problem option.
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 SQL Server connection
info.
- 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 Resolve the Problem
dialog.
- The server has some warnings on policy execution.
- 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 Database states
topic.
Policies
The grid displays all information about the policies deployed on the selected object. You
can get information about policy result status and next launch time.
Double-click the policy or task to execute it.
If the policy or task is erroneous double-clicking will initiate Resolve the problem dialog.
The context menu of the selected policy allows you to:
resolve the problem (for erroneous policy)
execute a policy
pause policy execution
view policy history
edit policy in Policy editor
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 ignore the problems using the popup window. Set the limit of
days for displaying in the dialog Environment Options at the Refresh options tab.
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
See also:
Getting Started
Policies
Templates
© 1999-2015 EMS Database Management Solutions, Ltd.
Report button.
59
EMS SQL Backup Administration console - User manual
Activities
Maintenance Actions
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
60
3.1
EMS SQL Backup Administration console - User manual
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.
Group popup menu
Groups popup menu
Server popup menu
Database popup menu
© 1999-2015 EMS Database Management Solutions, Ltd.
61
3.1.1
EMS SQL Backup Administration console - User manual
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 created template.
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 Viewing Policy History window.
Collapse all groups
Expand all groups
See also:
Group popup menu
Server popup menu
Database popup menu
© 1999-2015 EMS Database Management Solutions, Ltd.
62
3.1.2
EMS SQL Backup Administration console - User manual
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 created template.
Quick Maintenance Actions - open the list of Maintenance Actions for quick launch.
Show history opens the Viewing Policy History window.
Add to shortcuts the selected object (or Shift +Ins)
Collapse all groups
Expand all groups
See also:
Groups popup menu
Server popup menu
Database popup menu
© 1999-2015 EMS Database Management Solutions, Ltd.
63
3.1.3
EMS SQL Backup Administration console - User manual
Server popup menu
This popup menu is available for the server at DB Explorer.
Create New Group (or Ins key)
Register Server launches the Register Server Wizard.
Unregister Server
view Server Properties
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 created template.
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 Maintenance Actions for quick
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
Send bug report to EMS
Add the selected object to shortcuts
Collapse all groups
Expand all groups
See also:
Group popup menu
Groups popup menu
Database popup menu
© 1999-2015 EMS Database Management Solutions, Ltd.
65
3.1.4
EMS SQL Backup Administration console - User manual
Database popup menu
This popup menu is available for the database at DB Explorer.
Backup the selected database.
Restore the selected database.
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 created template.
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.
Add to selected object to shortcuts
See also:
Group popup menu
Groups popup menu
Server popup menu
© 1999-2015 EMS Database Management Solutions, Ltd.
66
3.2
EMS SQL Backup Administration console - User manual
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
Defining additional options
Performing operation
See also:
Install server-side EMS SQL Backup Components
Update/Remove server-side EMS SQL Backup components
Server-side components properties
Server properties
© 1999-2015 EMS Database Management Solutions, Ltd.
67
3.2.1
EMS SQL Backup Administration console - User manual
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 om put e r_na m e \sqlse rv e r_inst a nc e _na m e (e.g. "
M Y COM PUT ER\SQLEX 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:
Window s authentication or
SQL Se rv e r authentication.
SQL Server authentication requires a ut horiza t ion 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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
69
3.2.2
EMS SQL Backup Administration console - User manual
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 Update/Remove
Server-side components wizard will be launched automatically after server is registered.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
70
3.2.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
71
3.3
EMS SQL Backup Administration console - User manual
Install server-side SQL Backup components
EMS SQL Backup utility consists of two parts: 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 Servers tab.
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:
Selecting installation type
Specifying service account settings
Performing operation
See also:
Register Server Wizard
Update/Remove server-side EMS SQL Backup components
Update server-side components
Stand-alone local server-side components installer
Server-side components properties
Server properties
© 1999-2015 EMS Database Management Solutions, Ltd.
72
3.3.1
EMS SQL Backup Administration console - User manual
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 SQL Se rv e r option if the SQL Server service is running under
the account with Administrator privileges or Loc 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
Cust om . Use the Cust om 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 re d').
Share local path
Specify the full local path to the shared folder on the remote host (for example, 'C:
\Sha re 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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
74
3.3.2
EMS SQL Backup Administration console - User manual
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 Loc a lSy st e m Windows account as the Se rv ic e Log On
account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name ( <dom 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 Window s a c c ount for EM S SQL Ba c kup Se rv ic e Log On.
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 Loc a l Sy st e m Windows account as Service Log On and
Window s a ut he nt ic a t ion make sure that the NT AUT HORIT 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 rv e r a ut he nt ic a t ion is selected as the a ut he nt ic a t ion t y pe , you should provide
a ut horiza t ion settings: User and Password. Analyzing them a system determines
information and therefore object access permissions.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
76
3.3.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
77
3.4
EMS SQL Backup Administration console - User manual
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 popup menu at the Servers tab.
Steps:
Selecting updating/removing type
Selecting operation type
Specifying service account settings
Performing operation
See also:
Register Server Wizard
Install server-side EMS SQL Backup Components
Update server-side components
Stand-alone local server-side components installer
Server-side components properties
Server properties
© 1999-2015 EMS Database Management Solutions, Ltd.
78
3.4.1
EMS SQL Backup Administration console - User manual
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 SQL Se rv e r option if the SQL Server service is running under
the account with Administrator privileges or Loc 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
Cust om .
Use the Cust om 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 re d').
Share local path
Specify the full local path to the shared folder on the remote host (for example, 'C:
\Sha re 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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
80
3.4.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
81
3.4.3
EMS SQL Backup Administration console - User manual
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 Loc a lSy st e m Windows account as the Se rv ic e Log On
account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name ( <dom 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 Window s a c c ount for EM S SQL Ba c kup Se rv ic e Log On.
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 Loc a l Sy st e m Windows account as Service Log On and
Window s a ut he nt ic a t ion make sure that the NT AUT HORIT 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 rv e r a ut he nt ic a t ion is selected as the a ut he nt ic a t ion t y pe , you should provide
a ut horiza t ion settings: User and Password. Analyzing them a system determines
information and therefore object access permissions.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
83
3.4.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
84
3.5
EMS SQL Backup Administration console - User manual
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 Gears menu.
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 hod, Se rv ic e Window s log on, Se rv ic e SQL Se rv e r login and Ne t w ork F olde r
a ut he nt ic a t ion. 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
3.5.1
EMS SQL Backup Administration console - User manual
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:
SQL Se rv e r or
Ne t w ork F olde r. It is recommended to use the SQL Se rv 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 Loc 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
Cust om . Use the Cust om 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 re d').
Share local path
Specify the full local path to the shared folder on the remote host (for example, 'C:
\Sha re 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 Loc a lSy st e m Windows account as the Se rv ic e Log On
account.
This account
This option allows using specified system account to run the EMS SQL Backup Service.
Note that the complete name ( <dom 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 Window s a c c ount for EM S SQL Ba c kup Se rv ic e Log On.
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 rv e r a ut he nt ic a t ion is selected as the a ut he nt ic a t ion t y pe , you should provide
a ut horiza t ion settings: User and Password. Analyzing them a system determines
information and therefore object access permissions.
© 1999-2015 EMS Database Management Solutions, Ltd.
89
3.6
EMS SQL Backup Administration console - User manual
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 rv e r-side only 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
Service account properties
Performing operation
© 1999-2015 EMS Database Management Solutions, Ltd.
90
3.6.1
EMS SQL Backup Administration console - User manual
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
3.6.1.1
EMS SQL Backup Administration console - User manual
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:
Window s a ut he nt ic a t ion or
SQL Se rv 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 rv e r a ut he nt ic a t ion is selected as the a ut he nt ic a t ion t y pe , you should provide
a ut horiza t ion 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
3.6.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
94
3.7
EMS SQL Backup Administration console - User manual
Server properties
Server properties window displays settings that have been defined on server registration
. 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.
Server connection info
Server options
See also:
Register Server Wizard
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
3.7.1
EMS SQL Backup Administration console - User manual
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:
a ut he nt ic a t ion or
SQL Se rv e r authentication.
Window s
SQL Server authentication requires a ut horiza t ion 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
Server options
© 1999-2015 EMS Database Management Solutions, Ltd.
97
3.7.2
EMS SQL Backup Administration console - User manual
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.
Server connection info
© 1999-2015 EMS Database Management Solutions, Ltd.
98
3.8
EMS SQL Backup Administration console - User manual
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.
SQL Server connection info
Email settings
Log storage settings
Backup settings
See also:
Register Server Wizard
Install server-side EMS SQL Backup Components
Update/Remove server-side EMS SQL Backup components
Server properties
© 1999-2015 EMS Database Management Solutions, Ltd.
99
3.8.1
EMS SQL Backup Administration console - User manual
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 SQL Se rv 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:
Window s authentication or
SQL Se rv 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.
Email settings
© 1999-2015 EMS Database Management Solutions, Ltd.
100
3.8.2
EMS SQL Backup Administration console - User manual
Email settings
At this tab you can set email setting that are used for sending policies notifications by
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
3.8.3
EMS SQL Backup Administration console - User manual
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 launches.
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 history cleanup operation.
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
3.8.4
EMS SQL Backup Administration console - User manual
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 Backup Database 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_root _folde r} in a backup step.
© 1999-2015 EMS Database Management Solutions, Ltd.
105
3.9
EMS SQL Backup Administration console - User manual
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
at Servers tab.
Get Backup to Console item in the server popup menu
Steps:
Specifying backup source
Selecting backup files
Viewing summary information
See also:
Backup Database Wizard
Restore Database Wizard
© 1999-2015 EMS Database Management Solutions, Ltd.
106
3.9.1
EMS SQL Backup Administration console - User manual
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 creating the backup.
Backup source
Hist ory - 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 ory ba c kup sourc 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 next step of the wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
107
EMS SQL Backup Administration console - User manual
For the F ile s ba c kup sourc 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 ry pt e d,
F irst LSN, St ora ge na m e , La st LSN, Che c k Point LSN, Diffe re 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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
108
3.9.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
109
3.9.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
110
3.10
EMS SQL Backup Administration console - User manual
Reports
Using reports you can view and save information to any available format about task
execution that is displayed in the grid of a Launches area.
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 explorer and a policy
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 rt , t im e st a rt 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 Policies area. Besides, a group or a solution must be selected in the Servers area. The
report displays brief information on tasks of the selected policy including t a sk na m e ,
se rv e r na m e , pla nne d st a rt , t im e st a rt 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 Policies 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 rt , t im e st a rt e d, t im e finishe d, t a sk/st e p st a t us and e xe c ut ion
m e ssa ge (inform a t ion, w a rning or e rror).
© 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 , CSV 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 *.prnx 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 , CSV 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
114
4
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 tasks 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 Group of servers or Solut ion. To assign it automatically on policy
creation you should run Policy wizard using the context menu of the corresponding
elements (server, group or solution).
Each Policy execution generates the result status that informs you about successful or
failed policy executions. After reviewing the errors you can ignore them or re-execute the
task.
To manage policy status and process of execution go to Servers and Activities tabs.
© 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 New Policy or
Create Policy from Template popup menu item.
You can easily create a template from the existing policy using
Create Template from
Policy menu item. The template based on the selected policy will be automatically added
to the Policy Templates list.
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 ode 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:
Getting Started
Servers
Templates
Activities
Maintenance Actions
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
116
4.1
EMS SQL Backup Administration console - User manual
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.
Policy popup menu
Task popup menu
Schedule context menu
Server context menu
© 1999-2015 EMS Database Management Solutions, Ltd.
117
4.1.1
EMS SQL Backup Administration console - User manual
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 policy template;
Edit policy;
Delete policy;
Create Template from Policy - create a template with the same tasks and settings
as the selected one;
Show History - open Policy history viewer.
© 1999-2015 EMS Database Management Solutions, Ltd.
118
4.1.2
EMS SQL Backup Administration console - User manual
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 task template;
Edit Task using the Task editor;
Remove Task from the policy;
Expand all tasks;
Collapse all tasks;
Show History - open task history in Policy history viewer;
Copy the selected task;
Cut the selected task;
Paste the copied/cut task.
© 1999-2015 EMS Database Management Solutions, Ltd.
119
4.1.3
EMS SQL Backup Administration console - User manual
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 step template;
Edit Step using the Step editor;
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
4.1.4
EMS SQL Backup Administration console - User manual
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 step
template;
Edit Schedule using the Step editor;
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
4.1.5
EMS SQL Backup Administration console - User manual
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 Policy history viewer.
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
4.2
EMS SQL Backup Administration console - User manual
Policy wizard
This chapter explains how to create a new policy in EMS SQL Backup.
There is a special wizard that guides you through the policy creation process. You can
launch this wizard in one of the following ways:
At t he Polic ie s t a b:
Use the
Create New Policy or
Create Policy from Template popup menu item.
At t he Se rv e rs t a b:
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 Policy wizard.
Steps:
Setting policy name and description
Defining set of tasks
Defining notification options
Creating policy
See also:
Policy editor
Maintenance plan conversion
Execute Policy
Resolve problem
Viewing Policy History
© 1999-2015 EMS Database Management Solutions, Ltd.
124
4.2.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
126
4.2.2
EMS SQL Backup Administration console - User manual
Defining set of tasks
At this step you need to define tasks for the policy being created.
Polic y is a set of schedule(s) and tasks each containing at least one step.
Create New
Use this button, Ins key or the
a new object.
Add button in the task\step\schedule header to create
Create New from Template
If you create a task\step\schedule from a template you need to pick a template for this
object in the opened dialog.
Edit
You can use this button or click the
object.
Delete
Click this button or the
Edit button in the object header to edit 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
128
4.2.3
EMS SQL Backup Administration console - User manual
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 polic y suc c e e ds - send the message when policy tasks have been successfully
completed.
Whe n t he polic y fa ils - send the message when policy has failed.
Whe n t he polic y c om 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 Server-side components
© 1999-2015 EMS Database Management Solutions, Ltd.
129
EMS SQL Backup Administration console - User manual
properties.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
130
4.2.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
131
4.3
EMS SQL Backup Administration console - User manual
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 maintenance actions.
To e dit the policy you need to double click the policy at the Policies tab or select the
Edit Policy item on the toolbar of the Policies tab or from the popup menu.
Editor tabs:
Name and description
General
Notification
See also:
Policy wizard
Maintenance plan conversion
Execute Policy
Resolve problem
Viewing Policy History
© 1999-2015 EMS Database Management Solutions, Ltd.
132
4.3.1
EMS SQL Backup Administration console - User manual
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
4.3.2
EMS SQL Backup Administration console - User manual
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 step.
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 templates.
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
4.3.3
EMS SQL Backup Administration console - User manual
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 polic y suc c e e ds - send the message when policy has been successfully
launched.
Whe n t he polic y fa ils - send the message when policy launch has failed.
Whe n t he polic y c om 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
4.4
EMS SQL Backup Administration console - User manual
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 Polic ie s of EMS SQL Backup.
NB: You need to have SQL Se rv e r Int e gra t ion Se rv 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 Servers tab.
Note: If there are no maintenance plans available on the server this context menu item is
not displayed.
Steps:
Welcome
Selecting Maintenance plan to convert to policy
Performing conversion
Operation execution
See also:
Policy wizard
Policy editor
Execute policy
Resolve problem
Viewing Policy History
© 1999-2015 EMS Database Management Solutions, Ltd.
138
4.4.1
EMS SQL Backup Administration console - User manual
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 SQL Se rv e r
Int e gra t ion Se rv ic e s installed on the server to perform this conversion.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
139
4.4.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
140
4.4.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
141
4.4.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
142
4.5
EMS SQL Backup Administration console - User manual
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 Servers tab.
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 Activities page and about all
launches at the Policy History viewer.
See also:
Policy wizard
Policy editor
Maintenance plan conversion
Resolve problem
Viewing Policy History
© 1999-2015 EMS Database Management Solutions, Ltd.
143
4.6
EMS SQL Backup Administration console - User manual
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 rning 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 rning 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
4.7
EMS SQL Backup Administration console - User manual
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
4.8
EMS SQL Backup Administration console - User manual
Launches
All policy tasks launches are listed in the Launches area on the Servers tab.
The following information about launches is provided: polic y /t a sk/st e p na m e , pla nne d
st a rt t im e , a c t ua l st a rt t im e , finish t im e , e xe c ut ion 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
4.9
EMS SQL Backup Administration console - User manual
Resolve problem
The policy can result in Wa rning, Error or M isse d status. You can manage policy status
overview at the Se rv e rs pa ge . After detecting that some of your policies tasks have failed
you can resolve the problem tasks by m a rking t he proble m a s ignore 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 rv e rs 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:
Policy wizard
Policy editor
Maintenance plan conversion
Execute Policy
Viewing Policy History
© 1999-2015 EMS Database Management Solutions, Ltd.
148
4.10
EMS SQL Backup Administration console - User manual
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 , st a t us, t a sk na m e , polic y se rv e r, polic y st a t us, re sult m e ssa ge .
This table is customizable: you can change columns set, swap columns, set filtering and
grouping.
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:
Policy wizard
Policy editor
Maintenance plan conversion
Execute Policy
Resolve problem
© 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:
and
Clear Grouping.
Full Expand,
Full Collapse
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/ non 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 Cust om 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/ Or 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 rt 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
158
5
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 pre 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:
Policy templates
Task templates
Step templates
Schedule template
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 Policies 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
Template and
Export Template context items correspondingly.
To create a template copy select it in the list of templates and use the
Template context menu item.
See also:
Getting Started
Servers
Policies
Activities
Maintenance Actions
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
Import
Clone
160
5.1
EMS SQL Backup Administration console - User manual
Policy templates
The Policy Templates page allows you to manage policy templates.
Polic 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 (Ct rl+Inse rt ) - launches the wizard for creating a new policy
template
Edit Template - opens the policy template editor
Delete Template (Ct rl+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
Policies page.
or
use the
Create from templates item from the popup menu at the
Servers page.
© 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
Policies page and select Create template from policy from policy's
popup menu.
See also:
Task templates
Step templates
Schedule template
© 1999-2015 EMS Database Management Solutions, Ltd.
162
5.1.1
EMS SQL Backup Administration console - User manual
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 Policy templates list.
© 1999-2015 EMS Database Management Solutions, Ltd.
163
5.2
EMS SQL Backup Administration console - User manual
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 (Ct rl+Inse rt ) - launches the wizard for creating a new task
template
Edit Template - opens the task template editor
Delete Template (Ct rl+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 policy creation 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:
Policy templates
Step templates
Step templates
© 1999-2015 EMS Database Management Solutions, Ltd.
165
5.2.1
EMS SQL Backup Administration console - User manual
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.
Backup Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Wizard steps:
Set service task name and description
Define a set of steps for service task
Define a schedule for service task
Task creating
© 1999-2015 EMS Database Management Solutions, Ltd.
166
5.2.1.1
EMS SQL Backup Administration console - User manual
Set service task name and description
At this step you need to specify Name and Description for the task being created.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
167
5.2.1.2
EMS SQL Backup Administration console - User manual
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 Step type in
the dialog and proceed to the Create step wizard.
Create step from template - create step from the template. The list of step
templates will be open in this case allowing you to select any of the available templates
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
169
5.2.1.3
EMS SQL Backup Administration console - User manual
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 editing.
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
170
5.2.1.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
171
5.2.2
EMS SQL Backup Administration console - User manual
Task editor
The Task editor allows you to view and edit task parameters. It provides the same set of
options as Service task wizard.
Task editor tabs:
Name and description
Steps
Schedules
© 1999-2015 EMS Database Management Solutions, Ltd.
172
5.2.2.1
EMS SQL Backup Administration console - User manual
Name and description
At this section you can view\edit task Na m e and De sc ript ion.
© 1999-2015 EMS Database Management Solutions, Ltd.
173
5.2.2.2
EMS SQL Backup Administration console - User manual
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 Step type in
the dialog and proceed to the Create step wizard.
Create step from template - create step from the template. The list of step
templates will be open in this case.
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
5.2.2.3
EMS SQL Backup Administration console - User manual
Schedules
The Schedules section allows you to view and edit schedule(s) for task execution.
Create new schedule. 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 or create a new one.
Edit Schedule. This button opens selected schedule for editing.
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
5.2.3
EMS SQL Backup Administration console - User manual
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 Task templates list.
© 1999-2015 EMS Database Management Solutions, Ltd.
176
5.3
EMS SQL Backup Administration console - User manual
Step templates
The Step Templates section allows you to manage Step Templates.
You can manage step templates using the buttons on the Toolbars or popup menu.
Add New Template (Ct rl+Inse rt ) - launches the wizard for creating a new step
template
Edit Template - opens the step template editor
Delete Template (Ct rl+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 policy creation or task creation click the
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:
Policy templates
Task templates
Schedule template
© 1999-2015 EMS Database Management Solutions, Ltd.
178
5.3.1
EMS SQL Backup Administration console - User manual
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 Step templates list.
© 1999-2015 EMS Database Management Solutions, Ltd.
179
5.4
EMS SQL Backup Administration console - User manual
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 (Ct rl+Inse rt ) - opens the dialog for schedule creation
Edit Template - opens the schedule editor
Delete Template (Ct rl+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 policy creation or task creation click the
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:
Policy templates
Task templates
Step templates
© 1999-2015 EMS Database Management Solutions, Ltd.
181
5.4.1
EMS SQL Backup Administration console - User manual
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 ont 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
5.4.2
EMS SQL Backup Administration console - User manual
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 Schedule templates list.
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
VI
186
6
EMS SQL Backup Administration console - User manual
Activities
At this tab you can view all processes initiated by EMS SQL Backup: Policies and
Maintenance Actions.
Quick
The result status of the task execution is displayed in the Status column.
The same information concerning tasks execution can be retrieved from the Server History
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 Unre gist e re d in Polic 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:
Getting Started
Servers
Policies
Templates
Maintenance Actions
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
Part
VII
190
7
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 Tasks and
Policies.
Steps can be run separately for a single database\server for performing immediate
maintenance operation. Steps can be included into Polices for scheduled performing.
Creating Steps
Editing Existing Steps
Note: To run the immediate maintenance action use the
item from the database\server popup menu.
Backup Database
Restore Database
Execute SQL Server Agent job
Executing T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
See also:
Getting Started
Servers
Policies
Templates
Activities
Options
© 1999-2015 EMS Database Management Solutions, Ltd.
Quick Maintenance Action
191
7.1
EMS SQL Backup Administration console - User manual
Creating Steps
Step in EMS SQL Backup is a basic component of server maintenance:
Backup Database
Restore Database
Execute SQL Server Agent job
Executing T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
To perform im m e dia t e Step execution use
Quick Maintenance Actions | <Step
name> popup menu item in the Servers tab.
© 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 Step 2 of the Policy creation wizard at the Policies tab.
To create a Step Template or add a Step to the Policy or Task template go to the
Templates tab.
See also:
Editing Steps
© 1999-2015 EMS Database Management Solutions, Ltd.
193
7.1.1
EMS SQL Backup Administration console - User manual
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 Servers tab.
To perform sc he dule d ba c kup on a regular basis you need to include this task into Policy:
1. At the Step 2 of 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 Templates tab.
Note: To restore a database from backup use Restore Database wizard.
Steps of the Backup Database wizard:
Naming template
Selecting database provider
Selecting database
Defining EMS SQL Backup settings
Setting backup options
Setting file options
Specifying backup verifying options
Performing operation
See also:
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
194
7.1.1.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
195
7.1.1.2
EMS SQL Backup Administration console - User manual
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 convert the backup file to SQL Server
type.
Use
SQL Server provider to perform backup of a single database using native SQL
Server tools.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
196
7.1.1.3
EMS SQL Backup Administration console - User manual
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 re 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 ra nsa c t ion log (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 Template mode.
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
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
199
7.1.1.4
EMS SQL Backup Administration console - User manual
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 by means of EMS SQL Backup.
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
201
7.1.1.5
EMS SQL Backup Administration console - User manual
Setting backup options
At this step you can define backup options. This step is available only on creating back
up by means of SQL Server.
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 ,
To
re st ore from CD (2 KB),
Ot 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).
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
203
7.1.1.6
EMS SQL Backup Administration console - User manual
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
7.1.1.7
EMS SQL Backup Administration console - User manual
Setting file options
Use this step to define backup file options.
Backup folder
Specify backup destination directory. For your convenience {ba c kup_root _folde r} and
{se rv e r} tags are provided. The directory which the {ba c kup_root _folde 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 rv e r}, {da t a ba se }, {ba c kup_t y pe }, {da t e } and { login} 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
206
7.1.1.8
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
208
7.1.1.9
EMS SQL Backup Administration console - User manual
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:
SMB/CIFS
FTP
Amazon S3 Cloud
Secure FTP
Microsoft Azure
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 Cloud
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 Cloud Connections.
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
211
7.1.2
EMS SQL Backup Administration console - User manual
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 cloud storage.
Restore operation is used to rebuild a damaged or corrupted database that has been
backed up using Backup Database Wizard. 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 Policies. It can be only launched manually from
Quick Maintenance Actions.
Steps of the Restore Database wizard:
Selecting available backup
Specifying the elements of backup
Defining target database parameters
Specifying restore options
Performing operation
See also:
Backup Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
212
7.1.2.1
EMS SQL Backup Administration console - User manual
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 creating the backup. Depending
on the selection the restore procedure will be performed by EMS SQL Backup or SQL
Server means.
Backup Source
Hist ory - 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 ory ba c kup sourc 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 next step of the wizard.
© 1999-2015 EMS Database Management Solutions, Ltd.
213
EMS SQL Backup Administration console - User manual
In the St ora 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 Cloud Connections list.
Press the Next button to proceed to the Specifying the elements of backup (for Hist ory
backup source) or Defining the target database parameters (for F ile s backup source).
Next step >>
© 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 cloud.
For every selected file displays additional information: Da t e , Da t a ba se , T y pe , Enc ry pt e d,
F irst LSN, St ora ge na m e , La st LSN, Che c k Point LSN, Diffe re 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 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.
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 Cloud
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 Cloud Connections.
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
7.1.2.2
EMS SQL Backup Administration console - User manual
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
Cloud Connections list.
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 Cloud
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 Cloud Connections.
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
219
7.1.2.3
EMS SQL Backup Administration console - User manual
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
want to create a new database.
Ne w da t a ba se if you
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 re nt ia l c opy 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
221
7.1.2.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
224
7.1.2.5
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
225
7.1.3
EMS SQL Backup Administration console - User manual
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 |
Server Agent job popup menu item in the Servers tab.
Execute SQL
To perform sc he dule d e xe c ut ion of SQL Server Agent job on regular basis you need to
include this task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Execute SQL Server Agent job wizard:
Naming template
Selecting job
Performing operation
See also:
Backup Database
Restore Database
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
226
7.1.3.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
227
7.1.3.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
228
7.1.3.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
229
7.1.4
EMS SQL Backup Administration console - User manual
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 Servers tab.
To perform sc he dule d T -SQL st a t e m e nt e xe c ut ion on regular basis you need to include
this task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Execute T-SQL statement wizard:
Naming template
Selecting server
Defining T-SQL statement
Performing operation
See also:
Backup Database
Execute SQL Server Agent job
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
230
7.1.4.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
231
7.1.4.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
232
7.1.4.3
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
234
7.1.4.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
235
7.1.5
EMS SQL Backup Administration console - User manual
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 Servers tab .
To perform sc he dule d hist ory c le a ning on regular basis you need to include this task into
Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the History Cleanup wizard:
Naming template
Selecting server
Selecting historical data
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
236
7.1.5.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
237
7.1.5.2
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
238
7.1.5.3
EMS SQL Backup Administration console - User manual
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 backup history 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 History Viewer.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
240
7.1.5.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
241
7.1.6
EMS SQL Backup Administration console - User manual
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 Servers tab.
To perform sc he dule d da t a ba se int e grit y c he c k on regular basis you need to include this
task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Database Integrity Check wizard:
Naming template
Selecting databases
Setting options
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
242
7.1.6.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
243
7.1.6.2
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
Next step >>
245
7.1.6.3
EMS SQL Backup Administration console - User manual
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 SICAL_ONLY ) 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 DBCC CHECKDB 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 ABLOCK) is used, the DBCC CHECKDB statement obtains locks instead of
using an internal database snapshot. This includes a short-term database exclusive lock.
All error messages
This option ( ALL_ERRORM SGS) displays an unlimited number of errors per object.
No info messages
This option ( NO_INF OM SGS) suppresses all informational messages.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
247
7.1.6.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
248
7.1.7
EMS SQL Backup Administration console - User manual
Reorganize Indices
Reorganize Indices step allows you to perform index management operations in your
databases: re orga nizing, re building, disa bling (the ALT ER INDEX REORGANIZ 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 Servers tab.
To perform sc he dule d ba c kup on regular basis you need to include this task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Reorganize Indices wizard:
Naming template
Selecting objects
Defining rules
Advanced options
Performing operation
See also:
Backup Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
249
7.1.7.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
250
7.1.7.2
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
Next step >>
252
7.1.7.3
EMS SQL Backup Administration console - User manual
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 rc ha r(m a x), nv a rc ha r(m a x),
v a rbina ry (m a x) and xm l data.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
253
7.1.7.4
EMS SQL Backup Administration console - User manual
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
amount of free space per page.
default or
specified
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
255
7.1.7.5
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
256
7.1.8
EMS SQL Backup Administration console - User manual
Shrink Database
Shrink Database step allows you to perform database shrinking (the DBCC
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 Servers tab.
To perform sc he dule d shrinking on regular basis you need to include this task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Shrink Database wizard:
Naming template
Selecting database
Setting options
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
257
7.1.8.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
258
7.1.8.2
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
Next step >>
260
7.1.8.3
EMS SQL Backup Administration console - User manual
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
returned to operating system.
retained in database files or
Suppress informational messages
Enable the option to disable informational messages.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
261
7.1.8.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
262
7.1.9
EMS SQL Backup Administration console - User manual
Update Statistics
Update Statistics step allows you to perform the update statistics operation in your
database (the UPDAT E ST AT IST ICS 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 Servers tab.
To perform sc he dule d upda t e of st a t ist ic s on regular basis you need to include this task
into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Update Statistics wizard:
Naming template
Selecting objects
Setting options
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
263
7.1.9.1
EMS SQL Backup Administration console - User manual
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.
Next step >>
© 1999-2015 EMS Database Management Solutions, Ltd.
264
7.1.9.2
EMS SQL Backup Administration console - User manual
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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
Next step >>
266
7.1.9.3
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
268
7.1.9.4
EMS SQL Backup Administration console - User manual
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.
<< Previous step
© 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
Servers tab.
To perform sc he dule d da t a ba se pa ra m e t e rs logging on regular basis you need to include
this task into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Database Parameters Logger wizard:
Naming template
Selecting database
Setting conditions
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 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.
Next step >>
© 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
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
edited or
deleted.
Next step >>
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 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 Servers tab.
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 Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Maintenance Cleanup wizard:
Naming template
Selecting files/folders for cleanup
Defining cleanup criteria
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Transaction Log Shipping
Database Shipping
© 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.
Next step >>
© 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,
Edit
Remove selected specification for appropriate actions.
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 rv e r if you want to clear folders/files stored on your server locally.
Select Cloud st ora ge if you want to delete files located on the cloud.
Server
Provider
Select whether the files created by EM S SQL Ba c kup or SQL Se rv 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 SQL Se rv 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 port s - text reports of previously run maintenance plans.
Note: This drop-down list is available if the M S SQL Se rv 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 Cloud 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 Cloud Connections.
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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 olde r t ha n for time limiting or All file s e xc e pt for 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 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
executed within the Policy.
Quick Maintenance Action list. It can be only
To perform sc he dule d log shipping on a regular basis you need to include this task into
Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Transaction Log Shipping wizard:
Naming template
Specify database pairs
Specify backup options
Specify folders and recovery options
Performing operation
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Database Shipping
© 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.
Next 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 <Cre 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 <Cre 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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 Step 2.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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 Ov e rw rit 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.
<< Previous step
© 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 Servers tab.
To perform sc he dule d da t a ba se shipping on a regular basis you need to include this task
into Policy:
1. At Step 2 of the 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 Templates tab.
Steps of the Database Shipping wizard:
Naming step
Specify database pairs
Specify backup options
Specify folders and recovery options
Viewing summary information
See also:
Backup Database
Restore Database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
© 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.
Next 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 <Cre 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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
Next step >>
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.
<< Previous step
© 1999-2015 EMS Database Management Solutions, Ltd.
301
7.2
EMS SQL Backup Administration console - User manual
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:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
History Cleanup
Transaction Log Shipping
Database Shipping
See also:
Creating Steps
© 1999-2015 EMS Database Management Solutions, Ltd.
302
7.2.1
EMS SQL Backup Administration console - User manual
Backup database
Backup Database step editor provides the same set of options as Backup Database
wizard.
The following pages are available in this dialog:
Name and description
General
Selection
EMS SQL Backup settings
Backup file options
Options
Verify options
See also:
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
303
7.2.1.1
EMS SQL Backup Administration console - User manual
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
7.2.1.2
EMS SQL Backup Administration console - User manual
General
This page allows you to view a backup provider selected.
Backup provider
Backup provider set in the Backup database wizard. 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 convert the backup file to
SQL Server type.
© 1999-2015 EMS Database Management Solutions, Ltd.
305
7.2.1.3
EMS SQL Backup Administration console - User manual
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 re 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 ra nsa c t ion log (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
7.2.1.4
EMS SQL Backup Administration console - User manual
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
7.2.1.5
EMS SQL Backup Administration console - User manual
Backup file options
At this page you can find backup file options.
Backup folder
Specify backup destination directory. For your convenience {ba c kup_root _folde r} and
{se rv e r} tags are provided. The directory which the {ba c kup_root _folde 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 rv e r}, {da t a ba se }, {ba c kup_t y pe }, {da t e } and { login} 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
7.2.1.6
EMS SQL Backup Administration console - User manual
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 re st ore from CD (2
KB),
Ot 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 re st ore from CD (2 KB), Ot 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
7.2.1.7
EMS SQL Backup Administration console - User manual
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
7.2.1.8
EMS SQL Backup Administration console - User manual
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
7.2.1.9
EMS SQL Backup Administration console - User manual
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:
SMB/CIFS
FTP
Amazon S3 Cloud
Secure FTP
Microsoft Azure
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 Cloud
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
7.2.2
EMS SQL Backup Administration console - User manual
Execute SQL Server Agent job
Execute SQL Server Agent job step editor provides the same set of options as Execute
SQL Server Agent Job wizard.
The following pages are available in this dialog:
Name and description
General
See also:
Backup database
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
316
7.2.2.1
EMS SQL Backup Administration console - User manual
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
7.2.2.2
EMS SQL Backup Administration console - User manual
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
7.2.3
EMS SQL Backup Administration console - User manual
Execute T-SQL statement
Execute T-SQL Statement step editor provides the same set of options as Execute TSQL Statement wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
319
7.2.3.1
EMS SQL Backup Administration console - User manual
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
7.2.3.2
EMS SQL Backup Administration console - User manual
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
7.2.3.3
EMS SQL Backup Administration console - User manual
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
7.2.4
EMS SQL Backup Administration console - User manual
History Cleanup
History Cleanup step editor provides the same set of options as History Cleanup wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
324
7.2.4.1
EMS SQL Backup Administration console - User manual
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
7.2.4.2
EMS SQL Backup Administration console - User manual
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 backup history 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 History Viewer.
© 1999-2015 EMS Database Management Solutions, Ltd.
327
7.2.4.3
EMS SQL Backup Administration console - User manual
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
7.2.5
EMS SQL Backup Administration console - User manual
Database Integrity Check
Database Integrity Check step editor provides the same set of options as Database
Integrity Check wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
329
7.2.5.1
EMS SQL Backup Administration console - User manual
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
7.2.5.2
EMS SQL Backup Administration console - User manual
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 SICAL_ONLY ) 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 DBCC CHECKDB 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 ABLOCK) is used, the DBCC CHECKDB statement obtains locks instead of
using an internal database snapshot. This includes a short-term database exclusive lock.
All Error Messages
This option ( ALL_ERRORM SGS) displays an unlimited number of errors per object.
No Info Messages
This option ( NO_INF OM SGS) suppresses all informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
332
7.2.5.3
EMS SQL Backup Administration console - User manual
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
7.2.6
EMS SQL Backup Administration console - User manual
Shrink Database
Shrink Database step editor provides the same set of options as Shrink Database wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
335
7.2.6.1
EMS SQL Backup Administration console - User manual
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
7.2.6.2
EMS SQL Backup Administration console - User manual
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
returned to operating system.
Suppress informational messages
Enable the option to disable informational messages.
© 1999-2015 EMS Database Management Solutions, Ltd.
retained in database files or
337
7.2.6.3
EMS SQL Backup Administration console - User manual
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
7.2.7
EMS SQL Backup Administration console - User manual
Reorganize Indices
Reorganize Indices step editor provides the same set of options as Reorganize Indices
wizard.
The following pages are available in this dialog:
Name and description
General
Selection
Rebuild options
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
340
7.2.7.1
EMS SQL Backup Administration console - User manual
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
7.2.7.2
EMS SQL Backup Administration console - User manual
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 rc ha r(m a x), nv a rc ha r(m a x),
v a rbina ry (m a x) and xm l data.
© 1999-2015 EMS Database Management Solutions, Ltd.
342
7.2.7.3
EMS SQL Backup Administration console - User manual
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
7.2.7.4
EMS SQL Backup Administration console - User manual
Rebuild options
This tab provides a number of advanced options for index reorganizing.
Free space
Define which pages should be reorganized: ones with the
amount of free space per page.
default or
specified
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
7.2.8
EMS SQL Backup Administration console - User manual
Update Statistics
Update Statistics step editor provides the same set of options as Update Statistics
wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
346
7.2.8.1
EMS SQL Backup Administration console - User manual
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
7.2.8.2
EMS SQL Backup Administration console - User manual
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
7.2.8.3
EMS SQL Backup Administration console - User manual
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
7.2.9
EMS SQL Backup Administration console - User manual
Database Parameters Logger
Database Parameters Logger step editor provides the same set of options as Database
Parameters Logger wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Maintenance Cleanup
Transaction Log Shipping
Database Shipping
© 1999-2015 EMS Database Management Solutions, Ltd.
352
7.2.9.1
EMS SQL Backup Administration console - User manual
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
7.2.9.2
EMS SQL Backup Administration console - User manual
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
7.2.9.3
EMS SQL Backup Administration console - User manual
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 Maintenance
Cleanup wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Transaction Log Shipping
Database Shipping
© 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 olde r t ha n for time limiting or All file s e xc e pt for 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,
Edit
Remove selected specification for appropriate actions.
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 rv e r if you want to clear folders/files stored on your server locally.
Select Cloud st ora ge if you want to delete files located on the cloud.
Server
Provider
Select whether the files created by EM S SQL Ba c kup or SQL Se rv 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 SQL Se rv 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 port s - text reports of previously run maintenance plans.
Note: This drop-down list is available if the M S SQL Se rv 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 Cloud 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 Cloud Connections.
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 Transaction
Log Shipping wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Database Shipping
© 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 Step 2.
© 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
<Cre 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 Database shipping
wizard.
The following pages are available in this dialog:
Name and description
General
Selection
See also:
Backup database
Execute SQL Server Agent job
Execute T-SQL statement
History Cleanup
Database Integrity Check
Shrink Database
Reorganize Indices
Update Statistics
Database Parameters Logger
Maintenance Cleanup
Transaction Log Shipping
© 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 <Cre 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
378
8
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.
Switch Configuration
Save Configuration
This group sets options for storing program settings.
Options
This group includes general options: data security, server refresh, log depth and cloud
storages.
See also:
Getting Started
Servers
Policies
Templates
Activities
Maintenance Actions
© 1999-2015 EMS Database Management Solutions, Ltd.
379
8.1
EMS SQL Backup Administration console - User manual
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:
or
SQL Server authentication
and set user name and password correspondingly.
Windows Authentication
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
8.2
EMS SQL Backup Administration console - User manual
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.
Security
Data refreshing
Cloud Connections
Proxy
© 1999-2015 EMS Database Management Solutions, Ltd.
382
8.2.1
EMS SQL Backup Administration console - User manual
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 policies.
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
8.2.2
EMS SQL Backup Administration console - User manual
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 Servers tab.
Log view depth (days)
Set the limit of days for displaying server history and Launches.
Launches records per page
Specify the number of records that is loaded at once in the Launches section.
© 1999-2015 EMS Database Management Solutions, Ltd.
385
8.2.3
EMS SQL Backup Administration console - User manual
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
SMB/CIFS Connection
Select this item to create a folder for backups on a local or network storage.
FTP Connection
Select this item to create a folder for backups on FTP server. FTP with SSL (Implicit and
Explicit) is available.
Amazon S3 Cloud Connection
This connection is used for storing backups in Amazon S3 bucket.
Secure FTP Connection
Choose this connection if you want to store backups on SFTP server. Connection is
established over SSH channel.
Microsoft Azure Cloud
This connection is used for uploading backups to Microsoft Azure container of BLOB
objects.
© 1999-2015 EMS Database Management Solutions, Ltd.
387
8.2.3.1
EMS SQL Backup Administration console - User manual
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
8.2.3.2
EMS SQL Backup Administration console - User manual
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 rd)
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 (PORT )
If you have checked the
Use proxy option to connect to FTP you need to configure
the following proxy settings: Se rv e r, Port , Use r na m e a nd Pa ssw ord.
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
8.2.3.3
EMS SQL Backup Administration console - User manual
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 ure Works'.
© 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 rd
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 rv e r, Port , Use r na m e a nd Pa ssw ord.
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
8.2.3.4
EMS SQL Backup Administration console - User manual
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:
Soc ks 4
Soc ks 5
HT T P
If you have selected to connect through proxy to SFTP you need to configure the
following proxy settings: Se rv e r, Port , Use r na m e a nd Pa ssw ord.
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
8.2.3.5
EMS SQL Backup Administration console - User manual
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
8.2.4
EMS SQL Backup Administration console - User manual
Proxy
Use the Proxy tab to define connection settings. These parameters will be used for to
perform on-line activation or deactivation of a license key.
Choose one of three options:
Aut om a t ic a lly de t e c t proxy se t t ings
I ha v e dire c t c onne c t ion t o t he Int e rne t
M a nua l proxy c onfigura t ion
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
398
9
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 EMS SQL Backup
Install server-side components without having permissions for remote installation
Activate SQL Server instance
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
Manage templates effectively
Configure policy notifications
Create a report on policy execution
Ensure simultaneous policy execution on servers from different time zones
Update EMS SQL Backup
Remove EMS SQL Backup
See also:
Getting Started
Servers
Policies
Templates
Activities
Maintenance Actions
© 1999-2015 EMS Database Management Solutions, Ltd.
399
9.1
EMS SQL Backup Administration console - User manual
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
9.2
EMS SQL Backup Administration console - User manual
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 Stand-alone remote components
Installer is launched automatically.
4. follow the steps of the wizard in compliance with Stand-alone remote components
Installer topic.
Note: The EMS SQL Backup setup wizard installs EMS SQL Backup Service Installer
application ( Inst a llWiza rd.e xe )which allows installing, updating and removing server-side
components locally on a server.
© 1999-2015 EMS Database Management Solutions, Ltd.
401
9.3
EMS SQL Backup Administration console - User manual
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 last step 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 second step into a web
form and generate the activation code.
5. Copy the generated activation code in the License Activation Code field on the third
step.
6. On the last step 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 last step click the Finish button to complete the activation.
© 1999-2015 EMS Database Management Solutions, Ltd.
402
9.4
EMS SQL Backup Administration console - User manual
Schedule backup database task daily
If you want a backup database task to be executed daily you need to create a policy
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 Schedule editor set the following parameters:
Schedule type Re c urring from da t e ,
Occurs - Da ily ,
Recurs every - 1 da y ,
Daily frequency Oc c urs onc 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
9.5
EMS SQL Backup Administration console - User manual
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 Options dialog and proceed to the Cloud Connections tab.
2. Click the Create new connection button and select the connection type in the opened
dialog: SMB/CIFS, FTP, Amazon S3 Cloud, Secure FTP, Microsoft Azure.
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 Specifying cloud connections
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
9.6
EMS SQL Backup Administration console - User manual
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 Templates tab.
In order to add a predefined task to a policy you need to proceed to the second step of
the Policy wizard, select the Tasks section, click the
button and select the needed task template.
Create New from Template
In order to add a predefined step to a task in a policy you need to proceed to the second
step of the Policy wizard, select the Steps section, click the
Template button and select the needed step template.
Create New from
In order to add a predefined schedule to a task in a policy you need to proceed to the
second step of the Policy wizard, select the Schedules section, click the
New from Template button and select the needed schedule template.
© 1999-2015 EMS Database Management Solutions, Ltd.
Create
405
9.7
EMS SQL Backup Administration console - User manual
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 second step 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 oring 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
9.8
EMS SQL Backup Administration console - User manual
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 Database Parameters
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 rning 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
9.9
EMS SQL Backup Administration console - User manual
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
9.10
EMS SQL Backup Administration console - User manual
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
9.11
EMS SQL Backup Administration console - User manual
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
9.12
EMS SQL Backup Administration console - User manual
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 Policies list. This status means that at least one policy task execution was
erroneous.
When you select this policy task in the Policies list the Launches 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
9.13
EMS SQL Backup Administration console - User manual
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, Abort e d and Wa rning) to Ignore 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 Ignore 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 Policies 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 Ignore 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 Ignore 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
Ignore 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
9.14
EMS SQL Backup Administration console - User manual
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
9.15
EMS SQL Backup Administration console - User manual
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 policy editor;
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 task/step/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 *.xm l 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
9.16
EMS SQL Backup Administration console - User manual
Configure policy notifications
You can configure notifications that will inform you about policy execution result via email.
Notification parameters are set on the third step of the policy wizard.
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 Server-side components
Properties.
© 1999-2015 EMS Database Management Solutions, Ltd.
415
9.17
EMS SQL Backup Administration console - User manual
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 Launches 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 explorer and a policy
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 rt , t im e st a rt 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 Policies area. Besides, a group or a solution must be selected in the Servers area. The
report displays brief information on tasks of the selected policy including t a sk na m e ,
se rv e r na m e , pla nne d st a rt , t im e st a rt 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 Policies 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 rt , t im e st a rt e d, t im e finishe d, t a sk/st e p st a t us and e xe c ut ion
m e ssa ge (inform a t ion, w a rning or e rror).
© 1999-2015 EMS Database Management Solutions, Ltd.
416
9.18
EMS SQL Backup Administration console - User manual
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 first
step of the policy wizard.
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
9.19
EMS SQL Backup Administration console - User manual
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 Servers tree;
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
9.20
EMS SQL Backup Administration console - User manual
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
9.21
EMS SQL Backup Administration console - User manual
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
9.22
EMS SQL Backup Administration console - User manual
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
database
database
database
is
is
is
is
in
in
in
in
an
an
an
an
emergency
emergency
emergency
emergency
-
database
database
database
database
is
is
is
is
offline
offline
offline
offline
and
and
and
and
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
-
database
database
database
database
is
is
is
is
online
online
online
online
and
and
and
and
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
-
database
database
database
database
is
is
is
is
in
in
in
in
a
a
a
a
single
single
single
single
user
user
user
user
mode
mode
mode
mode
and
and
and
and
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
-
database
database
database
database
is
is
is
is
in
in
in
in
a
a
a
a
recovering
recovering
recovering
recovering
state
state
state
state
and
and
and
and
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
-
database
database
database
database
is
is
is
is
in
in
in
in
a
a
a
a
restoring
restoring
restoring
restoring
-
database
database
database
database
is
is
is
is
suspect
suspect
suspect
suspect
and
and
and
and
state
state
state
state
state
state
state
state
and
and
and
and
and
and
and
and
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
does not have policies
all policies have "succeeded" status
has failed policies
has some warnings on policy execution
- database is inactive
© 1999-2015 EMS Database Management Solutions, Ltd.
423
10.2
EMS SQL Backup Administration console - User manual
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 Conv e rt Ut il.e xe t ool>\Conv e rt 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 ord]:pa ssw ord]
The path to this utility is "C:\Progra m F ile s\EM S\SQL Ba c kup\Dist rib\Se rv ic e \", on the
machine where EMS SQL Backup Console is installed; on the server - "C:\Progra m
F ile s\EM S\SQL Ba c kup\Se rv 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:\Progra m F ile s\EM S\SQL Ba c kup\Se rv ic e \Conv e rt Ut il.e xe " -I: C:\Da t a \T EST .bkp
D:Em ploy e e ,De pa rt m e nt s P:8p5Z h79
O: T EST m s.ba k
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
10.3
EMS SQL Backup Administration console - User manual
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:
Backup settings tab of the Server-side components properties dialog;
Setting file options step of the Backup Database wizard and Backup file options tab of
the Backup database step editor;
Selecting available backup step of the Restore Database wizard;
Specifying backup source step of the Get backup to console wizard;
Selecting files/folders for cleanup step of the Maintenance Cleanup wizard and
Selection tab of the Maintenance Cleanup step editor;
Specifying backup options and Specifying folders and recovery options steps of the
Transaction Log Shipping wizard and General tab of the 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.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement