IMHO, the folder to back up routinely, is the BraveSoftware folder.
Your wrote:
~/.config/brave
But I have always thought that the directory (and its sub-folder(s)) is(are) on Linux OS:
~/.config/BraveSoftware /Brave-Browser/
Anyway, on Mac OS:
/Users/[your_user_shortname]/Library/Application Support/BraveSoftware /Brave-Browser/
And, on Windows OS:
C:\Users\[username]\AppData\Local\BraveSoftware \Brave-Browser\
I recommend backing up the BraveSoftware folder every 24 hours.
Where “preferences” are stored, depends upon which Profile or Profiles are important to you.
Sometimes, you may see the following method of writing a Windows OS path:
NOTE: %LOCALAPPDATA% is a substitute for the beginning portion:
C:\Users\your_username\AppData\Local
Bookmarks and Bookmarks.bak files location:
%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Bookmarks
%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Bookmarks.bak
If you create 1 additional Profile (aka Profile 2), it will be stored in (carefully notice the folder name is different ):
C:\Users[UserName]\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 1\
If you create a 2nd additional Profile (aka Profile 3), it will be stored in
C:\Users[UserName]\AppData\Local\BraveSoftware\Brave-Browser\User Data\Profile 2\
Repeating:
Initial Profile (aka “Default” or “Profile 1”): C:\ . . . \BraveSoftware\Brave-Browser\User Data\Default
1st Additional Profile (aka “Profile 2”): C:\ . . . \BraveSoftware\Brave-Browser\User Data\Profile 1
2nd Additional Profile (aka “Profile 3”): C:\ . . . \BraveSoftware\Brave-Browser\User Data\Profile 2\
If you create a Guest Profile (or there already is a Guest Profile), it will be stored in:
C:\Users[UserName]\AppData\Local\BraveSoftware\Brave-Browser\User Data\Guest Profile\
About a project to make “a hard backup of Brave Browser settings”
opened 01:11AM - 20 Oct 24 UTC
closed 06:26PM - 21 Oct 24 UTC
feature-request
### Platforms
Linux, macOS, Windows
### Description
On the `brave://settings`… page, there could be a button that says export. Clicking it would download a file with all the user's settings in it.
There would also be a import button, and when the user presses it prompts them to open the settings file that was exported earlier. After the file gets imported, all the settings on that profile would match the settings described in the file.
This would make configuring brave on a new profile or new machine a lot less annoying.
And, there is GoodSync:
https://www.goodsync.com/platforms