- Plesk for Windows
- Plesk for Linux
Logging of Plesk backup procedure is not very detailed. How to increase its verbosity?
For backup tasks run from the Control Panel:
Nothing needs to be done. Logs are collected with the
-debugswitch by default for such tasks.
For scheduled backups:
To increase verbosity for scheduled backups parameter
verbose_scheduled_backup_logsshould be enabled in Plesk database:
mysql> replace into misc (param,val) values ('verbose_scheduled_backup_logs', 'true');
Warning : As with any other log file, it is strongly recommended that you disable verbosity once you have finished troubleshooting the issue. Otherwise, you may quickly run out of free disk space, which will in turn lead to data loss and service downtime. Server performance will be affected as well. Run the following command to turn the verbosity off:
mysql> delete from misc where param='verbose_scheduled_backup_logs';
For command line
Add one or more verbose
-voptions to the backup command.
For example, the below commands will back up the whole server with maximum verbosity in logs and the command line:
# /usr/local/psa/bin/pleskbackup server -vvvvv
On Windows, multiple verbose options cannot be joined and has to be specified separately:
"%plesk_cli%\\pleskbackup" --server -v -v -v -v -v