Sounds like you are restoring a backup into your live database instead of restoring it into a fresh instance where you can be assured of the state of the database. It’s best practice where a database instance costs you practically nothing.
Good point and I've removed the user/host part, but the session part is relevant. With Compose's Write Stuff programme (compose.io/write-stuff) we try to retain the contributing authors content and styling as far as possible.