- Plesk for Linux
- Plesk for Windows
How to exclude specific files/directories or domains from a backup in web interface so that they are not included into the backup that is going to be created?
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 a directory, use '*' mask, for example:
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?
It's not possible to edit already existing (already created) backup archive to exclude some files or folders.