Veeam agent for windows sql

Время на прочтение4 мин

Количество просмотров20K

Одновременно с Veeam Backup & Replication 9.5 Update 3 вышли в свет и новые версии Veeam Agent для ОС Windows и Linux. Эти решения для бэкапа физических машин могут работать теперь как автономно, так и централизованно под управлением Veeam backup server. Сегодня я немного расскажу о новых фичах Veeam Agent for Microsoft Windows, которые не были освещены в прошлом посте. За сим добро пожаловать под кат.

Резервное копирование в Microsoft OneDrive

Veeam Agent for Microsoft Windows версии 2.1 умеет бэкапить в облачное хранилище Microsoft OneDrive, используя персональную или корпоративную (OneDrive for Business) учетку.
Бэкап в OneDrive имеет на сегодня следующие особенности реализации:

  • в бесплатной версии Veeam Agent поддерживается только бэкап состояния системы
  • в платной версии поддерживается как бэкап всей машины, так и бэкап на уровне файлов
  • бэкап серверных версий ОС Windows пока не поддерживается (можно иметь лицензию Server, но она должна стоять на машине с десктопной ОС)

Важно! В этой версии бэкап в OneDrive доступен только для агентов, работающих автономно (то есть не под управлением Veeam Backup & Replication).

Кроме того, если вы решили, что автономный Veeam Agent с какого-то момента должен начать работать под управлением Veeam Backup & Replication, то импортировать в консоль бэкапы, созданные этим агентом в OneDrive во время автономной работы, будет невозможно.

Чтобы бэкапить в облачное хранилище, нужно выбрать соответствующие опции в мастере настройки резервного копирования:

  1. На шаге Destination выбираем Microsoft OneDrive.
  2. На следующем шаге нажимаем Click to sign in to Microsoft OneDrive, в окне браузера вводим учетную запись Microsoft, с которой будем подключаться к OneDrive, и нажимаем Sign in.
  3. Если нужно использовать другую учетку, нажимаем Click to sign out и задаем новую.

    Примечание: Если у вас настроена синхронизация OneDrive и папки на локальной машине, то очень рекомендуется исключить из этого процесса папку VeeamBackup (это можно сделать, зайдя в OneDrive client). Если этого не сделать, то резервные копии окажутся вдобавок и на локальной машине, занимая на ней место.

  4. Задаем политику хранения:
    • Для лицензий Free и Workstation нужно будет указать, сколько дней хранить бэкапы, отсчитывая с момента последнего использования машины.
    • Для лицензии Server нужно будет указать, сколько точек восстановления необходимо хранить, отсчитывая с последней созданной точки.

  5. Проходим по шагам мастера до завершения.

Можно будет и восстановить машину или нужные файлы из резервной копии, хранящейся на OneDrive (поддерживается только для платных лицензий).

Есть несколько ограничений по функциональности, например:

  • нельзя в OneDrive создать отдельный полный бэкап (всегда только цепочка)
  • не поддерживается бэкап в OneDrive журналов транзакций баз данных SQL и Oracle

Подробнее обо всем этом рассказывается в руководстве пользователя (на англ.языке).

Возможность выбора механизма CBT (для серверов)

По умолчанию, Veeam Agent использует встроенный механизм отслеживания измененных блоков. Вкратце его работу иллюстрирует вот такая картинка:

  1. В ходе создания полного бэкапа Veeam читает таблицу Master File Table (MFT) тома, чей бэкап выполняется. На основании записей этой таблицы создается дайджест с метаданными файловой системы. Эти дайджесты Veeam передает к месту хранения бэкапа и записывает их в файл резервной копии.
  2. При создании инкрементального бэкапа Veeam:
    • Читает таблицу Master File Table (MFT) тома, чей бэкап выполняется, и создает новый дайджест с метаданными.
    • Получает дайджесты из бэкапа, созданного в ходе предыдущей сессии.
    • Сравнивает их с новым дайджестом, выявляя файлы, чьи блоки изменились с предыдущей сессии.
    • Читает из VSS-снапшота только блоки, относящиеся к этим файлам.

Если же не удается выявить, какие файлы изменились (например, не получен дайджест из файла резервной копии), то приходится считывать все блоки, что может значительно замедлить резервное копирование. Данный механизм работает только для томов NTFS.

В новой же версии Veeam Agent for Microsoft Windows реализован еще один механизм — драйвер отслеживания измененных блоков Veeam Change Block Tracking Driver (Veeam CBT Driver), который умеет работать с файловыми системами NTFS, FAT и ReFS. Драйвер помогает ускорить инкрементальный бэкап машин, где приложения работают с большими базами данных.

