Question
How to change the time to keep Plesk backup session logs?
Answer
-
Connect to a Plesk server via SSH.
-
Open the
pmmcli-rc
file in a text editor. In this example, we are using the vi editor:# vi /usr/local/psa/admin/share/pmmcli/pmmcli-rc
-
In Plesk Obsidian, first create the
pmmcli-rc
file out ofpmmcli-rc.sample
:# cp /usr/local/psa/admin/share/pmmcli/pmmcli-rc.sample /usr/local/psa/admin/share/pmmcli/pmmcli-rc
-
-
Find the
DAYS_TO_KEEP_SESSIONS
parameter and change its value to a required number of days. The default value is 30 days.DAYS_TO_KEEP_SESSIONS 30
-
Save the changes and close the file.
-
Connect to a Plesk server via RDP.
-
Open the
%plesk_dir%adminsharepmmclipmmcli-rc
file in Notepad (just paste this path in Windows Explorer to open).-
In Plesk Obsidian, first create the
pmmcli-rc
file out ofpmmcli-rc.sample
:
-
-
Find the
DAYS_TO_KEEP_SESSIONS
parameter and change its value to a required number of days. The default value is 30 days.DAYS_TO_KEEP_SESSIONS 30
-
Save the changes and close the file.