• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Exclude Folders from Serverwide Backup

Fabhino22Elz

Basic Pleskian
hello there,

i am running server wide sceduled backups in plesk interface.

i have several subscriptions running on that server.

now i want to exclude several folders from several subscriptions. some folders are completly different in names and some include same phrases like "local" in the folder name e.q. "local.test.folder"

to exclude for example:
/var/www/vhosts/domain1.com/foldername
/var/www/vhosts/domain2.com/local.test.folder
/var/www/vhosts/domain3.com/foldername
/var/www/vhosts/domain3.com/local.test.folder

how can i exclude such specific folders from serverwide backup?
 
You can create cron task for pleskbackup utility. This utility has some exclude options which may be useful for you:

Code:
# plesk bin pleskbackup --help | grep exclude
                 Use Exclude options to exclude some resellers/clients/domains.
  --exclude-reseller=<obj1>,<obj2>,...
  --exclude-reseller-file=<file>
  --exclude-client=<obj1>,<obj2>,...
  --exclude-client-file=<file>
  --exclude-domain=<obj1>,<obj2>,...
  --exclude-domain-file=<file>
  --exclude-pattern=<obj1>,<obj2>,...
                 You can only exclude files within webspaces.
  --exclude-pattern-file=<file>
                 You can only exclude files within webspaces.
  --exclude-logs
 
Back
Top