How to enable debug mode for Plesk backup operations

Created:

2016-11-16 12:49:49 UTC

Modified:

2017-08-16 18:30:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to enable debug mode for Plesk backup operations

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

Symptoms

Logging of Plesk backup procedure is not very detailed. How to increase its verbosity?

Resolution

  1. For backup tasks run from the Control Panel:

    Nothing needs to be done. Logs are collected with the -debug switch by default for such tasks.

  2. For scheduled backups:

    To increase verbosity for scheduled backups parameter verbose_scheduled_backup_logs should 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';
  3. For command line pleskbackup utility:

    Add one or more verbose -v options 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
Have more questions? Submit a request
Please sign in to leave a comment.