Some backup/restore actions, depending on the options you select (esp when choosing MySQL Compatibility modes), can lose your autoincrement settings.

You can restore those by manually running the zc_install/sql/db_rebuild_autoincrement.sql script to repair the known ones.