Log Shipping Restore With dbatools

Intro In some scenarios a vendor or other 3rd party will send you a copy of their log shipping backups so you can keep a reporting copy of their database. Today’s post will cover how we can use dbatools 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. ...

May 17, 2022 · 2 min · Chris Albert

Installing dbatools

I had some issues installing dbatools 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. The easiest method to install dbatools is to open PowerShell as administrator and run the following command: Install-Module dbatools Following the install instructions on the dbatools website and other relevant blog posts around the web the install should be as easy as that. In my case it was not. ...

April 7, 2020 · 1 min · Chris Albert