Problem

Restoring/attaching a case backup/archive fails, and the log indicates "Case already exists with specified GUID"

 

Resolution

  1. In Windows Explorer, navigate to the backup/archive folder in question
  2. Open the contained Map.xml in a text editor (for a case archive, Map.xml will be inside the "DB f-0" folder)
  3. Locate the line
  4. Change the last character in the listed GUID (be sure to use a valid HEX character, 0-9 or a-f)
  5. Save the modified Map.xml
  6. Attempt to restore/attach the backup/archive again

 

Cause

There is already an existing case in the database with the same GUID as the one being restored/attached.