Question
How to enable debug mode for Plesk backup operations?
Answer
Nothing needs to be done. Logs are collected with debug mode enabled by default.
Enable debug mode in Plesk using the instructions from this KB article:
[debug]
; Enable debug mode (do not use in production environment)
enabled = on[log]
; Log messages verbosity level (from 0 to 7)
; 0 - only critical errors, 7 - all including debug messages, default - 3
filter.priority = 7; Enable logging of external utilities calls
show.util_exec = on; Enable logging of stdin and stdout for external utilities calls (do not use in production environment)
show.util_exec_io = onOpen the
pmmcli-rcfile in a text editor (create a new one if it does not exist):on Linux:
/usr/local/psa/admin/share/pmmcli/pmmcli-rc
on Windows Server:
C:Program Files (x86)Pleskadminsharepmmclipmmcli-rc
Change the value of the
FORCE_DEBUG_LOGparameter from 0 to 1:FORCE_DEBUG_LOG 1
Save the changes and close the file.
Warning: It is strongly recommended to disable debug (remove the line above from the file) once the troubleshooting is finished.
Add the verbose -v option to the command:
on Linux:
# /usr/local/psa/bin/pleskbackup server -v
on Windows Server:
C:> "%plesk_cli%pleskbackup" --server -v
Additional Information
Backup logs are located in the following directories:
on Linux:
-
/var/log/plesk/PMM/in Plesk Obsidian -
/usr/local/psa/PMM/logs/in Plesk Onyx
-
on Windows Server
%plesk_dir%PMMlogsAdditional logs:
,
%plesk_dir%PMMlogspmmcli.log
%plesk_dir%PMMlogspmmcli_daemon.log