GDLauncher logo

How to Back Up GDLauncher Before Formatting Your PC

Back up all GDLauncher data (instances, saves, accounts, Java, settings) before reformatting your computer or moving to a new machine, then restore it without losing progress.

Updated: May 2026

What you actually need to back up

One folder: the runtime path. Inside it lives every instance (with mods, saves, configs, screenshots, world data), the shared Minecraft assets, the shared libraries, the Java runtimes GDLauncher downloaded for you, the launcher's SQLite database (gdl_conf.db) with your accounts and settings, and the app-wide logs under __gdl_logs__/. Back up that folder and you have everything that matters.

You don't need to back up Electron's own data folder. It only holds things the launcher rebuilds on first run: window position, internal caches, that sort of thing. Skipping it costs you nothing.

Finding your runtime path

Easiest way: open GDLauncher, go to Settings → Runtime Path, and copy the path shown. That's the source of truth, whether you ever moved it or not.

If GDLauncher won't open (drive dying, OS broken), the default location is:

  • Windows: %APPDATA%\gdlauncher_carbon\data (paste that into Win+R or the Explorer address bar).
  • macOS: ~/Library/Application Support/gdlauncher_carbon/data (Finder → Cmd+Shift+G, paste, Enter).
  • Linux: ~/.local/share/gdlauncher_carbon/data (or $XDG_DATA_HOME/gdlauncher_carbon/data if you set XDG_DATA_HOME).

If you ever moved the runtime path through Settings, the default folder above will be missing or empty, and a file called runtime_path_override next to it will point to the real location. Open that file with any text editor; its single line is the absolute path to your runtime data.

Doing the backup

Close GDLauncher first. The SQLite database in the runtime path is safe to copy when the launcher is closed but can produce a corrupt copy if you grab it while the launcher is writing to it.

Then copy the runtime path folder, with its structure intact, to wherever you want the backup. Another drive, a USB stick, a NAS, an offline cloud archive, the destination doesn't matter as long as it's not the drive you're about to wipe.

Restoring after the format

On the fresh OS:

  1. Install GDLauncher. Run it once and close it, this creates the default folders.
  2. Copy your backed-up runtime path folder to its final location on the new system. It can be the same drive/path as before, or somewhere new (e.g. a bigger drive).
  3. Reopen GDLauncher. Go to Settings → Runtime Path and point it at the folder you just restored. When you target a folder that already contains valid GDLauncher data, the launcher detects it and switches over without copying or duplicating anything.
  4. Restart the launcher. Your instances, accounts, settings, and Java installs are all back.

What's in the backup vs what isn't

Preserved by backing up the runtime path:

  • Every instance: mods, configs, save worlds, screenshots, resource packs, shader packs, datapacks.
  • Signed-in Microsoft accounts (stored in the launcher database, with tokens). They may need to refresh on first launch but you won't have to sign in again.
  • Settings: theme, language, default Java args, default memory, runtime path itself.
  • Java installations downloaded by GDLauncher. You can skip these and let GDLauncher re-download on first launch, faster backup at the cost of a one-time download.
  • App-wide and per-instance logs.

Not preserved (and you don't need them):

  • Electron window state (size, position). The launcher just picks new defaults.
  • OS-level keychain entries, GDLauncher uses its own DB for accounts.

Minimum backup if you're short on space

If you can't fit the whole runtime path, copy just <runtime_path>/instances/ and <runtime_path>/gdl_conf.db. Instances contain your worlds and configs, the database contains your accounts and settings. You'll lose the cached Minecraft assets, libraries, and Java installs, but those re-download on first launch.

For an absolute floor, copy each instance's instance/saves/ subfolder. That's just your world files. You'll lose the instance configuration itself (mod list, version, modloader) but the world data survives and can be loaded into a freshly created instance later.

If you also want to switch drives or PCs, not just format

Same backup, restore on the new machine. GDLauncher's runtime data is cross-platform-friendly for the same OS family. Moving Windows → Windows or Linux → Linux works directly. Moving Windows ↔ macOS ↔ Linux works for worlds, configs, resource packs, and most mods, but the launcher will re-detect Java (different binaries per OS) and may need to redownload native libraries on first launch.

See also: Move GDLauncher's Data to Another Drive for the in-app way to relocate data without manual copy/paste.

Don't sync the runtime path while playing

OneDrive, iCloud, Dropbox, Google Drive desktop, etc. compete with GDLauncher for file handles. After you restore, do not put the runtime path inside a folder these tools are actively syncing, you'll see "file in use" errors and occasional save corruption. Keep the runtime path on a regular local drive and back it up separately.

Ready to Try GDLauncher?

Download GDLauncher and start playing modded Minecraft in minutes. One-click install for modpacks, mods, and more.

Download GDLauncher