• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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