Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Recovery Manager for AD Disaster Recovery Edition 10.2.1 - Management Shell Guide

Overview
About Management Shell Installing and opening Management Shell Getting Help Descriptions of PowerShell Commands
Add-RMADBackup Add-RMADCollectionItem Add-RMADFECloudStorage Add-RMADReplicationConsole Add-RMADStorageServer Backup-RMADCollection Close-RMADFEProject Compare-RMADObject Convert-RMADBackup ConvertTo-RMADRecycledObject Copy-RMADFEBackup Create-RMADStorageAgentSetup Expand-RMADBackup Export-RMADBackup Export-RMADFECloudStorageBackup Export-RMADFERecoveryCertificate Export-RMADFEResult Export-RMADSecureStorageBackup Get-RMADBackup Get-RMADBackupAgent Get-RMADBackupInfo Get-RMADBackupObject Get-RMADBackupSecurityStatus Get-RMADCollection Get-RMADCollectionItem Get-RMADDeletedObject Get-RMADFEAvailableSubnet Get-RMADFECloudStorage Get-RMADFECloudStorageCollection Get-RMADFECloudStorageUploadSession Get-RMADFEComputer Get-RMADFEConsole Get-RMADFEDnsCache Get-RMADFEDomain Get-RMADFEEvent Get-RMADFEGlobalOptions Get-RMADFEOperation Get-RMADFEPersistenceConnection Get-RMADFEProject Get-RMADFERecoveryAgent Get-RMADFESchedule Get-RMADGlobalOptions Get-RMADLicenseInfo Get-RMADObject Get-RMADReplicationConsole Get-RMADReplicationSchedule Get-RMADReplicationSession Get-RMADReplicationSessionItem Get-RMADReportObject Get-RMADReportObjectAttributes Get-RMADReportObjectChildren Get-RMADReportSession Get-RMADSession Get-RMADSessionItem Get-RMADSessionItemEvent Get-RMADStorageServer Get-RMADStorageServerAllowedVolumes Get-RMADStorageServerHardeningStatus Get-RMADStorageServerRetentionPolicy Import-RMADBackup Import-RMADFERecoveryCertificate Install-RMADBackupAgent Install-RMADFERecoveryAgent New-RMADCollection New-RMADFEProject New-RMADFERecoveryMedia New-RMADSchedule Open-RMADFEProject Protect-RMADSecureStorageServer Protect-RMADStorageServer Publish-RMADBackupSecurityStatus Refresh-RMADStorageServer Register-RMADSecureStorageBackups Remove-RMADBackup Remove-RMADBackupAgent Remove-RMADCollection Remove-RMADCollectionItem Remove-RMADFECloudStorage Remove-RMADFECloudStorageUploadSession Remove-RMADFERecoveryAgent Remove-RMADFESchedule Remove-RMADReplicationConsole Remove-RMADReplicationSchedule Remove-RMADReplicationSession Remove-RMADStorageServer Remove-RMADUnpackedComponent Rename-RMADCollection Restart-RMADFECloudStorageUploadSession Restore-RMADDeletedObject Restore-RMADDomainController Restore-RMADObject Resume-RMADFERecovery Save-RMADFEProject Set-RMADCollection Set-RMADFECloudStorage Set-RMADFECloudStorageCollection Set-RMADFEComputer Set-RMADFEDnsCache Set-RMADFEDomain Set-RMADFEGlobalOptions Set-RMADFEPersistenceConnection Set-RMADFERecoveryMode Set-RMADFESchedule Set-RMADGlobalOptions Set-RMADReplicationConsole Set-RMADReplicationSchedule Set-RMADStorageServerAllowedVolumes Set-RMADStorageServerRetentionPolicy Start-RMADFERecovery Start-RMADFERecoveryAgentOperation Start-RMADFEVerification Start-RMADReplication Start-RMADReportViewer Stop-RMADFECloudStorageUploadSession Stop-RMADFEWorkflow Test-RMADSecureStorageBackup Unprotect-RMADStorageServer Update-RMADBackupAgent Update-RMADFEProject Update-RMADLicense

Expand-RMADBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Extracts the contents of a specified backup file.

SYNTAX

BackupInfo (Default)

