"File Copy" Job cmdlet

PowerShell script exchange

Re: "File Copy" Job cmdlet

Veeam Logoby Vitaliy S. » Sun Mar 16, 2014 10:55 am

Well...in order to make sure that your backup jobs (can use them instead of VeeamZIP) are over before starting the off-site copy, I would recommend using post-backup job script option, that would be triggered once backup job is over.
Vitaliy S.
Veeam Software
 
Posts: 19568
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: "File Copy" Job cmdlet

Veeam Logoby v.Eremin » Sun Mar 16, 2014 3:26 pm

In this case, you can create one folder, say, "VeeamZIP VMs" and specify it as a source for the file copy job created via GUI. This folder will be used as a place to where given VMs are VeeamZIPped.

As to the scheduled script, its algorithm might be as following:

1) Input VM name. ($VMname = Read-Host 'What is VM name?')
2) VeeamZIP the given VM. (Start-VBRZip)
3) Execute the file copy job. (Start-VBRJob)

Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: "File Copy" Job cmdlet

Veeam Logoby benc » Mon Mar 17, 2014 11:54 am

That's a darn good point - it doesn't actually have to have a schedule and it can indeed be executed manually. For some reason that escaped me until you mentioned it. It's just creating it to begin with that needs to be done with the gui.

Which actually solves my issue nicely since I remembered after my last post the reason why I wanted to do a one-off was so I could delete the file from the source once the copy job was complete. VeamZip-CopyJob-Delete.

Ok, I think I am good now. Thank you all for your help!

I know it is low priority however maybe fixing this cmdlet could make it's way onto the todo list?
benc
Novice
 
Posts: 5
Liked: never
Joined: Sun Mar 02, 2014 12:11 am
Full Name: Ben Castellucci

Re: "File Copy" Job cmdlet

Veeam Logoby v.Eremin » Mon Mar 17, 2014 12:33 pm

Glad to hear my input was helpful. If your need any other assistance, just let us know.

As to the file copy job comnandlet, we've already tracked the issue, and will take a closer look at it.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Previous

Return to PowerShell



Who is online

Users browsing this forum: robbysmith and 6 guests