NOTICE: This Documentation is for JetBackup 4 for Linux.

Please CLICK HERE for the latest JetBackup 5 for Linux Documentation.

Directories and Files to exclude

Excluding files & folders from backup is a very important feature, and we recommend to use it. Each backup job has it's own exclude list that can be edited. The exclude list will be piped to our sync operation. The supported format should be glob pattern( https://en.wikipedia.org/wiki/Glob_(programming)).

Amazon incremental uses slightly different approach see Amazon Incremental Exclude.
For more information click the following link: https://docs.aws.amazon.com/cli/latest/reference/s3/index.html#use-of-exclude-and-include-filters

For more details about how to exclude files from specific user account on a specific backup job click the following link: Directories and Files Per User Account and BackupJob to excludes

To insert Excluding files, click on "Insert Multiple".

insert Excluding files


Insert your files.

Insert Multiple


Here you can find recommendations for files / folders to exclude.

Generic user's backup / cache temporary files

*.jpa
backup-*.tar.gz
site-*.tar.gz
*/com_akeeba/backup/*
*/backupbuddy_backups/*
public_html/cache/*
tmp/*
logs/*
softaculous_backups/*
*/wp-content/uploads/wpcf7_captcha/*
*/wp-content/widget-cache/*
*/wp-content/cache/*
*/wptsc-cachedir/*

Amazon Incremental Exclude

Exclude path starting with '/' will reference the root dir of the local file system.

For example: /root/my.cnf will exclude my.cnf only if backung up /root directory.

For account exclude list, please don't start with "/".

Amazon exclude file

.cpanel/**.sock* will exclude *.sock only if there is folder named ".cpanel" on the first level of the directory being backed up.

To exclude file named *.sock on all levels please use *.sock

Amazon exclude directories

Please note, exclude for directory should always end with /*

To exclude directory named "test" on first level use test/*

To exclude directory named "test" on level 2 and above */test/*

To exclude directory named "test" on level 3 and above */*/test/*

And so on.