Enterprise Vault™ Setting up File System Archiving (FSA)
- About this guide
- About File System Archiving
- About FSA shortcut files
- Steps to configure File System Archiving
- Adding a Windows file server to File System Archiving
- About archiving from Windows Server 2012 or later file servers
- Permissions and privileges required by the Vault Service account on Windows file servers
- Adding a NetApp filer to File System Archiving
- Adding a NetApp C-Mode Vserver to File System Archiving
- Adding a Celerra/VNX device to File System Archiving
- Adding a Dell EMC Unity device to File System Archiving
- Configuring FSA with clustered file servers
- Troubleshooting the configuration of FSA with clustered file servers
- Installing the FSA Agent
- Defining volume and folder policies
- About selecting the shortcut type for an FSA policy
- About FSA policy archiving rules
- Configuring the deletion of archived files on placeholder deletion
- Configuring target volumes, target folders, and archive points
- About adding target volumes, target folders, and archive points for FSA
- About managing archive points
- Archive point properties
- Effects of modifying, moving, or deleting folders
- About deleting target folders, volumes, and file servers
- Configuring pass-through recall for placeholder shortcuts
- Configuring and managing retention folders
- Configuring and running FSA tasks
- Using Run Now to process FSA targets manually
- Configuring file system filtering
- Managing the file servers
- PowerShell cmdlets for File System Archiving
- Appendix A. Permissions and privileges required for the Vault Service account on Windows file servers
- Permissions required by the Vault Service account for the FSA Agent
Creating PowerShell scripts using File System Archiving cmdlets
Administrators can create scripts using the File System Archiving cmdlets to automate the following tasks:
Configuring multiple shares having archive point at the root of the share by listing the shares in a CSV file.
Removing all the shares associated with a file server.
Specify the details of shares in a CSV file, each on a separate line, in the following format:
FileServerName,VolumeName,PolicyName,TaskName,VaultStoreName,Archiving
Note the following:
Enterprise Vault considers the first line as the header row and ignores it during processing.
The Archiving column is optional. If you include this in the CSV file, then you must specify values as On or Off.
If any of the parameters specified is not found, the cmdlet writes appropriate errors for that share on the PowerShell host.
To create the script, run PowerShell, or the Enterprise Vault Management Shell. At the command prompt, run the following command:
Import-Csv <CSV file> | % { New-EVFSAVolume $_.VolumeName $_.FileServerName $_.VaultStoreName $_.TaskName $_.PolicyName -DisableArchiving:($_.Archiving -eq $null -or $_.Archiving -eq 'Off') }
Import-Csv <CSV file> | % { &"C:\Program Files (x86)\Enterprise Vault\ArchivePoints.exe" "Create" ("\\{0}\{1}" -f $_.FileServerName,$_.VolumeName)}
To remove all shares associated with a file server, run the following command:
Get-EVFSAVolume <FileServerName> | Remove-EVFSAVolume
This script prompts for confirmation of removal. To avoid the confirmation prompt, use -Confirm:$false