How “Smart file scanning mode” works in Backup4all

Backup4all can use the USN journal to get a faster detection of the modified source files. The USN Journal (Update Sequence Number Journal), or Change Journal, is a feature of NTFS which maintains a record of changes made to the volume.

On this page: How to activate the “Smart file scanning mode” option? When the “Smart file scanning mode” applies? How do I know if the “Smart file scanning mode” was used?

Summary

One journal is maintained for each NTFS volume and stored in the NTFS metafile named $Extend\$UsnJrnl. It begins as an empty file. Whenever a change is made to the volume, a record is added to the file. Each record is identified by a 64-bit Update Sequence Number or USN. Each record in the Change Journal contains the USN, the name of the file, and information about what the change was.

The Change Journal describes the changes that took place using bit flags, therefore it does not include all the data or details associated with the change. For this reason the Change Journal cannot be used to undo operations on files within NTFS.

How to activate the “Smart file scanning mode” option?

Since version 5.4 of Backup4all, this option is activated for all new jobs. It can be activated manually for jobs created with an older version of Backup4all. To do that, open Backup Properties->Advanced page. Select the “Smart file scanning mode” option, then press Save.

If for some reasons you don’t want that option to be used, simply uncheck it from the above mentioned location.


When the “Smart file scanning mode” applies?

The “Smart file scanning mode” option is used in all cases with the following exceptions:

  1. User is not an administrator and the sources are on local drives. For standard users this option works only for external drives.
  2. The source drive is not NTFS formatted.
  3. Sources are not on local drives (ex: network drives). This option also works for local removable NTFS drives (stick, external hard drive, removable drives)
  4. Backup job has relative file date filters are (ex: "older than x days").
  5. If the file/folder filter has changes since the previous backup.
  6. The journal will not be used at first backup (all sources are newly added).
  7. The journal will not be used for full backup executions.
  8. The journal will not be used when a source is newly added to backup
  9. The journal will not be used when the source is changed by including other subfolders/files that were previously excluded
  10. Because parsing the NTFS journal can be slower in some cases than parsing the files, the option will not be used if there are less than 20,000 files & folders in the backup. The 20,000 count is calculated as sum of all files and all folders already present in backup catalog, before the current backup execution.


How do I know if the fast changes detection was used?

In order to find any information about “Smart file scanning mode” in the backup log, just search for “USN journal” in log.

Here are some examples of USN Journal loggings:

  • Using USN journal for the following sources: F:\
  • Cannot use USN journal for this backup. Reason: This is the first backup run.
  • Cannot use USN journal for this backup. Reason: Filters have changed

Applies to:

Backup4all 5.4 or later

Comments


NEW: Backup4All 6.5.373