Start-VBRSharePointItemRestoreSession
Short Description
Starts restore sessions to explore backed-up Microsoft SharePoint databases and to perform operations with these databases.
Product: Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
RestorePointStart-VBRSharePointItemRestoreSession [-RestorePoint] <IVBRApplicationRestorePoint>
[-StagingServerName <String>] [-StagingInstanceName <String>] [-StagingServerPort <Int32>]
[-GuestCredential <PSCredential>] [-SqlCredential <PSCredential>] [-UseWindowsAuthentication] [<CommonParameters>]
-
SiteCollectionRestorePointStart-VBRSharePointItemRestoreSession [-SiteCollectionRestorePoint] <IVBRSiteCollection>
[-StagingServerName <String>] [-StagingInstanceName <String>] [-StagingServerPort <Int32>]
[-GuestCredential <PSCredential>] [-SqlCredential <PSCredential>] [-UseWindowsAuthentication] [<CommonParameters>]
Detailed Description
This cmdlet allows you to start restore sessions and recover Microsoft SharePoint databases. You can run restore sessions with the following scenarios:
- Restore session of all site collections and Microsoft SharePoint databases from a specific restore point.
- Restore session of backed-up machines with Microsoft SQL Server databases for the specified Microsoft SharePoint site collection.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
GuestCredential |
Specifies user account credentials to connect to the staging Microsoft SQL server. The user account must have the
Accepts the |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point. The cmdlet will get a Microsoft SharePoint database from the specified restore point.
Accepts the |
|
True |
0 |
True (ByValue) |
|
SiteCollectionRestorePoint |
Specifies restore points of backed-up machines with Microsoft SQL Server databases for the specified Microsoft SharePoint site collection.
Accepts the |
|
True |
0 |
True (ByValue) |
|
SqlCredential |
Specifies credentials for authenticating to the Microsoft SQL server.
Accepts the |
|
False |
Named |
False |
|
StagingInstanceName |
Specifies a name of a Microsoft SQL instance. The cmdlet will create the content database within this instance. |
|
False |
Named |
False |
|
StagingServerName |
Specifies a name of the staging SQL server. The cmdlet will mount the restore point of the machine with the SharePoint database to the specified server. |
|
False |
Named |
False |
|
StagingServerPort |
Specifies a port number. The cmdlet will use this port to connect to the staging Microsoft SQL server. |
|
False |
Named |
False |
|
UseWindowsAuthentication |
Defines that the cmdlet will use Windows authentication. Default: False |
|
False |
Named |
False |
<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 VBRSharePointRestoreSession object that contains settings of the restore session started to explore backed-up Microsoft SharePoint databases and to perform operations with these databases.
Examples
Example 1. Starting Restore Session for All Site Collections
|
This example shows how to start a restore session for all site collections and Microsoft SharePoint databases from a specific restore point.
Perform the following steps:
|
Example 2. Starting Restore Session from Microsoft SQL Backup
|
This example shows how to start a restore session from a Microsoft SQL backup that contains the necessary Microsoft SharePoint database.
Perform the following steps:
|
Example 3. Starting Restore Session from Specific Restore Point
|
This example shows how to start a restore session for all site collections and Microsoft SharePoint databases from a specific restore point. The cmdlet will use a staging server and will create the content database within the
Perform the following steps:
|
Example 4. Starting Restore Session from Microsoft SQL Server Databases with Microsoft SharePoint Site Collections
|
This example shows how to start a restore session from the restore points of backed-up machines with Microsoft SQL Server databases for the
Perform the following steps:
|
Related Commands