Get-VEMDBDatabase
Short Description
Returns backed-up MongoDB databases.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEMDBDatabase [-Session] <VEMDBRestoreSession> [-Name <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of backed-up MongoDB databases. After you get the backed-up databases, you can use the Get-VEMDBCollectionReturns backed-up MongoDB collections. cmdlet to get the collections you need.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies an array of names of MongoDB databases. The cmdlet will return an array of databases with the specified names. This parameter accepts wildcard characters. |
|
False |
Named |
False |
|
Session |
Specifies a restore session initiated to perform operations with MongoDB data.
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 VEMDBDatabase[] array that contains backed-up MongoDB databases.
Examples
Example 1. Getting All MongoDB Databases Within Specified Restore Session
|
This example shows how to get an array of all MongoDB databases within the specified restore session.
Perform the following steps:
|
Example 2. Getting MongoDB Databases with Specified Names
|
This example shows how to get an array of MongoDB databases with the specified names.
Perform the following steps:
|
Related Commands
Get-VEMDBRestoreSessionReturns active restore sessions started to perform restore operations with backed-up MongoDB data.