Comments on: happy belated world backup day https://dbatools.io/happy-belated-world-backup-day/ the community's sql powershell module Fri, 13 Sep 2019 08:42:33 +0000 hourly 1 https://wordpress.org/?v=5.3.4 By: simplifying disaster recovery with dbatools – dbatools https://dbatools.io/happy-belated-world-backup-day/#comment-16559 Thu, 20 Sep 2018 09:05:35 +0000 https://dbatools.io/?p=7358#comment-16559 […] can help ease your DR, all in one convenient command. No, not good ol’ Export-DbaScript which is essentially the command line equivalent of the screenshot […]

]]>
By: Chrissy LeMaire https://dbatools.io/happy-belated-world-backup-day/#comment-1661 Fri, 06 Apr 2018 07:30:07 +0000 https://dbatools.io/?p=7358#comment-1661 You are so welcome, Greg 😀 It sounds like Export-DbaScript will suit your needs perfectly.

]]>
By: Chrissy LeMaire https://dbatools.io/happy-belated-world-backup-day/#comment-1660 Fri, 06 Apr 2018 07:28:29 +0000 https://dbatools.io/?p=7358#comment-1660 Thanks for this! I hadn’t found it but thought it was just my Google-fu failing.

]]>
By: niphlod https://dbatools.io/happy-belated-world-backup-day/#comment-1658 Thu, 05 Apr 2018 21:58:27 +0000 https://dbatools.io/?p=7358#comment-1658 unfortunately, “Create or alter” isn’t exposed in SMO (and neither is on ssms ;-( )

]]>
By: Hiram https://dbatools.io/happy-belated-world-backup-day/#comment-1632 Mon, 02 Apr 2018 19:04:59 +0000 https://dbatools.io/?p=7358#comment-1632 Is there a way to script out the object with a Create or Alter, instead of only Create?

Thx,
Hiram

]]>
By: Greg Norris https://dbatools.io/happy-belated-world-backup-day/#comment-1630 Mon, 02 Apr 2018 15:50:18 +0000 https://dbatools.io/?p=7358#comment-1630 Wow this is brilliant Chrissie.
Thank you so much for the tireless hours you and the team have put into DBATOOLS.

I manage around 20 production and anoth 15 nonprod availablity groups and developed a few scripts to keep the user logins in sync across the secondaries.

Something I havent yet done is sync the jobs. Whilt I generally create/apply the jobs there are a few that are create for and by project teams and they forget to 1. Include a test for primary instance to prevent the job trying to run against the secondary and 2. To run the create script on the secondaries. Consequently they complain if the AG has failed over and their job didn’t update/delete records as expected.

Again in your debt.
Greg in Oz

]]>