Backup Policy
In some cases, the backup job managed by the backup server may be not suitable for data backup with Veeam Agents. For example, you may want use Veeam Agents to back up data of computers that reside in a remote location and have limited connection to the Veeam backup server and backup repository. For such scenarios, Veeam Backup & Replication offers the concept of the backup policy.
The backup policy describes configuration of individual Veeam Agent backup jobs that run on protected computers. You can add one or more protection groups or individual computers to the backup policy and instruct Veeam Agent to create backups in a Veeam backup repository, in a Veeam Cloud Connect repository, in a network shared folder or on a local storage of a protected computer. In terms of the Veeam Agent management scenario, the backup policy is also referred to as the Veeam Agent backup job managed by the Veeam Agent.
Veeam Backup & Replication uses the backup policy as a saved template and applies settings from the backup policy to protected computers. The resulting Veeam Agent backup jobs run on protected computers in the similar way as a regular backup job configured directly in Veeam Agent. All backup job management and data processing tasks are performed by Veeam Agent itself. This allows Veeam Agent to create backups of your data even if a connection to the backup server is unavailable. To learn more, see How Backup Policy Works.
To configure a backup policy, you must launch the New Agent Backup Job wizard and select the Managed by agent option at the Job mode step of the wizard. To learn more, see Creating Veeam Agent Backup Policies.
NOTE |
|
IMPORTANT |
Consider that the way how backup policy works for computers included in protection groups for pre-installed Veeam Agents differs from the standard scenario. To learn more, see How Backup Policy Works With Computer Included In Protection Group for Pre-Installed Veeam Agents. |
In the scenario where you use the backup policy to create Veeam Agent backups, Veeam Backup & Replication and Veeam Agents interact in the following way:
- When you create a backup policy, Veeam Backup & Replication saves the backup policy settings in the following locations on the backup server:
- In the Veeam Backup & Replication database.
- In the configuration file of the XML format.
- Once the backup policy is created, Veeam Backup & Replication immediately applies the backup policy to Veeam Agents that run on protected computers.
- Veeam Backup & Replication reads the list of computers and protection groups specified in the backup policy and starts the discovery process for these computers.
- During the discovery process, Veeam Backup & Replication connects to each computer in the backup policy and uploads the XML file with backup policy settings to the target computer.
- Veeam Backup & Replication uses settings from the backup policy to configure the Veeam Agent backup job. This process differs depending on what OS and Veeam Agent the protected computer runs.
- On Microsoft Windows computers, Veeam Backup & Replication creates the Veeam Agent backup job using the Veeam Agent for Microsoft Windows Configurator.
- On Linux computers, Veeam Backup & Replication creates the Veeam Agent backup job using the Veeam Agent for Linux command line interface.
- On Unix computers, Veeam Backup & Replication creates the Veeam Agent backup job using the Veeam Agent command line interface.
Settings of the created backup job are saved to the Veeam Agent database on the protected computer.
Veeam Backup & Replication regularly applies the backup policy to protected computers during rescan of protection groups added to the backup policy. To learn more, see Backup Policy Application Methods.
- The created Veeam Agent backup job runs on the protected computer in the similar way as a regular Veeam Agent backup job configured directly on the Veeam Agent computer. To learn more, see the following sections:
- How Backup Works section in the Veeam Agent for Microsoft Windows User Guide.
- How Backup Works section in the Veeam Agent for Linux User Guide.
- How Backup Works section in the Veeam Agent for IBM AIX User Guide.
- How Backup Works section in the Veeam Agent for Oracle Solaris User Guide.
Every 6 hours, Veeam Agent checks whether job settings obtained from the backup policy are up-to-date and do not differ from the current backup settings specified in the backup policy. If the settings differ, Veeam Agent updates backup job settings in its database. To learn more, see Backup Policy Application Methods.
How Backup Policy Works with Computer Included in Protection Group for Pre-Installed Veeam Agents
In the scenario where you use the backup policy to create Veeam Agent backups on Veeam Agent computer included in a protection group for pre-installed Veeam Agents, Veeam Backup & Replication and Veeam Agents interact in the following way:
- When you create a backup policy, Veeam Backup & Replication saves the backup policy settings in the following locations on the backup server:
- In the Veeam Backup & Replication database.
- In the configuration file of the XML format.
- Veeam Agent connects to Veeam Backup & Replication and gets the configuration file.
IMPORTANT |
Veeam Agent does not connect to Veeam Backup & Replication immediately after updated backup policy settings are saved. Veeam Agent checks whether Veeam Backup & Replication has any updates in the backup policy settings periodically. As a result, a time period between scenario steps 1 and 2 may take up to 6 hours. If necessary, you can synchronize Veeam Agent with Veeam Backup & Replication running a command from the Veeam Agent computer. To learn more, see Backup Policy Application Methods. |
- Veeam Agent uses the backup policy settings from the configuration file to create a Veeam Agent backup job. Settings of the created backup job are saved to the Veeam Agent database on protected computer.
- The created Veeam Agent backup job runs on the protected computer in the similar way as a regular Veeam Agent backup job configured directly on the Veeam Agent computer. To learn more, see the following sections:
- How Backup Works section in the Veeam Agent for Microsoft Windows User Guide.
- How Backup Works section in the Veeam Agent for Linux User Guide.
- How Backup Works section in the Veeam Agent for Oracle Solaris User Guide.
- How Backup Works section in the Veeam Agent for IBM AIX User Guide.
- How Backup Works section in the Veeam Agent for Mac User Guide.
Every 6 hours, Veeam Agent checks whether job settings obtained from the backup policy are up-to-date and do not differ from the current backup settings specified in the backup policy. If the settings differ, Veeam Agent updates backup job settings in its database.