<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Dbatools on Data Artisans</title><link>https://dataartisans.tech/tags/dbatools/</link><description>Recent content in Dbatools on Data Artisans</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 17 May 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://dataartisans.tech/tags/dbatools/index.xml" rel="self" type="application/rss+xml"/><item><title>Log Shipping Restore With dbatools</title><link>https://dataartisans.tech/log-shipping-restore-with-dbatools/</link><pubDate>Tue, 17 May 2022 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/log-shipping-restore-with-dbatools/</guid><description>&lt;p&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In some scenarios a vendor or other 3rd party will send you a copy of their &lt;a href="https://docs.microsoft.com/en-us/sql/database-engine/log-shipping/about-log-shipping-sql-server"&gt;log shipping&lt;/a&gt; backups so you can keep a reporting copy of their database. Today&amp;rsquo;s post will cover how we can use &lt;a href="https://dbatools.io/"&gt;dbatools&lt;/a&gt; to automate the restore process. This post assumes you have already restored the initial full backup and are now at the point where you are ready to automate the transaction log backups you are receiving.&lt;/p&gt;</description></item><item><title>Installing dbatools</title><link>https://dataartisans.tech/installing-dbatools/</link><pubDate>Tue, 07 Apr 2020 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/installing-dbatools/</guid><description>&lt;p&gt;I had some issues installing &lt;a href="https://dbatools.io/"&gt;dbatools&lt;/a&gt; over the weekend and wanted to share my experience. If you have not heard of dbatools I encourage you to go check it out and see what it can do.&lt;/p&gt;
&lt;p&gt;The easiest method to install dbatools is to open PowerShell as administrator and run the following command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Install-Module dbatools
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Following the &lt;a href="https://dbatools.io/download/"&gt;install instructions on the dbatools website&lt;/a&gt; and other relevant blog posts around the web the install should be as easy as that. In my case it was not.&lt;/p&gt;</description></item></channel></rss>