Plesk

Plesk backup rotation fails: ValueError: time data ‘1’ does not match format ‘%Y-%m-%d-%H%M%S’

Symptoms

Cause

This is a Plesk bug with ID #PPPM-10423 which will be fixed in future updates.

Note: Subscribe to this article to get notified once a fix will become available

Resolution

As a workaround:

  1. Connect to the server via SSH

  2. Create folder to back up the log files:

    # mkdir /root/backup-PPPM-10423

  3. Back up the log files:

    # cp -a /var/log/plesk/PMM/*.log* /root/backup-PPPM-10423

  4. Delete the logs from the original location:

    # rm -rf /var/log/plesk/PMM/*.log*

  5. Restart the server to make sure there aren't stuck or zombie processes running