This project is read-only.
Project Description
Script SQL Server configuration information in a format suitable for DR purposes or checking into a source control system.

All new updates to the source code can be found at

Server level objects (linked servers, audits, etc.) are scripted in one file per object type. This makes DR easier and reviewing history possible. Database level objects (tables, functions, etc.) are scripted in one file per object. This makes reviewing object history easy and DR possible. The database backup is the primary DR mechanism for databases.

The following instance level objects are scripted:
  • Logins - These are scripted with the proper SID and the hashed password.
  • Jobs
  • Linked servers
  • Audits
  • Alerts
  • Credentials
  • Proxy Accounts
  • Database Mail
  • Event Notifications
  • User-Defined Endpoints

The following instance level objects and current values are written to a file:
  • Properties
  • Options

User objects in master, model and msdb are scripted.

The following user database objects can be scripted:
  • Tables
  • Stored procedures
  • User-defined data types
  • Views
  • Triggers
  • Table types
  • User-defined functions
  • Users, Database roles and application roles
  • Service Broker Objects

Last edited Sep 6, 2014 at 3:56 PM by billgraziano, version 15