Важно! Veeam CBT Driver предназначен для серверных версий ОС Windows и работает при наличии платной агентской лицензии Server.

Если используется такой драйвер, то данные об измененных блоках записываются в специально предназначенные файлы с расширением .VCT. Эти файлы хранятся на машине, где работает Veeam Agent, в папке C:\ProgramData\Veeam\EndpointData\CtStore.
В ходе задания резервного копирования Veeam Agent использует эти файлы, чтобы получить сведения об измененных блоках и скопировать только их. Данные СВТ можно «сбрасывать», как описано здесь.

Установка драйвера

В сценарии с централизованным управлением агентами:

  • на шаге Options мастера настройки защитной группы выбрать опцию Install changed block tracking driver on Windows Server OS

  • либо в консоли Veeam Backup & Replication выбрать нужный сервер в представлении Inventory и для него кликнуть Install driver

В сценарии с автономно работающим агентом:

  1. открыть консоль управления, перейти на вкладку Settings и кликнуть Install CBT driver.
  2. Для завершения установки потребуется перезагрузить машину.

Примечание: Для работы драйвера Veeam CBT на машине c Windows Server 2008 R2 необходимо установить на машину обновление Windows KB3033929.
Подробнее о драйвере СВТ можно почитать здесь.

Поддержка новых версий Windows и SQL Server

Veeam Agent умеет работать с со следующими версиями:

  • Windows 10 Fall Creators Update
  • Windows Server 2016 version 1709
  • Microsoft SQL Server 2017

Примечание: Если агент работает под управлением Veeam Backup & Replication, то он также поддержит Windows Server failover clusters, SQL Server failover clusters и SQL Server Always-On Availability Groups (в том числе для SQL Server 2017).

Что еще почитать и посмотреть

  • Статья на Хабре о работе Veeam Agents под управлением Veeam Backup & Replication
  • Сравнение редакций Veeam Agent for Microsoft Windows (на русском языке)
  • Обзор бесплатной версии (на русском языке)

Veeam Agent для Microsoft Windows основан на популярном решении Veeam Endpoint Backup™ FREE и предлагается в двух редакциях — Workstation и Server. Veeam Agent для Microsoft Windows помогает обеспечить доступность приложений Windows благодаря возможностям резервного копирования и восстановления данных облака и физической среды, а также персональных компьютеров удаленных пользователей.

Veeam Agent для Microsoft Windows обеспечивает:
Резервное копирование и восстановление корпоративного уровня. Полная защита рабочих станций, физических и облачных серверов Windows с учетом состояния приложений.
Резервное копирование физических машин на удаленную площадку. Резервное копирование данных Windows на удаленную площадку поставщика облачных услуг с помощью Veeam Cloud Connect
Защиту мобильных устройств. Соответствие требуемым показателям целевой точки восстановления (RPO) при защите пользовательских ноутбуков и планшетов, находящихся вне корпоративной сети.

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

veeam-plugin-for-microsoft-sql-01

Veeam Plugin for Microsoft SQL is a backup tool for MS-SQL databases used to transfer Database and Transaction Log backups to Backup Repositories configured in Veeam Backup & Replication.

The Veeam Plugin leverages the native application-level backups of Microsoft SQL Server allowing to backup and restore individual MS-SQL databases with independent backup schedule for full, differential and log backups (SQL Agent Job required).

Prerequisites

Veeam Plugin for Microsoft SQL supports the following versions:

  • Supported Microsoft SQL Server versions: 2014 SP3, 2016, 2017, 2019, 2022
  • Microsoft SQL Server Express is not supported.
  • Windows Server Failover Clusters are supported.
  • Always On Availability Groups, Always On Clusterless Availability Groups and Always On Failover Cluster Instances are supported.

It also required to install Microsoft SQL Server Management Studio (SSMS):

  • SSMS v19.x must be installed if Veeam v12.1 is used.
  • SSMS v18.x must be installed if an earlier version of Veeam is used.

Install Veeam Plugin for Microsoft SQL

Copy from the Plugins folder located in the Veeam installer ISO file the VeeamPluginforMSSQL.exe file to the SQL Server.

veeam-plugin-for-microsoft-sql-02

Run the installer. Click Next to begin the installation of the Veeam Plugin for Microsoft SQL.

veeam plugin for microsoft sql 1

Click I Accept.

veeam plugin for microsoft sql 2

The plugin is being installed in the SQL Server.

veeam plugin for microsoft sql 3

When the installation has been completed, click Finish to exit the wizard.

