BuildMaster SDK Reference
Version:

IBackupRestore Interface

Implemented by database connections which provide backup and restore capabilities.

Inheritance Hierarchy

  • Inedo.BuildMaster.Extensibility.DatabaseConnections.IBackupRestore

Syntax

public interface IBackupRestore

Methods

Name Description
BackupDatabaseAsync(string databaseName, string destinationPath, System.Threading.CancellationToken cancellationToken)

When implemented by a derived class, backs up the specified database to the specified path.

RestoreDatabaseAsync(string databaseName, string sourcePath, System.Threading.CancellationToken cancellationToken)

When implemented by a derived class, restores the specified database from the specified path.