Get-VESQLRDSRestorePoint
Short Description
Returns restore points for a backed-up Microsoft SQL Server database running on Amazon RDS.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VESQLRDSRestorePoint [-Database] <VESQLRDSDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet returns available restore points for a backed-up Microsoft SQL Server database running on Amazon RDS.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Database |
Specifies a backed-up Microsoft SQL Server database running on Amazon RDS.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VESQLRDSRestorePoint[] object that contains an array of restore points for a backed-up Microsoft SQL Server database running on Amazon RDS.
Examples
Getting All Restore Points for a Database
This command returns all restore points for a specific backed-up Microsoft SQL Server database running on Amazon RDS.
|
$session = Get-VESQLRDSRestoreSession $database = Get-VESQLRDSDatabase -Session $session[0] -Name "location1" $restorepoint = Get-VESQLRDSRestorePoint -Database $database |
Perform the following steps:
- Run the
Get-VESQLRDSRestoreSessionReturns active restore sessions started to explore and restore backed-up Microsoft SQL Server databases running on Amazon RDS. cmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in this example, it is the first restore session in the array).
- Run the
Get-VESQLRDSDatabaseReturns backed-up Microsoft SQL Server databases running on Amazon RDS. cmdlet. Set the$sessionvariable as theSessionparameter value and select the necessary restore session. Specify theNameparameter value. Save the result to the$databasevariable. - Run the
Get-VESQLRDSRestorePointcmdlet. Set the$databasevariable as theDatabaseparameter value. Save the result to the$restorepointvariable to use it with other cmdlets.
Related Commands
Get-VESQLRDSRestoreSessionReturns active restore sessions started to explore and restore backed-up Microsoft SQL Server databases running on Amazon RDS.Get-VESQLRDSDatabaseReturns backed-up Microsoft SQL Server databases running on Amazon RDS.