external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Extracts the contents of a specified backup file.
Expand-RMADBackup [-InputObject] <BackupInfo[]> [-BackupPassword <SecureString>] [-TargetFolder] <String>
[[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]
Expand-RMADBackup [-Path] <String[]> [-BackupPassword <SecureString>] [-TargetFolder] <String>
[[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]
Expand-RMADBackup [-Id] <Int32[]> [-BackupPassword <SecureString>] [-TargetFolder] <String>
[[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]
Allows you to selectively extract the contents of a backup file created with Recovery Manager for Active Directory to the location you want.
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.
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
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
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:
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
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
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 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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Exports registration information for a backup into an .xml file.
Export-RMADBackup [-InputObject] <BackupInfo[]> [-Path] <String> [-PassThru] [<CommonParameters>]
Export-RMADBackup [-Id] <Int32[]> [-Path] <String> [-PassThru] [<CommonParameters>]
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.
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.
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.
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
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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
Download a backup file from cloud storage and save it locally.
Export-RMADFECloudStorageBackup [-UploadSessionId] <Int32> [-Path] <String> [<CommonParameters>]
Export-RMADFECloudStorageBackup [-InputObject] <UploadSession> [-Path] <String> [<CommonParameters>]
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.
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/2022 4:23:47 PM
ModificationTimestamp : 10/28/2022 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/2022 4:14:10 PM
ModificationTimestamp : 10/28/2022 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.
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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
Exports cloud storage servers in CSV file.
Export-RMADFECloudStorageServers [-Path] <String> [-IgnoreReadOnly] [<CommonParameters>]
Exports currently registered cloud storage servers and their current statuses in CSV file.
PS C:\> Export-RMADFECloudStorageServers -Path C:\SecureStorageServers.csv
Saves all current cloud storage servers to C:\SecureStorageServers.csv file
Allows you to perform the action in a console currently performing full replication.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to file where to save cloud storage servers information.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center