exclude

Disk-level and file-level backups

The following four parameters are used with the backup disk, backup file, and backup vm commands.

exclude_names

--exclude_names=<names>

Files and folders to be excluded from the backup. For example, c:\pagefile.sys,c:\hiberfil.sys.

exclude_mask

--exclude_mask=<masks>

Masks to select files to be excluded from the backup. For more details, see the description of the exclude parameter used in the recover file command.

exclude_system

--exclude_system

In file systems that are supported by Windows, type this parameter to skip files and folders with the System attribute. If a folder has the System attribute, all of its contents (including files that do not have the System attribute) will be excluded.

exclude_hidden

--exclude_hidden

Type this parameter to skip files and folders that have the Hidden attribute (for file systems that are supported by Windows) or that start with a period (.) (for file systems in Linux such as Ext2 and Ext3). If a folder is hidden, all of its contents (including files that are not hidden) will be excluded.

Microsoft Exchange Server data backups

The following four parameters are used with the backup exchange_mailbox command.

exclude_age

--exclude_age=<date>

If the parameter is set, the software will exclude all items created before the specified date and time. The value format is "DD.MM.YYYY HH24:MM". You cannot omit any part of the date.

Without this parameter, items with any creation date and time will be backed up.

exclude_attach

--exclude_attach=<files and masks>

If the parameter is set, the software will exclude all attachments whose names match the specified values. You can use one or more wildcard characters * and ? in a file mask.

Example:

--exclude_attach=Vid*.avi,App?.exe,*.mp3

Without this parameter, all attachments will be backed up.

exclude_size

--exclude_size=<size>{kb|mb|gb}

If the parameter is set, the software will exclude all attachments larger than the specified value. If no measurement unit is specified, the size is measured in megabytes (mb).

Without this parameter, items with any size will be backed up.

exclude_types

--exclude_types=<types>

If the parameter is set, the software will exclude all items of the specified type. You can specify one or more of the following values: deleted ("Deleted Items" folders will be excluded), sent ("Sent Items" folders will be excluded), or junk ("Junk E-mail" folders will be excluded).

Example:

--exclude_types=deleted,junk

Without this parameter, items of any type will be backed up.