Step 3. Select Files and Folders to Back Up

At the Objects step of the wizard, select files and folders that you want to back up.

  1. Click Add.
  2. From the Server list, select a file share on which the necessary files or folders reside.

Note

If you plan to protect file shares residing on the enterprise storage system, you can choose between two different approaches. For more information, see the File Backup Integration with Storage Systems section.

  1. In the Objects tree, select folders you want to back up.

Note

If you select a NAS filer from the Server list, but the Objects tree is empty, make sure that the storage system rescan was performed and finished. For more information about the storage system rescan process, see the Storage Discovery Process section in the Storage System Snapshot Integration Guide.

To select multiple folders, hold [Ctrl] and click necessary folders. Although different folders of the same share form separate records in the table, they will be processed by one job task.

Consider the following:

  • Hard links in file shares are protected with content included.
  • Symbolic links in file shares are protected as links, without the content they refer to.
  1. If you add a folder to the job, all the folder contents will be processed.

If necessary, you can choose only specific files from the added folder.

Step 3. Select Files and Folders to Back Up

Including Objects

To filter objects that you want to back up, you can specify the object name or extension mask to include into processing.

  1. Select an object in the Objects list and click Filters.
  2. In the Include and exclude masks window, use the Include masks section to include objects.
  3. Click Add.
  4. In the Files by mask window, specify the value associated with the object. For example:
  • To backup only PDF files, enter *.PDF in the Extension field and click OK.
  • To backup all files with name sales_report.xlsx, enter sales_report.xlsx in the Extension field and click OK.
  1. Click OK.

Step 3. Select Files and Folders to Back Up 

Excluding Objects

Note

\.snapshot and \~snapshot are added to exclude masks by default.

To filter objects that you do not want to back up, you can specify the path or file mask to exclude from processing.

  1. Select an object in the Objects list and click Filters.
  2. In the Include and exclude masks window, use the Exclude masks field to exclude objects.
  3. Click Add.
  4. Depending on the way you want to exclude objects, select one of the following:
  • To exclude objects by path, select Objects by path and in the Object by path window, specify a path to the objects that you want to exclude.

Note

Wildcards are not supported.

  • To exclude objects by file mask, click Files by mask and in the Files by mask window, specify the name mask or exact file name that you want to exclude.

For example:

  • To exclude PDF files from processing, select the Files by mask option, enter *.PDF in the Extension field and click OK.
  • To exclude all files with name pricelist.xlsx from processing, select the Files by mask option, enter pricelist.xlsx in the Extension field and click OK.
  • To exclude folder 2016 from processing, select the Object by path option, enter the full path to it in the Path field and click OK. For example, for an NFS file share this path looks like: QA04:/NFS04/Documents/2016, for an SMB file share — \\fileserv05\Documents\2016).

Alternatively, you can specify a relative path to the folder or file to exclude. In case of the NAS filer, this is the only option to specify a path to exclude. For example, to exclude folders call_records (where call records are located) from all file shares residing on the NAS filer, in the Path field of the Object by path window, specify /call_records (this mask will exclude the call_records folder from processing for all NFS file shares on this NAS filer) and \call_records (this mask will exclude the call_records folder from processing for all SMB file shares on this NAS filer) and click OK.

You can exclude a whole file share from processing. For example, you add the \\Server\ SMB server to the file backup job, but you want to exclude the \\Server\Sharing file share from processing. To exclude this file share from processing, in the Path field of the Object by path window, enter the \\Server\Sharing path and click OK. The job will back up all file shares that Veeam Backup & Replication detects on this server, but will skip the excluded file share.

Note

Consider the following:

  • Include and exclude masks are case sensitive.
  • You cannot exclude a whole file share from processing if the storage system, where file shares reside, is added to Veeam Backup & Replication as a NAS filer.

As a workaround, you can edit the storage in Storage Infrastructure and exclude the volumes on the NAS Filer step, as described in the Adding NetApp Data ONTAP, Adding Lenovo ThinkSystem DM/DG Series, Adding Dell PowerScale (formerly Isilon) or Adding Nutanix Files Storage sections, depending on the type of the storage system you use.

  • You cannot use mask with * to specify folders to exclude from processing. For example, mask QA04:/NFS04/Documents/201* will not work.
  • You cannot mix different exclusion options, for example, you cannot use a mask to exclude files with certain extensions from the specific folder. For example, QA04:/NFS04/Documents/2016/*.xlsx will not work.

Tip

You can follow this set of examples for specifying the path in the Object by path window:

  • For SMB shares:
  • \\<server>\<share>\<folder>\<file> includes/excludes the file on the specific SMB server.
  • \\<server>\<share>\<folder>\* includes/excludes entire folder content on the specific SMB server.
  • \\<server>\<share>\<folder>\ includes/excludes only the specific folder on the specific SMB server.
  • \\<server>\*\<folder>\ includes/excludes a folder with the matching name from all SMB shares.
  • \\<server>\<share>\ includes/excludes a share with the matching name on the specific SMB server.
  • For NFS shares:
  • <server>:/<share>/<folder>/<file> includes/excludes the file on the specific NFS server.
  • <server>:/<share>/<folder>/* includes/excludes entire folder content on the specific NFS server.
  • <server>:/<share>/<folder>/ includes/excludes only the specific folder on the specific NFS server.
  • <server>:/*/<folder>/ includes/excludes a folder with the matching name from all NFS shares.
  • <server>:/<share>/ includes/excludes a share with the matching name on the specific NFS server.

Step 3. Select Files and Folders to Back Up 

Exporting and Importing Filters

If necessary, you can export and import your masks:

  • To export a mask to a file, click the Export these filters link. In the Export to file window, specify a path to the necessary XML file. Click OK.
  • To import existing masks from a file, click the Import existing list link. In the Import masks from file window, specify a path to the necessary XML file. Click OK.

Page updated 5/17/2024

Page content applies to build 12.1.2.172