Backups of browser and profile configurations

Description of the issue:
I periodically backup the browser’s global settings/customizations as well as those for every profile I’ve created. Backing up the directory~/.config/BraveSoftware/Brave-Browser (in Linux) achieves this but it includes the browser’s transient data and caches which are not needed to restore the browser’s configuration from a backup. The current size of these backups is almost 3GB which results in long, wasteful processes.

It would help to have a list of one or both of the following for the global settings/customizations as well as those of the profiles:

  • the directories and files needed to recreate the configuration from a backup;
  • the directories and files (containing transient data and caches) that can be excluded from the backups of ~/.config/BraveSoftware/Brave-Browser (or the equivalent in other operating systems).

How can this issue be reproduced?
NA

Expected result:
See Description.

Brave Version( check About Brave):
Version 1.78.102 Chromium: 136.0.7103.113 (Official Build) (64-bit)

Additional Information:
NA

@4slam

The du command will help you find the large items:

https://linuxconfig.org/Du

@289wk It won’t help just to know the sizes of items. I need to know what must be included in the backup and/or what can be excluded from it.