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 » Nov 11, 2013 7:41 am

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: 16884
Liked: 1433 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup copy "Sync Now" with powershell

Post by veremin » Nov 11, 2013 8:47 am

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 » Nov 11, 2013 11:29 am

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: 16884
Liked: 1433 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup copy "Sync Now" with powershell

Post by veremin » Nov 11, 2013 11:41 am

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 2 guests