• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk backups not being removed from /tmp

Slavik

Basic Pleskian
As title.

Each day im havng to remove 5gb+ of "dump" tars from the /tmp directory to stop it filling up

Rather annoying.

Any suggestions?
 
Have you set the number of backup files that can be saved on server or ftp resp in backup settings ...
Also: what do you have for grep "dump" /etc/psa/psa.conf

The worst case senario is to create a cron that deletes those files for you automatically :)
 
Have you set the number of backup files that can be saved on server or ftp resp in backup settings ...
Also: what do you have for grep "dump" /etc/psa/psa.conf

The worst case senario is to create a cron that deletes those files for you automatically :)


DUMP_D /var/lib/psa/dumps


The dumps directory is working fine, however it just seems to not remove files from the /tmp when done.
 
Well, set a cron to delete those files automatically everyday say at 9AM or earlier! Do you need help with that?
 
The cron-job below will execute at 8:30am on every day of every month.

Login to SHELL of your server:

crontab -e

and add the following line:

30 8 * * * /bin/rm -fdr /tmp/*

BTW: I hope by temp folder you meant /tmp/ right? if NOT then just replace that folder with the one you meant. If you still need help doing that, let me know!
 
Back
Top