Comments on: Getting complex with Restore-DbaDatabase https://dbatools.io/complex-restores/ the community's sql powershell module Fri, 13 Sep 2019 08:28:47 +0000 hourly 1 https://wordpress.org/?v=5.3.4 By: Stuart Moore https://dbatools.io/complex-restores/#comment-1255 Mon, 18 Dec 2017 07:37:17 +0000 https://dbatools.io/?p=6618#comment-1255 Hi Marina,
We have a solution in dbatools now, Restore-DbaDatabase has a `KeepCDC` switch that will preserve your CDC information while restoring.

Hope that helps. Let me know if you have any problems with it.

Thanks, Stuart

]]>
By: Marina Segal https://dbatools.io/complex-restores/#comment-1252 Sun, 17 Dec 2017 23:19:16 +0000 https://dbatools.io/?p=6618#comment-1252 Hi, have anybody has a solution for RESTORE WITH CDC?

]]>
By: Additional Restore-DbaDatabase Functionality – Curated SQL https://dbatools.io/complex-restores/#comment-1183 Thu, 30 Nov 2017 13:05:14 +0000 https://dbatools.io/?p=6618#comment-1183 […] Stuart Moore shows off a few examples of advanced Restore-DbaDatabase usage: […]

]]>
By: Seth https://dbatools.io/complex-restores/#comment-1177 Tue, 28 Nov 2017 19:14:17 +0000 https://dbatools.io/?p=6618#comment-1177 No worries, Stuart. Thank you for the quick follow-up. For a paragraph near the end of your post, the last sentence ends with a colon. I thought there was supposed to be code for the ForEach loop there.

“…The simplest way is a nested ForEach loop:”

Thanks!

]]>
By: Stuart Moore https://dbatools.io/complex-restores/#comment-1176 Tue, 28 Nov 2017 18:59:34 +0000 https://dbatools.io/?p=6618#comment-1176 Hi Seth,
Sorry to hear that. The examples are hosted on github so should be publicly available. They are showing on all my devices, so I’m not sure what to suggest

If you wouldn’t mind could you try these 2 links please:
https://stuart-moore.com/complex-sql-server-restore-scenarios-with-the-dbatools-restore-dbadatabase-pipeline/ (my original post)
https://gist.github.com/Stuart-Moore/c9a31104759d66b7427311a6b6ae7a3b (one of the gists that’s used in the post)

Then it might help pinpoint the issue

Thanks
Stuart

]]>
By: Seth https://dbatools.io/complex-restores/#comment-1175 Tue, 28 Nov 2017 18:02:41 +0000 https://dbatools.io/?p=6618#comment-1175 Hi, Stuart,

Thank you for the insight into Restore-DbaDatabase! I’d like to see some of your examples, but they don’t seem to be showing on your blog post.

Seth

]]>