veeam plugin for microsoft sql 4

When you open the Microsoft SQL Server Management Studio, you should find a new Veeam toolbar.

veeam plugin for microsoft sql 5

Configure the plugin

Before using the Veeam Plugin for Microsoft SQL, a minimal configuration is required.

Configure the Backup Repository

Click on the gear icon to configure the Veeam Backup Repository to store the database backups.

veeam plugin for microsoft sql 6

Enter the Veeam Backup Server and specify the credentials to access the backup server (make sure the account has the permissions to access the repository). Click Next.

veeam plugin for microsoft sql 7

Specify the Backup repository to use and click Finish.

veeam plugin for microsoft sql 8

Now click on the Backup database icon to configure the backup.

veeam plugin for microsoft sql 9

Select the Databases to backup, enter the Backup set name and select Full as Backup type. Click Next.

veeam plugin for microsoft sql 10

Configure the desired Retention and click Run to execute the Backup Job.

veeam plugin for microsoft sql 11

The selected database is being processed.

veeam plugin for microsoft sql 12

Looking at the configured Veeam Server, the SQL Backup Job is running.

veeam plugin for microsoft sql 13

After a few seconds the backup completes successfully. Click Close to close the window.

veeam plugin for microsoft sql 14

In the Veeam Backup Server a new Application Plug-ins group is now displayed.

veeam plugin for microsoft sql 15

The processed database is also available in the Backups > Disk section.

veeam plugin for microsoft sql 16

Unfortunately, this method doesn’t provide the option to schedule the backup and the Edit option is greyed out.

veeam plugin for microsoft sql 17

Configure the Backup Job with SQL Agent

To schedule the Backup Job for both Database and Transaction Log, you need to configure the Veeam Plugin for Microsoft SQL job using the SQL Agent. Open the database backup configuration once again.

Configure Database backup

Specify the Databases to backup, Backup set name and select Full as Backup type. Click Next.

veeam plugin for microsoft sql 18

Configure the desired retention and click Save as a SQL Agent job.

veeam plugin for microsoft sql 19

Click Create.

veeam plugin for microsoft sql 20

Click OK.

Configure Transaction Log backup

Repeat the same procedure to configure the Log Backup Job. Specify the Databases to backup, Backup set name and select Log as Backup type. Click Next.

veeam plugin for microsoft sql 22

Click Save as a SQL Agent job.

veeam plugin for microsoft sql 23

Click Create.

veeam plugin for microsoft sql 24

Click OK.

Schedule the backup

In the left side of the SSMS, right click the SQL Server Agent (Agent XPs disabled) item and select Start.

veeam plugin for microsoft sql 26

Click Yes to start the Agent.

veeam plugin for microsoft sql 27

Expand SQL Server Agent and Jobs sections. Here you can find the configured SQL Backup Jobs.

Schedule a database Backup Job

Right click the configured DB Backup Job (Veeam_moviescatalog-backup in the example) and select Properties.

Select Schedules and click New.

veeam plugin for microsoft sql 30

Enter a Name and specify the desired schedule. Click OK to save the configuration.

veeam plugin for microsoft sql 31

Click OK.

veeam plugin for microsoft sql 32

Schedule a Transaction Log Backup Job

Repeat the same procedure for the Log backup. Right click the configured Transaction Log Backup Job (Veeam_moviescatalog-log in the example) and select Properties.

veeam plugin for microsoft sql 33

Select Schedules and click New.

veeam plugin for microsoft sql 34

Enter a Name and specify the desired schedule. Click OK to save the schedule.

veeam plugin for microsoft sql 35

Click OK.

veeam plugin for microsoft sql 36

Run the first backup

To avoid issues with the Transaction Log Backup Job if the configured RPO is very small, run the first Full backup manually. Right click the DB Backup Job and select Start Job at step.

The full backup is being executed.

The Backup Job in Veeam Backup & Replication.

veeam plugin for microsoft sql 39

Once configured, both Database and Transaction Log Backup Jobs will be executed on schedule.

Restore a database

From the Veeam toolbar, click the Restore database icon.

veeam plugin for microsoft sql 40

Specify SQL server name, Instance and the Databases to restore (MoviesCatalog in the example). Select the Backup Job that contains the database to restore and select the restore point to use. Click Next.

veeam plugin for microsoft sql 41

If it is requested to restore the database at specific point in time, select option Restore to any point in time (requires transaction logs backup). This option only works if we have Transaction Log backup configured.

veeam plugin for microsoft sql 42

Enter the Database name to use and click Run.

veeam plugin for microsoft sql 43

