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

Elements of backup strategy


A good backup strategy is not just about creating a backup. This is a process of many elements and conditions that should be filed to achieve the final goal, and this is the most efficient backup strategy plan. To create a good strategy, we need to analyze the following:

  • Who can create backups?
  • Backup media
  • Types of backup

Who can create backups?

This issue is part of the security subject, and that is covered in Chapter 8, User Management. For now, let's just say that a SQL Server user who is authorized to execute backup operations needs to have a security role. Security roles are:

  • sysadmin server role: Every user with sysadmin permission can work with backups. Our default sa user is a member of the sysadmin role.
  • db_owner database role: Any user who can create databases by default can execute any backup/restore operations.
  • db_backupoperator database role: Sometimes you need just one person to deal with every aspect of backup operations. This is common for large scale...