• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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