Click OK to proceed with the restore of the selected database. This operation will override the existing database.

Restore to a new database

Open the Restore Databases wizard. Select same options as done in previous steps but specify a different Database name in the Target section. Click Run.

veeam plugin for microsoft sql 45

The restore operation is being performed.

veeam plugin for microsoft sql 46

After a few seconds the database restore completes successfully. Click Close to close the window.

veeam plugin for microsoft sql 47

The new database is displayed in the SSMS.

veeam plugin for microsoft sql 48

Veeam Plugin for Microsoft SQL allows you to configure a lower RPO compared to snapshot-based backup limiting the data loss.

signature


Windows Server Backup Software Veeam Agent For Windows

Windows Server Backup Software Veeam Agent For Windows To protect microsoft sql server, you can use the server edition of veeam agent for microsoft windows. you can set up the veeam agent backup job to create transactionally consistent backups of microsoft sql server and periodically back up database transaction logs. If you use veeam agent for microsoft windows with veeam backup & replication, you can also use veeam explorer for microsoft sql server to apply transaction logs and get databases on the microsoft sql server to the necessary state between backups.

Windows Server Backup Software Veeam Agent For Windows

Windows Server Backup Software Veeam Agent For Windows How to back up microsoft sql server. learn how to start using the server edition of veeam agent for microsoft windows and set up a backup job to create backups of microsoft sql server. how to use filters to define file level backup scope. learn how to select specific data for a file level backup. In particular, veeam plug in users can back up and restore individual microsoft sql server databases, as well as configure independent backup schedule for full, differential and log backups using the sql agent job functionality of microsoft sql server. Conclusion: should you trust veeam agent for windows? given the modern threat environment—and the irreplaceable value of personal and business data—veeam agent for windows represents an accessible, industry proven, and user friendly solution for backup and disaster recovery on windows 11 and 10. This plug in’s users can backup and restore individual microsoft sql server databases and configure independent backup scheduling for full, differential, and log backups using the native sql agent job functionality.

Windows Server Backup Software Veeam Agent For Windows

Windows Server Backup Software Veeam Agent For Windows Conclusion: should you trust veeam agent for windows? given the modern threat environment—and the irreplaceable value of personal and business data—veeam agent for windows represents an accessible, industry proven, and user friendly solution for backup and disaster recovery on windows 11 and 10. This plug in’s users can backup and restore individual microsoft sql server databases and configure independent backup scheduling for full, differential, and log backups using the native sql agent job functionality. To grant these permissions through role assignment, it is recommended that you use the account with db owner role. operation: the account used to run veeam backup service requires db datareader and db datawriter roles as well as permissions to execute stored procedures for the configuration database on the microsoft sql server. Veeam backup and replication operates as a centralized control center for deploying and managing veeam agent for microsoft windows, veeam agent for linux, and veeam agent for mac. once you have the .iso file downloaded, you can either mount it on your server or extract it to a folder. The veeam plugin leverages the native application level backups of microsoft sql server allowing to backup and restore individual ms sql databases with independent backup schedule for full, differential and log backups (sql agent job required). The purpose of this paper is to describe sql server backup in general and also the options you have for backing up your microsoft sql server databases in conjunction with veeam®. the paper is both targeted to the sql server dba, as well as the backup operator who may have more experience with veeam and less with sql server.

Windows Backup Agent From Veeam Quick Overview Domalab

Windows Backup Agent From Veeam Quick Overview Domalab

Windows Backup Agent From Veeam Quick Overview Domalab To grant these permissions through role assignment, it is recommended that you use the account with db owner role. operation: the account used to run veeam backup service requires db datareader and db datawriter roles as well as permissions to execute stored procedures for the configuration database on the microsoft sql server. Veeam backup and replication operates as a centralized control center for deploying and managing veeam agent for microsoft windows, veeam agent for linux, and veeam agent for mac. once you have the .iso file downloaded, you can either mount it on your server or extract it to a folder. The veeam plugin leverages the native application level backups of microsoft sql server allowing to backup and restore individual ms sql databases with independent backup schedule for full, differential and log backups (sql agent job required). The purpose of this paper is to describe sql server backup in general and also the options you have for backing up your microsoft sql server databases in conjunction with veeam®. the paper is both targeted to the sql server dba, as well as the backup operator who may have more experience with veeam and less with sql server.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows xp home edition sp3 оригинал
  • Почему не работает кнопка принтскрин на ноутбуке windows 10
  • Крутой экран блокировки windows 10
  • Wacom bamboo cth 460 драйвера windows 10
  • Cryptoapi windows что это