Why Use File Backup Filters?
Backing up an entire directory is convenient, but it can also include temporary files, obsolete archives, and other data you do not need. Selecting individual files takes time, especially when folders contain hundreds of documents or frequently changing content.
Handy Backup provides file filtering by name, extension, and wildcard mask, allowing you to define which files belong in a backup task. Instead of updating the selection manually, you can apply filters whenever the task runs.
Include Specific Files by name or extension, such as Word documents, spreadsheets, images, or selected project files.
Apply Filters Automatically whenever scheduled backup tasks run, including files that match your selection rules.
Exclude Unnecessary Files using file masks to skip temporary data, unwanted extensions, and other files outside your backup requirements.
Use Wildcard Patterns to select groups of files with matching names or extensions instead of specifying each filename.
Include and Exclude Files from Backup
Handy Backup offers two complementary filtering methods. Include masks define which files the program should process, while exclude masks identify files to ignore. You can use either method or combine them in one backup task.
Include Masks: Back Up Only Selected File Types
Use include filters when you need specific data from a larger directory. For example, the mask *.docx selects Word documents regardless of their filenames. You can combine multiple extensions, such as *.docx|*.xlsx|*.pdf, to back up several document formats in one task.
Exclude Masks: Skip Unnecessary Files
Exclude filters are useful when most files in a selected folder should be copied, but certain formats are not required. For example, *.tmp excludes files with the TMP extension, while *.log|*.bak excludes matching log and backup files. These exclusions help keep the backup set focused on the intended data.
Temporary Files and File Attributes
Handy Backup includes an Add default temporary extensions option for excluding common temporary file types. You can also configure settings to skip read-only, hidden, or system files. File masks can be applied to files only or to folders as well, depending on the task requirements.
Wildcard Masks and File Backup Filter Examples
A wildcard pattern is a filename template that uses special characters to match multiple files. In Handy Backup, the asterisk (*) represents a sequence of characters. For example, *.jpg matches JPG images with different filenames.
Use the following file masks to include or exclude files by extension or filename pattern.
| File Mask | Matching Files | Typical Backup Use |
|---|---|---|
| *.docx | All Word DOCX files | Back up office documents |
| *.xlsx | All Excel XLSX files | Select spreadsheets |
| *.jpg|*.png | JPG and PNG images | Back up selected photo formats |
| report* | Names beginning with report | Select report files by name |
| *.tmp | Files with a TMP extension | Exclude temporary files |
| *.indd|*.ai|*.psd|*.eps | Adobe InDesign, Illustrator, and Photoshop files | Back up Adobe Creative Cloud design projects |
| *.log|*.bak | LOG and BAK files | Exclude unwanted logs or old backup files |
Note: Separate multiple masks with the vertical bar (|). For example, *.docx|*.xlsx|*.pdf selects three document formats. Test your filters with representative files before relying on them for regular backup tasks. Exclude database files, logs, or other application data only when they are not required for recovery.
How to Back Up Files by Type or Wildcard Mask
To create a selective file backup, configure filters in the New Task Wizard. The following procedure uses the Computer plug-in for regular files and folders.
- Open Handy Backup and create a new backup task in Advanced mode.
- On Step 2, select the Computer plug-in and choose the folders or drives containing the required files.
- Click File filters... to open the File-specific settings dialog.
- Enter the required patterns in the Include masks or Exclude masks fields. Use the vertical bar to separate multiple masks.
- If needed, add default temporary extensions, choose file attribute exclusions, or enable Apply these masks to folders as well as to files.
- Click OK, select the backup destination, and continue configuring the task using the New Task Wizard.
- Set a schedule if you want the filtered backup to run automatically, then save and test the task.
Once configured, the task processes files according to the selected filtering rules. You can modify the masks later if your backup requirements change.
Practical Uses for File Backup Filters
File filtering is useful whenever one directory contains different types of data. You can back up selected documents, media collections, or project files without creating a separate task for every extension.
Office Documents and Project Files
Select Word documents, Excel spreadsheets, PDFs, or files with a particular naming convention. For example, *.docx|*.xlsx|*.pdf creates a backup selection based on common office document extensions. This is useful when project folders also contain temporary exports and unrelated files.
Video Backup
Back up specific video formats from folders containing different media types. Include masks such as *.mp4|*.avi|*.mpeg let you select matching video files while leaving unrelated formats outside the backup set.
Music Backup
Use file extension filters to copy audio files from mixed directories. For example, *.mp3|*.wav|*.flac selects common audio formats. You can include additional extensions when your music collection contains other file types.
Photo Backup
Filter image collections by format using masks such as *.jpg|*.jpeg|*.png. This is helpful when photo directories also contain videos, exported documents, or other files that do not need to be included in the same backup task.
Temporary Files and Working Directories
Working folders often contain temporary files, logs, and intermediate exports. Use exclude masks or the built-in temporary extension preset to skip files that are unnecessary for your particular backup. Review the selection carefully when application logs or generated files are needed for troubleshooting or recovery.
Combine File Filters with Automatic Backup
File filtering can be used with other Handy Backup features to create recurring backup tasks that copy the required files without repeated manual selection.
Scheduled File Backup
Configure a daily, weekly, or other schedule for a filtered backup task. Handy Backup applies the selected masks during each run, so newly added matching files can be included without manually rebuilding the backup set.
Incremental and Differential Backup
For regular file backup tasks, combine filters with differential or incremental backup methods. Filters determine which files belong to the backup set, while the selected backup method determines how changes are handled on subsequent runs.
Backup and File Synchronization
Handy Backup allows you to use file masks in both file backup and file synchronization tasks. This lets you apply similar selection rules when creating backup copies or synchronizing selected files between folders.
FAQ About File Backup Filters
How can I back up only certain file types?
Use the Include masks field in Handy Backup's File-specific settings. Enter the required extensions with wildcard patterns, for example, *.docx|*.xlsx|*.pdf. The backup task will select matching files from the specified source directories. You can combine this selection with a regular backup schedule.
How do I exclude specific files from a backup?
Enter filename patterns or file extensions in the Exclude masks field. For example, *.tmp|*.log excludes matching TMP and LOG files. You can also use the built-in option for adding common temporary extensions or configure settings for hidden, system, and read-only files.
What is a wildcard mask in file backup?
A wildcard mask is a filename pattern used to match multiple files. For example, *.jpg selects JPG images with any filename, while report* matches names beginning with "report". Wildcard masks help define backup selections without listing every file individually.
Can I use include and exclude filters together?
Yes. Include masks specify which files are eligible for backup, while exclude masks remove matching files from that selection. For example, you can include document formats and exclude files with unwanted naming patterns. Check the resulting selection before running a regular backup task.
Can file filters be applied to folders?
Yes. Handy Backup includes the option "Apply these masks to folders as well as to files". When enabled, the filtering rules also apply to folder names. Otherwise, masks are applied to files only. Use this setting carefully to avoid unintentionally excluding directories containing required data.
Do file filters work with automatic and incremental backups?
Yes. File filters can be combined with scheduled tasks and incremental or differential methods for regular file backups. Filters determine which files are selected, while the backup method controls how data is copied during later runs. Newly added files that match the masks can be included automatically.
Try Handy Backup for 30 days and configure file backups with custom include and exclude filters.