• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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