• 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.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved Is it safe to empty dumps directory?

zakaria

Basic Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
Plesk Obsidian 18.0.52 Update #3
hello, hope everyone is doing well.

I recently had a problem with my Plesk server running out of disk space and was looking for ways to clean it up so it doesn't happen again.

and I found this directory dumps occupying 80 Gb of disk space located at /var/lib/psa/dumps.

in this directory there's another directory named domains within it there're directories for the current domains I have that are live and online none of these were deleted

so, I was wondering how safe it is to empty this directory and will it affect my domains?
 
Deleting the directory will prohibit locally stored backups and remove all locally stored backups sets. If you have 80 GB of disk space occupied there, only a small portion is from system backups, e.g. daily SQL dumps. The major part, probably 79 out of 80 GB are local backups. These have either been created by the admin as full server backups or they were created by subscribers from within their accounts using the option to store backups locally. I discourage removing the directory completely. It will prohibit important system backups. Instead, try configuring the backup routines so that backups are stored remotely.

Some users also add a hard drive just for backups. You can mount it as a new path and then configure psa.conf to point to that new backup location as described in https://support.plesk.com/hc/en-us/...tion-for-Plesk-backup-files-on-a-Linux-server

By experience, most users prefer local backups, because they are faster when created and faster to restore and users do not need an extra FTP or cloud storage space elsewhere. The disadvantage is that such backups clog-up your server and if your hard disk breaks, backsup are lost, too. Also by experience I advise to invest into the Plesk Backup Cloud Pro extension to give users several options where to store their backups in the cloud.
 
thanks for all the great information, I wasn't going to remove dumps directory just it content.
I'm the only user and I already configured the backup to be stored remotely via FTPS and there're currently no local updates.
the biggest file is in one of the domains named backup_user-data_2306060011.tzst the second biggest is backup_domainmail_2306060011.tzst
if I remove the domains directory will the system create it again if needed or should I remove only the files within every domain directory?
 
Back
Top