6.3 File and folder jobs
A file job (workload Files) backs up selected folders and files of a machine. It is the default choice for user data, configuration folders and shares: it is fast, and single files are easy to restore. To protect a whole machine including the operating system, use the disk image job (section 6.6 Image jobs).
What a run does
The agent checks which of the given paths exist. Missing paths are skipped with a warning; if none exists, the run fails.
Depending on Snapshot, it creates a snapshot (VSS on Windows; LVM, btrfs or ZFS on Linux) so that open files are read consistently.
It walks the paths, applies the exclude and include patterns, reads only files that changed compared with the predecessor snapshot (different size or modification time), splits them into blocks and uploads only blocks the repository does not know yet (deduplication). With the backup type Incremental the predecessor is the last snapshot of the job, with Differential it is the last full snapshot, and with Full there is no predecessor and everything is read.
It releases the snapshot. The server then applies retention (section 6.2 Job editor: general settings).
Every file backup also measures how many files changed and the entropy of the changed data. A sudden jump of files that look encrypted triggers the ransomware early warning (see chapter 10 Monitoring and Reports).
Fields in the job editor
Besides the general fields (section 6.2 Job editor: general settings), the editor shows the Files box for the Files workload.
Option | Effect | Default |
|---|---|---|
Paths to back up | One absolute path per line, files or folders on the agent: | empty |
Exclude (globs, one per line) | Files and folders that are skipped. | empty |
Only include (optional globs) | If the list is not empty, only files matching one of the patterns are backed up, for example | empty (everything) |
Exclude templates | Predefined exclude lists, switched on with a checkbox (see below). | none |
Snapshot (VSS / LVM / btrfs / ZFS) under Advanced | How the agent uses snapshots (see below). | Automatic |
Skip folders containing under Advanced | File names, comma separated, for example | empty |
Skip files larger than (MB) under Advanced | Files above this size in MiB are not backed up. | no limit |
Read limit (KiB/s) under Advanced | Throttles reading from the source to spare disk or network. | unlimited |
Stay on one file system under Advanced | The run does not cross file system boundaries: mounted drives or mount points below a path are not included. | off |
Windows metadata (ACLs, streams) under Advanced | Backs up security descriptors (ACLs) and alternate data streams. Affects Windows agents only. | on |
The fields Backup type, Pre/post scripts and Protection plan from section 6.2 Job editor: general settings apply as well. The backup type is selectable for file jobs (incremental, differential, full, plus a periodic full backup).
Snapshot mode
The Snapshot (VSS / LVM / btrfs / ZFS) field offers three values.
Option | Effect | Default |
|---|---|---|
Automatic: live backup with a warning if not possible | The agent tries a snapshot. If that fails, it reads the live files and reports a warning. | yes |
Required: fail without a snapshot | If no snapshot can be created, the run fails. | no |
Off: read live files | No snapshot is created; open files may be inconsistent or missing. | no |
Exclude templates
Each template appears in the editor as a checkbox showing the number of patterns it contains. Templates add to your own entries under Exclude.
Template | Content |
|---|---|
| Windows profiles without temporary files and browser and shader caches; also |
| Linux home directories without |
| Virtual machine disk files and ISO images: |
Pattern rules
Exclude and include patterns use
.gitignoresyntax and match at any depth.On Windows, matching is case-insensitive.
A pattern must not be empty and must not start with
!.A folder with a full path, such as
C:\Users\*\DownloadsorC:/Users/*/Downloads, applies only there. A pattern containing/, such asAppData/Local/Temp, applies anywhere.Excludes behave the same with and without a shadow copy. They are matched against the original paths; the log notes this as "excludes (matched against the original paths)".
Under Exclude, Browseโฆ offers a selection from the agent's file system. The quick-pick chips insert
*.tmp,*.bak,*.log,*.iso,*.mp4,*.mkv,*.vhdxand*.vmdk.