Get-VESQLPluginLogInterval
Short Description
Returns details on the available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VESQLPluginLogInterval [-RestorePoint] <VESQLPluginRestorePoint> [<CommonParameters>] |
Detailed Description
This cmdlet returns details on the available restore period within a restore point of a database backed up with Veeam Plug-in for Microsoft SQL Server.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies restore point of a database backed up with Veeam Plug-in for Microsoft SQL Server. The cmdlet will return details on the available restore period within the restore point.
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 Learn.
Output Object
The cmdlet returns the VESQLPluginLogInterval object that contains details on the available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server.
Examples
Getting Details on Available Restore Period for Microsoft SQL Server Database
This example shows how to get details on an available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server.
|
$session = Get-VESQLPluginRestoreSession $database = Get-VESQLPluginDatabase -Session $session[0] -Name "SQLDatabase" $restorepoint = Get-VESQLPluginRestorePoint -Database $database Get-VESQLPluginLogInterval -RestorePoint $restorepoint |
Perform the following steps:
- Run the
Get-VESQLPluginRestoreSessionReturns active restore sessions started to explore and restore databases backed up with Veeam Plug-in for Microsoft SQL Server. 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-VESQLPluginDatabaseReturns databases backed up with Veeam Plug-in for Microsoft SQL Server. 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-VESQLPluginRestorePointReturns restore points for a database backed up with Veeam Plug-in for Microsoft SQL Server. cmdlet. Set the$databasevariable as theDatabaseparameter value. Save the result to the$restorepointvariable. - Run the
Get-VESQLPluginLogIntervalcmdlet. Set the$restorepointvariable as theRestorePointparameter value.
Related Commands
Get-VESQLPluginRestoreSessionReturns active restore sessions started to explore and restore databases backed up with Veeam Plug-in for Microsoft SQL Server.Get-VESQLPluginDatabaseReturns databases backed up with Veeam Plug-in for Microsoft SQL Server.Get-VESQLPluginRestorePointReturns restore points for a database backed up with Veeam Plug-in for Microsoft SQL Server.