Lost Connection and then wiped off all my chat history

Hey, thanks for the report. Sorry you ran into this.

This is a known bug the team is working on. Unfortunately, once it happens, recovery isn’t possible through the usual methods.

That said, please try this:

  1. Fully close Cursor
  2. Go to %APPDATA%\Cursor\User\globalStorage\
  3. Check if there’s a file named state.vscdb.backup
  4. If it exists, make a copy of the current state.vscdb, then replace it with state.vscdb
  5. Start Cursor again

One user reported that this helped restore their history:

For the future:

  • Export important chats regularly (three dots at the top of the chat → Export Chat)
  • Consider using the SpecStory extension for automatic exports
  • Make sure you have enough free disk space before updates

Let me know if the backup file helped.