Share via


KeyValueStoreReplica.Backup(String) Method

Definition

Caution

Use BackupAsync instead

DEPRECATED. Performs a full backup of the replica's local store to the specified destination directory.

[System.Obsolete("Use BackupAsync instead")]
public void Backup (string backupDirectory);
[<System.Obsolete("Use BackupAsync instead")>]
member this.Backup : string -> unit
Public Sub Backup (backupDirectory As String)

Parameters

backupDirectory
String

The full path of the backup destination directory.

Attributes

Remarks

This method is obsolete. Use BackupAsync(String, StoreBackupOption, Func<StoreBackupInfo,Task<Boolean>>) instead.

Incremental backups are not supported after creating a full backup using this method. Use BackupAsync(String, StoreBackupOption, Func<StoreBackupInfo,Task<Boolean>>) to create a full backup if subsequent incremental backups are to be created.

Applies to