I`m trying to reconfigure ispconfig 3 from a backup. After running "mysql -u root -p dbispconfig < ispconfig_db_backup.sql" i get this error "ERROR 1146 (42S02) at line 22: Table 'dbispconfig.aps_instances' doesn't exist". I have tried seeding tables and then empty info and the run backup still same error. Any help will be appreciated.
Posts: 31,892
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
Seems as if you try to restore a backup from ISPConfig 3.0.5 into older version or in orher words, you are currently doing a downgrade which will not work. For the restore, the same version or a newer version of ISPConfig has to be installed on the server.
Thanks for quick reply i updated ispconfig to 3.0.5 and when i run backup now i get "ERROR 1062 (23000) at line 51: Duplicate entry '1' for key 'PRIMARY'."
Posts: 31,892
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
1) Create a backup of the current database
2) Empty all tables in the database (just empty them and do not delete them) before you restore the backup. You can do this e.g. from within phpmyadmin.
3) Restore the sql backup file.
Recent comments
47 min 2 sec ago
10 hours 14 min ago
11 hours 4 min ago
14 hours 37 min ago
19 hours 1 min ago
19 hours 23 min ago
21 hours 33 min ago
1 day 7 hours ago
1 day 12 hours ago
1 day 13 hours ago