- Plesk for Linux
- Plesk for Windows
How to exclude specific files/directories or domains from a backup in web interface?
In order to exclude specific files from a backup, use steps below:
- Login to Plesk
- Go to Tools & Settings > Backup Manager > use Exclude specific files from the backup option
- Only paths relative to the subscription should be used. For example:
CONFIG_TEXT: /httpdocs/images/file.jpgTo exclude all the files from a directory, use '*' mask, for example:
CONFIG_TEXT: /httpdocs/images/*To exclude a directory, just specify the path to it:
Excluding certain domains in full in Plesk Backup Manager is currently not supported. The new functionality can be suggested in Plesk on Plesk User Voice portal:
As a workaround, do the following:
- Do not use full server backup in Tools & Settings > Backup Manager, but backup each subscription separately in Subscriptions > example.com > Backup Manager.
- Or, make backups using the CLI utility
pleskbackupas described in:
How to create a full server backup excluding some clients/domains?