RestoreDescription Class

  • java.lang.Object
    • microsoft.servicefabric.data.RestoreDescription

public class RestoreDescription

A RestoreDescription contains all of the information necessary to restore a stateful service replica.

Constructor Summary

Constructor Description
RestoreDescription(String backupFolderPath)

Initializes a new instance of the RestoreDescription structure

RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy)

Initializes a new instance of the RestoreDescription structure

Method Summary

Modifier and Type Method and Description
String getBackupFolderPath()

Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.

Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups.

RestorePolicy getRestorePolicy()

Gets the restore policy.

Constructor Details

RestoreDescription

public RestoreDescription(String backupFolderPath)

Initializes a new instance of the RestoreDescription structure

Parameters:

backupFolderPath - The directory where the replica is to be restored from. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.

RestoreDescription

public RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy)

Initializes a new instance of the RestoreDescription structure

Parameters:

backupFolderPath - The directory where the replica is to be restored from. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.
restorePolicy - The restore policy.

Method Details

getBackupFolderPath

public String getBackupFolderPath()

Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.

Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups.

Returns:

backup folder path

getRestorePolicy

public RestorePolicy getRestorePolicy()

Gets the restore policy.

Returns:

Applies to