public EsentBackup(JET_INSTANCE instance, string destination, BackupGrbit backupOptions, CancellationToken token) { this.instance = instance; this.destination = destination; this.backupOptions = backupOptions; this.token = token; }
public EsentBackup(JET_INSTANCE instance, string destination, BackupGrbit backupOptions) { this.instance = instance; this.destination = destination; this.backupOptions = backupOptions; }
public EsentBackup(JET_INSTANCE instance, string destination, BackupGrbit backupOptions) { this.instance = instance; this.destination = destination; this.backupOptions = backupOptions; }
/// <summary> /// Performs a streaming backup of an instance, including all the attached /// databases, to a directory. With multiple backup methods supported by /// the engine, this is the simplest and most encapsulated function. /// </summary> /// <param name="instance">The instance to backup.</param> /// <param name="destination"> /// The directory where the backup is to be stored. If the backup path is /// null to use the function will truncate the logs, if possible. /// </param> /// <param name="grbit">Backup options.</param> /// <param name="statusCallback"> /// Optional status notification callback. /// </param> public static void JetBackupInstance(JET_INSTANCE instance, string destination, BackupGrbit grbit, JET_PFNSTATUS statusCallback) { Api.Check(Impl.JetBackupInstance(instance, destination, grbit, statusCallback)); }