Error during the restoration of backup: Repository error: File has wrong format

Created:

2017-05-27 12:13:11 UTC

Modified:

2017-08-16 17:25:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error during the restoration of backup: Repository error: File has wrong format

Applicable to:

  • Plesk Onyx for Linux

Symptoms

The restoration of backup fails with following error:

Warning: Restore domain "example.com"
Repository error: File has wrong format
# file /var/lib/psa/dumps/clients/example/domains/example.com/backup_logs_1705200405_1705260405.tar
/var/lib/psa/dumps/clients/intermetalplast/domains/example.com/backup_logs_1705200405_1705260405.tar: data

Cause

This is Plesk bug # PPPM-6351 which will be fixed in one of the future updates.

Resolution

As a workaround :

1. Back up the files /usr/local/psa/admin/sbin/deployer and /usr/local/psa/admin/sbin/pmm-ras :

# cp /usr/local/psa/admin/sbin/deployer /usr/local/psa/admin/sbin/deployer.orig
# cp /usr/local/psa/admin/sbin/pmm-ras /usr/local/psa/admin/sbin/pmm-ras.orig

2. Download the attachment 1 and attachment 2

3. Replace files mentioned on the step 1 with the downloaded ones.

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.