Export (0) Print
Expand All

New-OBRecoveryOption

Updated: April 4, 2013

Applies To: Windows Server 2012

New-OBRecoveryOption

Specifies the recovery options that will apply to all the recoverable items during recovery.

Syntax

Parameter Set: Default
New-OBRecoveryOption [[-DestinationPath] <String> ] [[-OverwriteType] <String> ] [[-SkipRestoreSecurity]] [ <CommonParameters>]




Detailed Description

The New-OBRecoveryOption specifies the recovery options that will apply to all the recoverable items during recovery. These include the Destination Path, Overwrite flag (for use in case if the object already exists), and Security settings for the object

If no Recovery Option is specified, the following default options will be used during recovery.
1) Restore to original location.
2) Create copies in case of conflict.
3) Restore ACLs of the files.

To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-DestinationPath<String>

Specifies the location to recover. This parameter is optional.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OverwriteType<String>

Specifies whether to overwrite the existing files at the destination path. The following three values are supported for this parameter – “CreateCopy”, “Skip” and “Overwrite”.


Aliases

none

Required?

false

Position?

3

Default Value

CreateCopy

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SkipRestoreSecurity

Specifies whether to restore the access control lists (ACLs) of the files being recovered or to allow them to inherit the default ACLs of the restore location.


Aliases

none

Required?

false

Position?

4

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBRecoveryOption

Examples

EXAMPLE 1

This example creates a new recovery option.


PS C:\> New-OBRecoveryOption -DestinationPath C:\temp -OverwriteType Overwrite –SkipRestoreSecurity

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft