Skip to content

Feature request: Built-in backup and restore of the Copilot desktop app's projects, sessions, and settings (for reinstall / new PC) #6155

Backlog

Description

@taizoy0725

Describe the feature or problem you'd like to solve

The Copilot desktop app stores everything locally under ~/.copilot/ (Windows: %USERPROFILE%\.copilot\), but it has no user-facing backup or restore. After reinstalling Windows or moving to a new PC, the following are lost:

  • Registered projects and their links to sessions (data.db)
  • Session conversations, checkpoints, and artifacts (session-state/<id>/, session-store.db, chats/, attachments/)
  • Customize settings: custom instructions, installed and enabled plugins, MCP server config, and trusted folders (copilot-instructions.md, config.json, settings.json, mcp-config.json, installed-plugins/)

The only backup I found is data.db.pre-update-backup-*, which the app creates automatically before an update. It covers only data.db, stays on the same machine, and has no restore action in the app.

Copying the folder manually is not reliable:

  • data.db and session-store.db are SQLite databases in WAL mode. Copying them while the app is running can produce an inconsistent copy.
  • Session data spans several databases and folders that must stay consistent. Restoring only part of them can make sessions fail to load.
  • Paths that contain the user profile are stored inside the data.
  • Putting ~/.copilot in a synced folder such as OneDrive is risky because of active DB writes and many lock files.

Proposed solution

  1. Export: Create a single, consistent backup archive that includes projects, sessions, and Customize settings. Make it available from the app UI and the CLI (for example, copilot backup export).
  2. Import/restore: Restore that archive on a new or reinstalled machine. Rewrite paths for the new user profile, and keep or merge existing data.
  3. Scheduled backup (optional): Back up periodically to a folder chosen by the user.
  4. Exclude credentials: Leave out OAuth tokens such as mcp-oauth-config/, and ask the user to sign in again after restoring.

Related

Environment

  • OS: Windows
  • Copilot desktop app 1.5.x

Activity

  1. added
    intake-done
    and removed on Nov 25, 2026
  2. github-app-releaser commented on Nov 25, 2026

    @github-app-releaser
    Thank you for the report. The team is evaluating this request.

    Xref: github/github-app#31500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestintake-doneos:windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions