Persistent backup file warning on every launch

Resolved 💬 3 comments Opened Feb 26, 2026 by icebear0828 Closed Mar 3, 2026

Description

On every launch, Claude Code displays a distracting warning about a backup file:

A backup file exists at: C:\Users\<user>\.claude\backups\.claude.json.backup.1772125532408
You can manually restore it by running: cp "C:\Users\<user>\.claude\backups\.claude.json.backup.1772125532408" "C:\Users\<user>\.claude.json"

This message appears repeatedly across sessions even when nothing is wrong with the config. It seems like the backup is created during normal config read/write and the warning is never cleared automatically.

Expected behavior

  • Backup files from normal operation should be cleaned up automatically, or
  • The warning should only appear if the config file is actually corrupted/missing, not on every launch

Environment

  • OS: Windows 11 Pro (10.0.26200)
  • Claude Code: latest
  • Shell: bash (Git Bash)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