In this article

    Short Description

    Starts restore sessions to explore backed-up Microsoft SQL databases and to perform operations with these databases.

    Applies to

    Veeam Backup & Replication

    Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License


    Start-VESQLRestoreSession [-RestorePoint] <IVBRApplicationRestorePoint>  [<CommonParameters>]

    Detailed Description

    This cmdlet starts a new restore session, establishes a connection to the Veeam Backup & Replication server and retrieves Microsoft SQL databases backed up on this server. Within the restore session, you can get backed-up databases using the following cmdlets:

    After you get backed-up Microsoft SQL databases, you can perform the following operations with these databases:







    Accept Pipeline Input

    Accept Wildcard Characters


    Specifies a restore point to start a new restore session. You will be able to use the session to perform operations with Microsoft SQL databases that this restore point contains.

    Accepts the IVBRApplicationRestorePoint object. To get this object, run the Get-VBRApplicationRestorePoint cmdlet.



    True (ByValue)



    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 VESQLRestoreSession object that contains settings of restore sessions started to explore backed-up Microsoft SQL databases and to perform operations with these databases.


    Example 1. Starting Restore Session

    This example shows how to start a restore session to perform operations with a Microsoft SQL database.

    $restorepoint = Get-VBRApplicationRestorePoint -SQL

    Start-VESQLRestoreSession -RestorePoint $restorepoint[0]

    Perform the following steps:

    1. Run the Get-VBRApplicationRestorePoint cmdlet with the SQL parameter. Save the result to the $restorepoint variable.

    The Get-VBRApplicationRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point. In our example, it is the first restore point in the array.

    1. Run the Start-VESQLRestoreSession cmdlet. Set the $restorepoint variable as the RestorePoint parameter value.

    Related Commands