• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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