Quantcast
Channel: backups – SQL DBA with A Beard
Browsing latest articles
Browse All 27 View Live

Image may be NSFW.
Clik here to view.

Altering a Job Step on Hundreds of SQL Servers with PowerShell

I flew to Utrecht last week to present with Chrissy LeMaire and Sander Stad to present to the joint Dutch SQL and PowerShell User Groups. Whilst I was sat at the airport I got a phone call from my...

View Article



Image may be NSFW.
Clik here to view.

Adding a T-SQL Job Step to a SQL Agent Job with PowerShell

In my last post, I explained how to alter an existing job step across many servers. I also had cause to add a T-SQL Job step to a large number of jobs as well. This is how I did it. As before I...

View Article

Image may be NSFW.
Clik here to view.

Testing Your SQL Server Backups the Easy Way with PowerShell & dbatools

In a previous post I wrote about how easy it was to restore a whole SQL Servers user databases from a  directory using the dbatools module. Maybe it is a good idea to look at for disaster recovery...

View Article

Image may be NSFW.
Clik here to view.

Taking dbatools Test-DbaLastBackup a little further

In a previous post I showed how easy it is to test your backups using Test-DbaLastBackup Today I thought I would take it a little further and show you how PowerShell can be used to transmit or store...

View Article

Image may be NSFW.
Clik here to view.

Backing up SQL Server on Linux using Ola Hallengrens Maintenance Solution

With the release of SQL Server vNext CTP 1.4 SQL Agent was released for use on Linux. To install it on Ubuntu you need to upgrade your SQL Server to CTP 1.4. On Ubuntu you do this with sudo apt-get...

View Article


Image may be NSFW.
Clik here to view.

Using Pester with dbatools Test-DbaLastBackup

In previous posts I have shown how to use Test-DbaLastBackup from dbatools and how you can make use of the results. Today we will look at using  Pester with the results Pester provides a framework for...

View Article

Image may be NSFW.
Clik here to view.

Test your Sqlserver backups on Linux with PowerShell and dbatools

I have written about Test-DbaLastBackup in posts here, here and here. They have been Windows only posts. With SQL Server vNext CTP 1.4 now available and providing SQL Agent capability on Linux, I wrote...

View Article

Image may be NSFW.
Clik here to view.

Testing SQL Server Access to a share with PowerShell using dbatools

A good security practice is to backup our SQL Servers to a network share but not allow users to be able to browse the share. How can we ensure that our SQL Server has access or test it if it has been...

View Article


Image may be NSFW.
Clik here to view.

TSQL2sDay – Get-PostRoundup

First an apology, this round up is late! The reason for that is an error in the PowerShell testing module Pester (That’s not completely true as you shall see!!) I spoke in Stuttgart at the PowerShell...

View Article


Image may be NSFW.
Clik here to view.

Getting the SQL Version from a backup using dbatools ………. on PowerShell Core

Following an upgrade to SQL Server the backup share had a number of backups, some from the old version and some from the newer version. I was asked if I had a script to be able to get the SQL Version...

View Article
Browsing latest articles
Browse All 27 View Live


Latest Images