Create a Fileset for a Linux or Windows machine.
def create_physical_fileset(name, operating_system, include, exclude, exclude_exception, follow_network_shares=False, backup_hidden_folders=False, timeout=15)
The name of the Fileset you wish to create.
The operating system type of the Fileset you are creating.
The full paths or wildcards that define the objects to include in the Fileset backup (ex: ['/usr/local', '*.pdf']).
The full paths or wildcards that define the objects to exclude from the Fileset backup (ex: ['/user/local/temp', '.mov', '.mp3']).
The full paths or wildcards that define the objects that are exempt from the
Include or exclude locally-mounted remote file systems from backups.
Include or exclude hidden folders inside locally-mounted remote file systems from backups.
The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.
No change required. The Rubrik cluster already has a
The full response for the
import rubrik_cdmrubrik = rubrik_cdm.Connect()name = "Python SDK"operating_system = 'Linux'include = ['/usr/local', '*.pdf']exclude = ['/user/local/temp', '*.mov', '*.mp3']exclude_exception = ['/company/*.mp4']new_fileset = rubrik.create_physical_fileset(name, operating_system, include, exclude, exclude_exception)