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.
Â
Â
To increase verbosity for scheduled Plesk backups, enable the verbose_scheduled_backup_logs
parameter in the Plesk database using the following command:
-
To enable debug, run:
# plesk db “REPLACE INTO misc (param,val) VALUES (‘verbose_scheduled_backup_logs’, ‘true’)”
Warning: It is strongly recommended to disable verbosity once the troubleshooting is finished.
-
To turn debug off, run:
# plesk db “DELETE FROM misc WHERE param=’verbose_scheduled_backup_logs'”
Â
Â
Add one or more verbose -v
options to the command.
For example, the following commands will back up the whole server with maximum verbosity in logs and output in a command-line interface:
-
on Linux:
# /usr/local/psa/bin/pleskbackup server -vvvvv
-
on Windows Server, multiple verbose options cannot be joined and have to be specified separately:
C:> “%plesk_cli%pleskbackup” –server -v -v -v -v -v
Â
Â
In addition to debug mode mentioned above, enable debug mode:
-
Open the
pmmcli-rc
file 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_LOG
parameter 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.
Â
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%PMMlogs
-
Additional logs:
,
%plesk_dir%PMMlogspmmcli.log
%plesk_dir%PMMlogspmmcli_daemon.log
-