PowerShell script exchange
Post Reply
stephenspann27
Novice
Posts: 5
Liked: never
Joined: Mar 26, 2019 1:53 pm
Full Name: stephen c spann
Contact:

Automate Publishing of DB's daily

Post by stephenspann27 » May 15, 2019 1:08 pm

Has anyone looked into scripting the publishing of databases? Publishing is a new feature that was added in update 4. Our DBAs have requested that a DB be published from the latest backup, to a different (different from the source) server daily. Right now, the publish feature is tied to the user's console session in the B&R console. This is very limiting... if my console session times out (I gotta figure out why that's happening) or if I close the dialog box, the DB is unpublished. I'm grateful for the new publishing feature, but this powerful feature could be put to better use with some changes to the code. Ideally, in the backup job setup, you could specify that after the back up runs, the DB be pushed to "x" VM afterward.

HannesK
Veeam Software
Posts: 3301
Liked: 394 times
Joined: Sep 01, 2014 11:46 am
Location: Austria
Contact:

Re: Automate Publishing of DB's daily

Post by HannesK » May 19, 2019 11:03 am

Hello,
and welcome to the forums.

So you say that the Publish-VESQLDatabase cmdlet does not work / gets a timeout? I'm not sure because you mention that you open the console which makes no sense to me as you wrote to the powershell forum?

Best regards,
Hannes

stephenspann27
Novice
Posts: 5
Liked: never
Joined: Mar 26, 2019 1:53 pm
Full Name: stephen c spann
Contact:

Re: Automate Publishing of DB's daily

Post by stephenspann27 » May 22, 2019 11:29 am

Hannes,
I didn't know whether it was possible to publish the DB's with powershell.
Thanks

v.eremin
Product Manager
Posts: 16392
Liked: 1355 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Automate Publishing of DB's daily

Post by v.eremin » May 22, 2019 4:47 pm

You might have missed that, but functionality was added in Update 4, the same time similar feature was added to VESQL. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests