Question
How to exclude specific files/directories from a backup in Plesk?
Answer
In order to exclude files from backup click to expand on the section
To exclude files from domain backup
-
Go to Domains > example.com > Backup Manager > Back Up and use Exclude specific files
-
Only paths relative to the subscription can be used. For example:
httpdocs/images/file.jpg
To exclude all files in the directory, use '*' mask, for example:
httpdocs/images/*
To exclude a whole directory, specify the name of the directory, for example:
httpdocs/images
To exclude files from full server backup
Note: when excluding specific files from Full Server backup all files specified in Exclude specific files from the backup option on all domains will be excluded. It is not possible exclude specific file from specific domain only. Vote to implement features on Plesk User Voice Portal.
-
In Tools & Settings > Backup Manager > Back Up and use Exclude specific files from the backup option:
-
Only paths relative to the subscription should be used. For example:
httpdocs/images/file.jpg
To exclude all files in the directory, use '*' mask, for example:
httpdocs/images/*
To exclude a whole directory, specify name of the directory, for example:
httpdocs/images