How to Back Up a Brave Browser Profile on Linux

To back up a Brave browser profile on Linux, close Brave, archive the complete user-data folder, and encrypt the archive before moving it to another drive or cloud account. The default folder is usually ~/.config/Brave-browser, but check Brave’s active profile path first because custom launch settings and alternate builds can use another location.

This guide covers desktop Brave on Linux. The Windows and macOS profile paths are different.

Find the correct Brave data folder

Open brave://version in Brave and look for Profile Path. If it ends in /Default or another profile name, the full data folder is the parent directory one level above it. For example, /home/alex/.config/Brave-browser/Default belongs to the data folder /home/alex/.config/Brave-browser. Brave’s current help page lists ~/.config/Brave-browser as the Linux user-data folder; use the path shown in your own browser if it differs. Brave’s data-folder guidance lists the platform paths.

Brave’s brave://version page shows the Profile Path for the active Linux profile.
Open brave://version and note the Profile Path before selecting the Brave data folder.

Back up and encrypt the profile

  1. Quit Brave completely. Close every browser window and wait for Brave to finish writing its profile files. Do not archive a profile while the browser is running.
  2. Confirm the folder in a terminal. Open Terminal and run:
    cd ~/.config
    ls
    For the default installation, the listing should include Brave-browser. If it does not, go back to brave://version and use the actual data folder in the commands below.
    A Linux terminal listing Brave-browser inside the hidden .config folder.
    Confirm that Brave-browser appears in ~/.config before creating the archive.
  3. Create a compressed archive. For the default folder, run:
    tar -czf "$HOME/brave-profile-backup.tar.gz" -C "$HOME/.config" Brave-browser
    This stores the whole Brave-browser directory, including profile folders and the adjacent browser state file. If your data folder has a different name or parent, replace ~/.config and Brave-browser with its parent and folder name. The -C option changes the directory tar reads from; the final argument is the folder to archive. See the GNU tar documentation for -C.
    A Linux terminal running tar to create brave-profile-backup.tar.gz from Brave-browser.
    Create a compressed archive of the complete Brave data folder.
  4. Encrypt the archive with GPG. Run:
    gpg -c "$HOME/brave-profile-backup.tar.gz"
    Enter a strong, unique passphrase and keep it somewhere separate from the backup. GPG creates brave-profile-backup.tar.gz.gpg. The GnuPG manual documents -c as symmetric encryption with a passphrase.
    A Linux terminal prompting for a passphrase while GPG encrypts the Brave profile archive.
    Encrypt the archive with a strong passphrase before sending it elsewhere.

Before removing the unencrypted .tar.gz, verify the encrypted file exists and can be decrypted. You can test the passphrase without saving another plaintext copy with gpg --output /dev/null --decrypt "$HOME/brave-profile-backup.tar.gz.gpg". After a successful check, store the .gpg file on an external drive or in cloud storage. Do not upload the unencrypted archive. Deleting a plaintext file with rm removes its directory entry but is not a guaranteed secure erase on SSDs.

A Linux file manager showing brave-profile-backup.tar.gz.gpg and an external Backup Drive.
Keep the encrypted .gpg file on a separate drive or in secure cloud storage.

Restore the Brave profile

  1. Place the encrypted backup in your home folder. Copy brave-profile-backup.tar.gz.gpg from the external drive or cloud download into $HOME.
  2. Decrypt it. Run:
    gpg --output "$HOME/brave-profile-backup.tar.gz" --decrypt "$HOME/brave-profile-backup.tar.gz.gpg"
    Enter the same passphrase. Keep the decrypted archive private while you restore it.
    A Linux terminal decrypting the GPG archive and prompting for its passphrase.
    Decrypt the saved backup with the passphrase used when it was encrypted.
  3. Check the archive listing. Before extracting, run:
    tar -tzf "$HOME/brave-profile-backup.tar.gz" | head -20
    For the default backup, entries should begin with Brave-browser/. Stop if the listing is unexpected or the archive cannot be read.
    A Linux terminal listing Brave-browser and its Default profile files inside the tar.gz archive.
    Check that the archive contains the expected Brave-browser folder before extraction.
  4. Extract to the data folder’s parent. Make sure Brave is closed. On a fresh system, install Brave and open it once, then quit. Move any existing Brave-browser folder aside before extraction to avoid mixing files. Then run:
    tar -xzf "$HOME/brave-profile-backup.tar.gz" -C "$HOME/.config"
    If you used a custom data path, extract into its parent directory instead. Start Brave and confirm the expected profile, bookmarks, and settings appear. Remove the temporary decrypted archive when you are satisfied with the restore.
    A Linux terminal extracting the Brave-browser archive into the .config directory.
    Extract the archive to the parent directory of the Brave data folder.

What a profile copy may not restore

A file archive is useful for a rollback or recovery in the same Linux environment, but it is not a reliable way to move every protected item to another computer. Brave says Linux uses the desktop’s password-store backend to protect sensitive data, and copying a profile to another machine can make encrypted data unreadable. Keep the original machine’s access and recovery information until you have checked the restored profile. For moving selected data between devices, use Brave Sync; it syncs only the data types you enable and is not a full profile-folder backup. Keep the Sync code private.

If you only need bookmarks, Brave can export them as an HTML file from Bookmarks → Bookmarks Manager → More options → Export, as described in its import and export guide. Also keep any wallet recovery phrase separately; Brave warns that deleting the user-data folder can affect access to Rewards or Crypto wallet data. See its guidance on sensitive data storage before relying on a profile copy for a device migration.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.