New-VBRNASPermissionSet
Short Description
Creates a permission set for instant restore of file share backups that will be used if the file share backup does not contain security information.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
PermissionsAllowAll (Default)New-VBRNASPermissionSet [-RestorePoint] <VBRUnstructuredBackupRestorePoint[]> [-Owner] <String>
[-AllowEveryone] [-Server <CHost>] [-UseLinuxLocalUser] [<CommonParameters>]
-
PermissionsDenyAllNew-VBRNASPermissionSet [-RestorePoint] <VBRUnstructuredBackupRestorePoint[]> [-Owner] <String> [-DenyEveryone]
[-Server <CHost>] [-UseLinuxLocalUser] [<CommonParameters>]
-
PermissionsAllowSelectedNew-VBRNASPermissionSet [-RestorePoint] <VBRUnstructuredBackupRestorePoint[]> [-Owner] <String>
[-AllowSelected] -PermissionScope <String[]> [-Server <CHost>] [-UseLinuxLocalUser] [<CommonParameters>]
Detailed Description
The cmdlet creates a permission set for instant restore of file share backups that will be used if the file share backup does not contain security information.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AllowEveryone |
Defines that the permission set will allow access to the published SMB share to everyone.
Note: If the |
|
False |
Named |
False |
|
AllowSelected |
Defines that the permission set will allow access to the published SMB share to the limited number of users specified in the |
|
True |
Named |
False |
|
DenyEveryone |
Defines that the permission set will deny access to the published SMB share to everyone except its owner. |
|
True |
Named |
False |
|
Owner |
Specifies a name of the account or group in the user name or domain\\user name format. The cmdlet will use this parameter if the file share backup does not contain security information. |
|
True |
1 |
False |
|
PermissionScope |
Specifies an array of users. The cmdlet will provide these users with the access to the published SMB share. This parameter must be specified together with the |
|
True |
Named |
False |
|
RestorePoint |
Specifies an array of restore points. The cmdlet will create a permission set with specific security settings for each of the specified restore points.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
Server |
Specifies the Linux mount server which local user account you want to use.
Accepts the |
|
False |
Named |
False |
|
UseLinuxLocalUser |
Defines that the permission set will use the Linux local user account. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns a VBRNASPermissionSet object for each specified restore point. This object defines permission settings that will be applied to instant restore of file share backups.
Examples
Example 1. Creating Permission Set to Deny Access to SMB Share to Everyone Except Owner
|
The following request creates a permission set that denies access to the published SMB share to everyone except its owner.
Perform the following steps:
|
Example 2. Creating Permission Set to Allow Access to SMB Share to Everyone
|
The following request creates a permission set that allows access to the published SMB share to everyone.
Perform the following steps:
|
Example 3. Creating Permission Set to Allow Access to SMB Share to Selected Users
|
The following request creates a permission set that allows access to the published SMB share to selected users.
Perform the following steps:
|
Related Commands
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs.Get-VBRUnstructuredBackupRestorePoint