• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Restore of backup 7.0.1 fails on 7.0.1 and 7.0.3

S

svenson

Guest
The restore of a backup of a 7.0.1 system fails with the following error message:

Run-Time error: can't execute INSERT INTO siteappresources('type','app_id','res_id') values ('database','77','0'): MySql error 1062:Duplicate entry 'database-0' for key 1

We tried to restore on both clean installs of Windows 2003 with Plesk 7.0.1 and 7.0.3


I removed the Unique attribute on the siteappresource table to make the restore work, but I guess it's not the best way to solve this problem :)

Any ideas?
 
just open the backup and edit the database script causing the problem
 
Back
Top