Closed (duplicate)
Project:
Backup and Migrate
Version:
7.x-2.4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 00:50 UTC
Updated:
14 May 2013 at 18:41 UTC
I get the following error when I try to restore a backup.
PDOException: SQLSTATE[HY000]: General error: 1005 Can't create table 'ewt.dr_private_files_download_permission_directory_role' (errno: 150) in backup_migrate_destination_db_mysql->_restore_db_from_file() (line 198 of /var/www/ewt/sites/all/modules/backup_migrate/includes/destinations.db.mysql.inc).
Comments
Comment #1
ronan commentedThis is likely a foreign key constraint failing. That would make it a duplicate of: #1542274: Restore fails with foreign key constraint error (due to incorrect comment detection).