Expand-RMADBackup [-InputObject] <BackupInfo[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
 [-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]

Bkf

Expand-RMADBackup [-Path] <String[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
 [-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]

Id

Expand-RMADBackup [-Id] <Int32[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
 [-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]

DESCRIPTION

Allows you to selectively extract the contents of a backup file created with Recovery Manager for Active Directory to the location you want.

EXAMPLES

Example 1

PS C:\> Expand-RMADBackup -InputObject (Get-RMADBackup | where {$_.Date -gt (Get-Date).AddDays(-2)}) -TargetFolder 'C:\UnpackedBackups'

This command extracts the contents of all backups created within last two days to the local folder C:\UnpackedBackups.

PARAMETERS

-AsJob

Runs the command as a background job.
You can use this parameter to run commands that take a significant time to complete.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-BackupPassword

If the backup is password-protected, specifies the password to open the backup.
The parameter value must be a SecureString object.

Type: SecureString
Parameter Sets: (All)
Aliases: Password

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Components

Specifies the backup components you want to extract.
When specifying multiple backup components in this parameter, use a comma as a separator.
This parameter accepts the following values for backup components:* Sam - Specifies to extract the SAM registry hive.

  • Security - Specifies to extract the Security registry hive.

  • Software - Specifies to extract the Software registry hive.

  • System - Specifies to extract the System registry hive.

  • Default - Specifies to extract the Default registry hive.

  • NTUserDat - Specifies to extract the NTUser.dat registry hive.

  • Components - Specifies to extract the Components registry hive.

  • SchemaDat - Specifies to extract the Schema.dat

  • ActiveDirectoryDatabase - Specifies to extract the DIT database.

  • Sysvol - Specifies to extract SYSVOL.

  • EnterpriseServices - Specifies to extract the COM+ Class Registration database.

  • BootFiles - Specifies to extract the boot files.

  • IISMetabase - Specifies to extract IIS metabase.

  • PerformanceCounters - Specifies to extract performance counters.

  • CertificateServer - Specifies to extract certificate server.

  • ClusterQuorum - Specifies to extract the cluster quorum.

  • Adam - Specifies to extract all instances of AD LDS (ADAM).

  • GroupMembership - Specifies to extract cross-domain group membership information.

  • ActiveDirectory - Specifies to extract the components represented by the following parameters: ActiveDirectoryDatabase and SYSVOL.

  • Registry - Specifies to extract the components represented by the following parameters: Sam, Security, Software, System, Default, NTUserDat, Components, and SchemaDat.

Type: BackupComponentBits
Parameter Sets: (All)
Aliases:
Accepted values: Sam, Security, Software, System, Default, NTUserDat, ActiveDirectoryDatabase, Sysvol, ActiveDirectory, EnterpriseServices, BootFiles, SystemProtectedFiles, BootIni, CertificateServer, IisMetabase, PerformanceCounters, ClusterQuorum, Adam, GroupMembership, BootFilesExt, CryptoKeys, ForestRecoveryMetadata, Components, SchemaDat, Registry, VirtualImage, HardLinks

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

Specifies the identifier of the backup you want to extract.

Type: Int32[]
Parameter Sets: Id
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InputObject

Accepts a backup object as input to the cmdlet.
Enter a variable that contains the object or type a command or expression that gets the object.

Type: BackupInfo[]
Parameter Sets: BackupInfo
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Path

Path to the backup file.

Type: String[]
Parameter Sets: Bkf
Aliases: FullName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-TargetFolder

Specifies the target folder to which you want to extract the backup.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UseLegacyEncryption

Allows you to work with backups encrypted by the RC4 algorithm from RSA, Inc.
(Microsoft RSA Base Provider).
This algorithm is used to back up Windows Server 2003/2003 R2 domain controllers in Recovery Manager for Active Directory 8.2.x and 8.5.x.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Export-RMADBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Exports registration information for a backup into an .xml file.

SYNTAX

InputObject

Export-RMADBackup [-InputObject] <BackupInfo[]> [-Path] <String> [-PassThru] [<CommonParameters>]

Id

Export-RMADBackup [-Id] <Int32[]> [-Path] <String> [-PassThru] [<CommonParameters>]

DESCRIPTION

This cmdlet exports the registration information for the specified backup into an .xml file.
You can then use the Import-RMADBackup cmdlet to transform the registration information saved in the .xml file into an object.

EXAMPLES

Example 1

PS C:\> $b = Get-RMADBackup
Export-RMADBackup -Path Backups.xml -InputObject $b

Exports registration information for all backups registered in the Recovery Manager for Active Directory backup registration database located on the computer where you are using this cmdlet.
The backup registration information is saved in the Backups.xml file.

Example 2

PS C:\> Export-RMADBAckup -Id 1 -Path C:\ExportedBackups

Exports the registration information of the backup whose ID 1 to an XML file in the folder C:\ExportedBackups.

PARAMETERS

-Id

Specifies the identifiers of one or more backups to export.
This parameter accepts an array of integers.

Type: Int32[]
Parameter Sets: Id
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InputObject

Accepts a backup object as input to the cmdlet.
Enter a variable that contains the object or type a command or expression that gets the object.

Type: BackupInfo[]
Parameter Sets: InputObject
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PassThru

Passes the registration information for the specified backup along the pipeline.
If this parameter is omitted, the registration information is not passed along the pipeline.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the path to the .xml file where you want to save registration information for the backup.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Export-RMADFECloudStorageBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:

schema: 2.0.0

SYNOPSIS

Download a backup file from cloud storage and save it locally.

SYNTAX

UploadSessionId

Export-RMADFECloudStorageBackup [-UploadSessionId] <Int32> [-Path] <String> [<CommonParameters>]

InputObject

Export-RMADFECloudStorageBackup [-InputObject] <UploadSession> [-Path] <String> [<CommonParameters>]

DESCRIPTION

This cmdlet allows you to download an Active Directory or BMR backup from cloud storage. Use the Path parameter to specify a local path for the download.
Specify the upload session Id for the UploadSession parameter. The upload session Id can be found in the list of upload sessions for each backup file.

EXAMPLES

Example 1

PS C:\> Get-RMADFECloudStorageUploadSession


Id                    : 2
StorageId             : 1
BackupId              : 7143538
SourceBackupPath      : \\mycomputer.company.ca\Backups\MyBackup_123456.bkf
TargetBackupPath      : mycomputer.company.ca\Backups\MyBackup_123456.bkf
ErrorMessage          :
CreationTimestamp     : 10/28/2021 4:23:47 PM
ModificationTimestamp : 10/28/2021 4:24:17 PM
Status                : UploadStatusCompleted

Id                    : 1
StorageId             : 1
BackupId              : 5439573
SourceBackupPath      : \\mycomputer.company.ca\Backups\MyBackup_123456.bkf
TargetBackupPath      : mycomputer.company.ca\Backups\MyBackup_123456.bkf
ErrorMessage          :
CreationTimestamp     : 10/28/2021 4:14:10 PM
ModificationTimestamp : 10/28/2021 4:14:17 PM
Status                : UploadStatusCompleted

PS C:\> Export-RMADFECloudStorageBackup -UploadSessionId 2 -Path C:\Backups\MyBackup_123456.bkf

Download the backup file uploaded by the session with Id 2 to the local path specified.

PARAMETERS

-InputObject

Specifies the UploadSession object representing the cloud storage upload session.

Type: UploadSession
Parameter Sets: InputObject
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Path

The full local path for the downloaded backup file.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UploadSessionId

The Upload session Id for the backup to be downloaded.

Type: Int32
Parameter Sets: UploadSessionId
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

QuestSoftware.RecoveryManager.AD.FE.PowerShell.UploadSession

OUTPUTS

System.Object

NOTES

RELATED LINKS

 

Export-RMADFERecoveryCertificate


external help file: QuestSoftware.RecoveryManager.AD.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:

schema: 2.0.0

SYNOPSIS

Exports Forest Recovery certificates.

SYNTAX

Export-RMADFERecoveryCertificate [-Path] <String> [-Password] <SecureString> [<CommonParameters>]

DESCRIPTION

This cmdlet exports Forest Recovery certificates to the specified location.
You must also supply the password that is used to protect the certificates.

EXAMPLES

EXAMPLE 1

PS C:\> Export-RMADFERecoveryCertificate -Path C:\Certificates\RMADFeCertificates.pfx" -Password (ConvertTo-SecureString "protection password" -AsPlainText -Force)

This command exports Forest Recovery certificates to the specified location.

PARAMETERS

-Password

Specifies the password that is used to protect the Forest Recovery certificates.

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the full path to the Forest Recovery certificate file.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation