Comments on: simplifying snapshots https://dbatools.io/snapshots/ the community's sql powershell module Fri, 27 Dec 2019 00:30:40 +0000 hourly 1 https://wordpress.org/?v=5.3.4 By: Greg L. Wright https://dbatools.io/snapshots/#comment-78186 Fri, 27 Dec 2019 00:30:40 +0000 https://dbatools.io/?p=7775#comment-78186 Great article. I concur with these uses. And would mention a few more.

** Dev/Building/Publishing **
I use snapshots in my build strategies. I create a snapshot when I start a build, then use the snapshot as a “clean” source to create dacpacs, scripts, or other packagers. This allows devs or other process to continue to use the original DB for publishing, editing, coding, testing, etc without interrupting or tainting the “build snapshot” version. Timing could be an issue at any time, but it’s certainly a lot less than other strategies we’ve tried and we haven’t encountered any noticeable issues.

** Restoring a DB from a snapshot **
Also, a statement to note in the article may be that that when using Snapshots restoring a DB from a snapshot, like with the good Update strategy mentioned, realize that any other snapshots that exist for that database must be removed first. This could possibly disrupt any other strategies in use (like reporting). You’ll have to 1) drop all snapshots except the one you’re restoring, 2) revert/restore the DB from that desired snapshot, 3) recreate all other snapshots. Be conscious of this requirement.

]]>
By: Bill Hughes https://dbatools.io/snapshots/#comment-9783 Thu, 26 Jul 2018 14:54:50 +0000 https://dbatools.io/?p=7775#comment-9783 Wow! This is great. Such a great article about easy snapshot use. I knew about Snapshots but never used them because, well, there is no easy way to do so until I discovered dbatools. The team behind dbatools rocks! My administrative life has been made easier thanks you this team.

]]>
By: Database Snapshots In dbatools – Curated SQL https://dbatools.io/snapshots/#comment-7404 Tue, 26 Jun 2018 12:00:54 +0000 https://dbatools.io/?p=7775#comment-7404 […] Chrissy LeMaire shows how easy it is to create and manage database snapshots with dbatools: […]

]]>