KeyValueStoreReplica.Backup(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.