New-RubrikFileset

SYNOPSIS

Creates a fileset by assigning a fileset template to a host or NAS share

SYNTAX

NAS

New-RubrikFileset -TemplateID <String> -ShareID <String> [-DirectArchive] [-Server <String>] [-api <String>]
 [<CommonParameters>]

Host

New-RubrikFileset -TemplateID <String> -HostID <String> [-Server <String>] [-api <String>] [<CommonParameters>]

DESCRIPTION

New-RubrikFileset takes a Fileset Template, along with a host id or NAS Share and creates a fileset by assigning the template to the host or NAS share. This cmdlet simply assigns the template to the host but does not protect it. This cmdlet is commonly followed up with Protect-RubrikFileset which will assign an SLA domain to the fileset and perform subsequent backups.

EXAMPLES

EXAMPLE 1

Creates a new fileset on the specified host, using the selected template.

EXAMPLE 2

Creates a new fileset for the BAR NAS, using the FOO template.

EXAMPLE 3

Creates a new fileset for the BAR NAS, using the FOO template. Enables the NAS Direct Archive functionality on the share.

PARAMETERS

-TemplateID

Fileset Template ID to use for the new fileset

-HostID

HostID - Used for Windows or Linux Filesets

-ShareID

ShareID - used for NAS shares

-DirectArchive

DirectArchive - used to specify if data should be directly sent to archive (bypassing Rubrik Cluster)

-Server

Rubrik server IP or FQDN

-api

API version

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/new-rubrikfileset

Last updated

Was this helpful?