BackupAliases Class

Summary

Contains functionality to backup and restore SQL Server database
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["BackupAliases"] class Type type-node

Syntax

public static class BackupAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
BackupDatabase(ICakeContext, string, string, BackupDatabaseSettings) void
Backup an existing database to a file.
static
RestoreMultipleSqlBackup(ICakeContext, string, RestoreSqlBackupSettings, IList<FilePath>, IList<FilePath>) void
Restores a database from multiple backup files.
static
RestoreSqlBackup(ICakeContext, string, FilePath, RestoreSqlBackupSettings) void
Restores a database from a backup file.
static
RestoreSqlBackup(ICakeContext, string, FilePath) void
Restores a database from a backup file.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin