• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Exclude folder from backup

RafaelH

New Pleskian
Hi,

I'm new to Plesk and already have a little problem I can't solve by searching the web. My Plesk Panel 11.0.9 Update #26 is running on a dedicated Debian 6.0.6 server and works all fine, but I'm having some issues with the backups.
I'm doing backups using the standard build in GUI backup manager. Everything works fine, even the cron job which copies the backup files every night to a second location. The problem I'm having is, that I can't specify folders to exclude from the backup. The reason why I need this is, that I have a 24TB RAID mounted in the /var/www/vhosts/mydomain.com folder and this will be a problem once the RAID is filling up.
Is there any way to solve my issue? I took a look on the commandline utility pleskbackup, but couldn't find a solution there as well.

Thanks very much!

Rafael
 
There is no possibility to exclude files/directories from backup not with GUI and not with CLI backup utility. You can exclude only whole domains/clients.
 
How to exclude whole domains/clients?

There is no possibility to exclude files/directories from backup not with GUI and not with CLI backup utility. You can exclude only whole domains/clients.

On that last bit "... You can exclude only whole domains/clients", how exactly can I do this? Thank you!
 
# /usr/local/psa/bin/pleskbackup --help
# /usr/local/psa/bin/pleskrestore --help

Available options:
-level <clients | domains | resellers | server>
Specifies restoring level: restore
clients from backup, domains from
backup or server-wide backup.
 
Btw, what folders are included in the Plesk backup? I have a 10 GB backup tar file, and can't easily download it and extract to find out myself.

I was wandering if /var/www/vhosts/something_important would be backed-up? In that case I would place some important files into this folder.

Thanks for help.
 
I would suggest to backup only the configuration and not the content, if you have domains with large contents. The string "-c" defines such an option and you can as well exclude domains with a string ( --exclude-domain=EXAMPLE_DOMAIN_1,EXAMPLE_DOMAIN_2, ... ) and make a separat backup for these domains with the global string "domains-name EXAMPLE_DOMAIN_1"

Please use the command "/usr/local/psa/bin/pleskbackup --help" for all possible options with pleskbackup.
 
Thanks, but that doesn't answer my question.
I was wandering if /var/www/vhosts/something_important would be backed-up?
If yes, then I would copy some important files to this folder, and I would be sure it's backed up.

I would appreciate very much if someone could answer if the complete vhosts folder ends up inside the backup?
 
Back
Top