Add-VBRViBackupJob
Short Description
Creates VMware backup jobs.
Platform: VMware
For Hyper-V, run the Add-VBRHvBackupJobCreates Hyper-V backup jobs. cmdlet.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRViBackupJob [-Name <String>] [-BackupRepository <CBackupRepository>] [-BackupLogsRepository <CBackupRepository>] -Entity <IViItem[]> [-Description <String>] [-Force] [-HighPriority] [-Multitag] [-EncryptionKey <PSCryptoKey>] [-KMSServer <VBRKMSServer>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a VMware backup job.
Note that when you create a backup job, you need to run it manually unless you enable a job schedule.
Run the Start-VBRJobStarts a backup or replication job. cmdlet to run the job manually.
Run the Set-VBRJobScheduleModifies job schedule. cmdlet to set schedule for the job.
Note |
|
The cmdlet will not run if the geographic location of the VMs added to the job and the job target repository location do not match. If you still want to run the cmdlet, use the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupLogsRepository |
Specifies the backup repository for storing database log backups for snapshot-only jobs. |
|
False |
Named |
False |
|
BackupRepository |
Specifies the backup repository where the created backup will be stored. Default: default backup repository.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies the description of the backup job. |
|
False |
Named |
False |
|
EncryptionKey |
Specifies the encryption key that you want to use to encrypt the data.
Accepts the |
False |
Named |
False |
|
|
Entity |
Specifies the array of VMware VMs you want to add to the job.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Force |
Defines that the cmdlet will create a backup job even if the geographic location of the VMs added to the job and the target backup repository location do not match. |
|
False |
Named |
False |
|
HighPriority |
Defines that Veeam Backup & Replication will prioritize this job higher than other similar jobs and will allocate resources to it in the first place. |
|
False |
Named |
False |
|
KMSServer |
Specifies KMS servers added to the Veeam Backup & Replication console. The cmdlet will decrypt data encrypted by this server.
Accepts the |
False |
Named |
False |
|
|
Multitag |
Defines that the cmdlet will add tags to an existing job. |
|
False |
Named |
False |
|
Name |
Specifies the name you want to assign to the backup job. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Creating Backup Job [Using Pipeline]
|
This example shows how to create a backup job named
Perform the following steps:
|
Example 2. Creating Backup Job [Using Variable]
|
This example shows how to create a backup job for the VM represented by the
Perform the following steps:
|
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.Find-VBRViEntityLooks for VMware objects.