The Export-CVSQLDatabaseRTD
cmdlet restores backed-up data to a disk that is either on the same SQL server or a different SQL server.
Before you can use this cmdlet, you must log on to your CommCell environment using the Connect-CVServer
cmdlet. For more information, see Connecting to a CommCell Environment with PowerShell.
Syntax
Export-CVSQLDatabaseRTD -DatabaseObject <Object> [-JobId <Int32>] -DestClientName <String> -DestDiskPath <String> [-OverwriteExisting] [<CommonParameters>]
Required Parameters
Parameter | Description | Data type | Accepts pipeline input? | Accepts wildcard characters? | Type of parameter |
---|---|---|---|---|---|
| The object that represents the database. | Object | Yes, by:
| No | Named |
| The name of the destination client. | String | No | No | Named |
| The path to the disk where you want to export the data. | String | No | No | Named |
Optional Parameters
Commvault Parameters
Parameter | Description | Data type | Accepts pipeline input? | Accepts wildcard characters? | Type of parameter |
---|---|---|---|---|---|
| The ID of the job to be used to export the SQL database files. | Int32 | No | No | Named |
| Overwrites the existing database. | SwitchParameter | No | No | Named |
Microsoft PowerShell Parameters
You can use the following Microsoft PowerShell parameters:
Debug
ErrorAction
ErrorVariable
OutBuffer
OutVariable
PipelineVariable
Verbose
WarningAction
WarningVariable
Force
Confirm
WhatIf
Note: Only a few cmdlets support Force, Confirm, and WhatIf parameters.
For more information, see "About Common Parameters" in the Microsoft PowerShell documentation.
Input
This cmdlet does not support input.
Output
A message that indicates whether the restore completed successfully.