- 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?
Note: It's not possible to edit already existing (already created) backup archive to exclude some files or folders.
In order to exclude specific files from a backup, use steps below:
Go to Domains > example.com > Backup Manager > Back Up and use Exclude specific files from the backup option:
Only paths relative to the subscription should be used. For example:
To exclude all files in the directory, use '*' mask, for example:
To exclude a whole directory, specify name of the directory, for example:
Excluding any component from the full server backup in Tools & Settings > Backup Manager > Back up 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?