Applicable to:
- Plesk Onyx 17.0 for Linux
Note: This article has the reference to the issue with the fix available:
- #PPPM-8168 "Fixed the issue where orphaned backup sessions were not removed."
Fixed in:- Plesk Onyx 17.8.11 Update 6 23 April 2018
- Plesk Onyx 17.5.3 Update 44 02 April 2018
Symptoms
- A root partition fills with orphaned backup session files
- Backup session files older than 30 days are not removed from
/usr/local/psa/PMM/sessions
. -
/usr/local/psa/admin/share/pmmcli/pmmcli-rc
has theDAYS_TO_KEEP_SESSIONS
set to 30# grep DAYS_TO_KEEP_SESSIO /usr/local/psa/admin/share/pmmcli/pmmcli-rc
DAYS_TO_KEEP_SESSIONS 30
Cause
Plesk product bug #PPPM-8168 that has been fixed in Plesk Onyx 17.5.3 MU #44
Resolution
Upgrade to Plesk Onyx 17.5.3 Update 44
If the upgrade is not possible use the one of the workarounds below:
For Plesk Onyx 17.0 only
-
Connect to the server via SSH
-
Execute the following:
# mv /usr/local/psa/admin/share/pmmcli/pmmcli_daemon_actions.py{,.orig}
# wget https://plesk.zendesk.com/hc/article_attachments/360002630294/pmmcli_daemon_actions.tar
# tar xf pmmcli_daemon_actions.tar -C /usr/local/psa/admin/share/pmmcli/
For other Plesk versions the following workaround can be used:
-
Find stale backup session files older than number of days defined in
pmmcli-rc
and delete them# find /usr/local/psa/PMM/sessions/ -maxdepth 1 -type d -mtime +$(grep DAYS_TO_KEEP_SESSIONS /usr/local/psa/admin/share/pmmcli/pmmcli-rc | cut -f2 -d ' ') | xargs rm -rf
Comments
0 comments
Please sign in to leave a comment.