Book Image

SQL Server on Linux

Book Image

SQL Server on Linux

Overview of this book

Microsoft's launch of SQL Server on Linux has made SQL Server a truly versatile platform across different operating systems and data-types, both on-premise and on-cloud. This book is your handy guide to setting up and implementing your SQL Server solution on the open source Linux platform. You will start by understanding how SQL Server can be installed on supported and unsupported Linux distributions. Then you will brush up your SQL Server skills by creating and querying database objects and implementing basic administration tasks to support business continuity, including security and performance optimization. This book will also take you beyond the basics and highlight some advanced topics such as in-memory OLTP and temporal tables. By the end of this book, you will be able to recognize and utilize the full potential of setting up an efficient SQL Server database solution in your Linux environment.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Backup encryption


This feature is very close to TDE, but there is a difference: TDE is a transparent process. Data is encrypted on-the-fly into the database, and decrypted on the way out. But what if we don't want to encrypt the whole database? Encryption is a CPU time-consuming task. Data needs to be encrypted and decrypted all the time. With a large number of user requests, this can be an issue if we don't scale our hardware to follow this security feature.

In some business scenarios, we need only to worry about backup file security. TDE handle this part as well, but we need to turn on TDE. Backup encryption solves this problem in the way that SQL Server only encrypts backup files after the backup procedure. So, if anyone gets their hands on backup files, without corresponding keys it will be useless.

In the following steps, we'll create a backup certificate, create a backup file of our Sandbox database, and do compression and encryption with the certificate:

1> USE master;  2> GO1...