PowerShell script exchange
Post Reply
Dario.Palmisano
Enthusiast
Posts: 31
Liked: 2 times
Joined: Nov 11, 2013 7:22 am
Full Name: Dario Palmisano
Contact:

Backup copy "Sync Now" with powershell

Post by Dario.Palmisano »

Hello everybody,

I wonder if someone can tell me if it is possible to "emulate" with PowerShell (and how to implement it) the "Sync Now" button regarding Backup copy job.

Thanks in advance

Best regards

Dario
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup copy "Sync Now" with powershell

Post by veremin »

Hi, Dario,

You can use the following script:

Code: Select all

$Job = Get-VBRJob -name "Name of backup copy job"
Sync-VBRBackupCopyJob -Job $Job
Thanks.
Dario.Palmisano
Enthusiast
Posts: 31
Liked: 2 times
Joined: Nov 11, 2013 7:22 am
Full Name: Dario Palmisano
Contact:

Re: Backup copy "Sync Now" with powershell

Post by Dario.Palmisano »

Thank you very very much!

I could no believe I could not find it in the Veeam PowerShell manual, but it is there (I verified!)

Thanks again

Dario
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup copy "Sync Now" with powershell

Post by veremin »

Therefore, it’s always better to use our online Help Center, as it gets updated more frequently than User Guide does.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests