Lennart Gerdvall

  • Interests: Boats, cars and work

Technical Article

Import databases using backups

Import database from source server using full and transaction log backups as recorded in msdb. Use it to import one or more databases to your development environment, to test your backups regularly or to move databases to a new server. Works on SQL 7 and SQL 2000 with native and/or LiteSpeed full backups and native […]

You rated this post out of 5. Change rating

2007-06-06 (first published: )

658 reads

Technical Article

Rebuild and Reorganize Indexes in SQL 2005

This SP rebuilds and reorganizes all indexes in the specified database or all databases. You can run code or generate code. Database will be set in bulk logged mode during processing and set back to normal when finished.Different SQL Editions are handled. LOB indexes, row and page locking options, number of processors, concurrent users and […]

5 (10)

You rated this post out of 5. Change rating

2007-01-30 (first published: )

6,870 reads

Technical Article

Import databases using backups v 2

Import database from source server using full and transaction log backups as recorded in msdb. Use it to import one or more databases to your development environment, to test your backups regularly or to move databases to a new server. To move to a new server, take a transaction log backup and put all in […]

You rated this post out of 5. Change rating

2005-07-04 (first published: )

217 reads

Blogs

PASS Data Community Summit 2024 Day 3 Keynote

By

It’s been an amazing week here, as well as a long week. I’m tired,...

A New Word: Skidding

By

skidding – v. intr. the practice of making offhand comments that sound sarcastic but...

PASS Summit – Thursday

By

Let’s start with the keynote. The biggest take away was how having to support...

Read the latest Blogs

Forums

Step by step guide to setup PostgreSQL on Docker

By Arvind Toorpu

Comments posted to this topic are about the item Step by step guide to...

Backing up the Database Encryption Key

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Backing up the Database Encryption...

Technology Fears

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Technology Fears

Visit the forum

Question of the Day

Backing up the Database Encryption Key

In my SQL Server 2022 database, I run this:

USE Sales;  
GO  
CREATE DATABASE ENCRYPTION KEY  
WITH ALGORITHM = AES_256  
ENCRYPTION BY SERVER CERTIFICATE MyServerCert;  
GO
This works, but I want to prepare for the future and potential issues. How do I back up my DEK?

See possible answers