Articles in this section

How to exclude specific files/directories from a backup in Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to exclude specific files/directories from a backup in Plesk?

Answer

In order to exclude files from backup click to expand on the section

To exclude files from domain backup
  1. Log in to Plesk GUI

  2. Go to Domains > example.com > Backup Manager > Back Up and use Exclude specific files Capture.PNG

  3. Only paths relative to the subscription can be used. For example:

    CONFIG_TEXT: httpdocs/images/file.jpg

    To exclude all files in the directory, use '*' mask, for example:

    CONFIG_TEXT: httpdocs/images/*

    To exclude a whole directory, specify the name of the directory, for example:

    CONFIG_TEXT: httpdocs/images

To exclude files from full server backup

Note: when excluding specific files from Full Server backup all files specified in Exclude specific files from the backup option on all domains will be excluded. It is not possible exclude specific file from specific domain only.

Vote to implement features on Plesk User Voice Portal. - INCORRECT USERVOICE
  1. Log in to Plesk GUI

  2. In Tools & Settings > Backup Manager > Back Up and use Exclude specific files from the backup option:
    Capture.PNG

  3. Only paths relative to the subscription should be used. For example:

    CONFIG_TEXT: httpdocs/images/file.jpg

    To exclude all files in the directory, use '*' mask, for example:

    CONFIG_TEXT: httpdocs/images/*

    To exclude a whole directory, specify name of the directory, for example:

    CONFIG_TEXT: httpdocs/images

Was this article helpful?

Comments

5 comments
Date Votes
  • Maxim Lazet

    Have you even opened the Scheduled Backup settings page (<domain>:8443/admin/backup/schedule/)?

    0
  • For me (Plesk Obsidian Web Pro Edition 18.0.x, for Linux) there is no "Domains > example.com > Backup Manager". There is a "Backup & Restore", but this has no settings. There is a general "Tools & Settings > Backup Manager", but this has no options to exclude files. Any ideas?

    1
  • Same problem. 

    There is no options to exclude files on _panel_address_/admin/backup/settings/ page. 

    0
  • Hello @Евгений Варенко

    I see that you are accessing backup Settings, but the Exclude specific files option is available when creating a backup.
    The page should be _panel_address_/admin/backup/backup/ or Plesk panel > Tools & Settings > Backup Manager > click Back Up button.

    1
  • Hello, Batyr Tarpakov 

    Already found exclude option on _panel_address_/admin/backup/schedule/ page. 
    Temporary blindness probably… %) 


    Thank you for the answer! 

    0

Please sign in to leave a comment.