• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Question Exclude specific files from the backup

Peter76

New Pleskian
I want to make a complete backup via Tools & Settings>Backup Manager
How I can use "Exclude specific files from the backup" to exclude a specific domain folder like
/var/www/vhosts/<domain>/httpdocs/>folder>/*
This setting did not work :-(
 
Hi there,

Try this (the paths are relative to webspace root)

Code:
**/{folder}/

For example, we use these rules to exclude backup files and a few other paths from our backups:

Code:
**/*backup*.zip
**/*backup*.gz
**/*backup*.tmp
**/*updraft*.zip
**/*back-up*.zip
**/wp-content/cache
**/.well-known/acme-challenge
 
Hello!

1. Create subscription with default document root
------------------------------------------------------------------------
root@a10-52-31-63 httpdocs]# pwd
/var/www/vhosts/d1.a10-52-31-63.qa.plesk.ru/httpdocs
[root@a10-52-31-63 httpdocs]# ls do_not_packup_me
1 2 3
[root@a10-52-31-63 httpdocs]#

------------------------------------------------------------------------
2. Want to exclude from backup /var/www/vhosts/d1.a10-52-31-63.qa.plesk.ru/httpdocs/do_not_packup_me/2
3. Go to Home > Tools & Settings > Back Up the Server and click "Exclude specific files from the backup", type "/httpdocs/do_not_packup_me/2"
4. Perform server backup
5. Check backup content:
[root@a10-52-31-63 d1.a10-52-31-63.qa.plesk.ru]# tar -tzf backup_user-data_1910031034_1910031331.tgz | grep do_not_packup_me
httpdocs/do_not_packup_me/
httpdocs/do_not_packup_me/1
httpdocs/do_not_packup_me/3
[root@a10-52-31-63 d1.a10-52-31-63.qa.plesk.ru]#

As U can see exclude element "/httpdocs/do_not_packup_me/2" is missed in archive.
 
but, what about if i migrate from cpanel? all my content is here for example: /var/www/vhosts/panamahitradio.net/public_html/*

i need to exclude that domain from backup. How i do it?

thank you
 
Back
Top