Press "Enter" to skip to content

PowerShell: Running Veeam backups.

0

The PowerShell script below allows you to run a Veeam backup.

This type of script can be used with a schedule task to initiate a backup.

# Load cmdlet Veeam
Add-PSSnapin VeeamPSSnapin
# Disconnect old session
Disconnect-VBRServer
# Connect Veeam Server
Connect-VBRServer -User "DOMAIN\administrator" -Password "password"
# Get job by Name
$bkjob = Get-VBRJob -Name "name of job"
# Start job
Start-VBRJob -Job $bkjob
# Disconnect session
Disconnect-VBRServer

 


Related Post

Veeam : Automatically backup virtual machines on H... In this tutorial, I'll explain how to automatically back up virtual machines (new and existing) with Veeam and Hyper-V. The trick is to use the opt...
Veeam Agent 3 for Windows: Installation and Config... The Veeam Agent allows physical or virtual computer backup directly from Windows unlike Veeam Backup & Replication which manages the backup of vir...
Veeam import a backup repository In this tutorial, we will see how to import backups into Veeam in case you need to access an old repository or import agent backups made on a network ...
Save the proxyaddresses attribute of users The PowerShell scripts below allow for the backup of the content of the proxyaddresses attribute of Active Directory users Backup # # @author: Roma...
It looks like you're using an adblocker.
We use ads to keep our content free. Please support us by turning off your adblocker.