Again an APT update nuked my precious bookmarks

Again I forgot. This Brave browser on Ubuntu does a clean fresh install nuking all personal stuff like bookmarks. I lost my precious bookmarks since last export.
I consider to leave Brave.
To reproduce: do some bookmarks and then an APT UPDATE.
My personal bookmarks is mine and it is offensive that this happens. A proper browser should save secure the users bookmarks. Just to should respect for it’s users. Yes I am suffering.
19.4 GiB, Intel® Core™ i7-6600U CPU @ 2.60GHz × 4 , 1.0 TB, Ubuntu 20.04.3 LTS, 64-bit

Frank19335,

My suggestion:

The following requires your determination, your willingness to study, and to write down your every discovery that works, or not, so that you can map out an array of the settings that work for each website.

You will help yourself greatly, by becoming a master of all the settings at:

brave://settings/clearBrowserData

brave://settings/cookies

brave://settings/content

Please get into the habit of manually backing up your Bookmarks:

I wish I knew anything about Linux, but I’m lost since never even seen Linux in person. I kind of wish @Jacalz might be around to help since I know he is/was good with Linux. Haven’t seen him around for a while though, so not sure if he’s still with Brave or even on Brave Community.

That said, probably just going to have to see if @Mattches can offer a solution or at least pass this over to whoever might be able to fix this going forward (if it’s a matter of changing the APT around or something)

Only thing I’d really be able to suggest is setting up a Sync chain and having that in place. That should keep your bookmarks and all backed up. But I get you, updates shouldn’t be like fresh installs so there’s definitely work to be done.

An reply from a lazy Master and the angry owner the nuked bookmarks
An update of Brave Browser on Ubuntu performs a new install and performs a symbolic link (like Win: mlink) to the new install folder as the new production Brave Browser. Wupti your bookmarks are gone but still on disk. The old incarnations of Brave lays still on still in folders with nite scenting numbers. Now even a little bear with a small brain knows what to do. EnJoY!

To my knowledge, apt updates on Linux systems do not erase your data. If this is happening there may be another issue at play here. It would be helpful if you could provide the Brave version you’re using/updated from, any extensions you have installed, whether or not you’re using Brave Sync.

1 Like

Version 1.35.103 Chromium: 98.0.4758.102 (Official Build) (64-bit)

Sorry I am unclear, I was somewhat agitated due to the issue and the reaction in this community.
I am not acquainted with the diversity and do not FB, Twitter et.al.
This is where your end up looking for the current “bookmark.html”.
home/frank/snap/brave/current/.config/BraveSoftware/Brave-Browser/Default/Bookmarks
On Windows 10 it is /Users/“Your name”/AppData/Local/BraveSoftware/BraveBrowser/UserData/Default/Bookmarks
This is the incarnation of installations/updates on the my actual laptop running Ubuntu.
----8<------------------
drwxr-xr-x 3 frank frank 4096 Sep 8 2019 common
drwxr-xr-x 5 frank frank 4096 Dec 3 2019 62
drwxr-xr-x 5 frank frank 4096 Nov 9 22:12 136
drwxr-xr-x 5 frank frank 4096 Dec 9 07:08 139
drwxr-xr-x 5 frank frank 4096 Feb 4 17:24 143
drwxr-xr-x 5 frank frank 4096 Feb 10 10:42 144
lrwxrwxrwx 1 frank frank 3 Feb 17 07:56 current → 145
drwxr-xr-x 5 frank frank 4096 Feb 17 07:56 145
----8<------------------
When I get the next update the update will install a catalog 146, a fresh installation WITHOUT the bookmarks from
the previous installation. In my little brain I copied elevated Bookmarks from the previous inst.
It is not html. So true, Bookmarks is still on disk but is on windows owned by SYSTEM and not migrated to new installation.
I have not tried moving the linux symbolic link because I would warp! to an earlier version of Brave.
I do make hundreds of bookmarks a day. I have lost a lot of bookmarks since 2019.
I plan to do a DIFF on all bookmarks and merge. There is SW which is able to perform easy delta merges.
Some day I will do this, now I need a shave this morning. eNjOy!

Post Scriptum:
Scheduled Backup Bookmarks with AT? under Windows and CRONTAB under Linux/MacOS on before shutdown. Manual backup is not my way, I grow a beard too fast.

@justsomeone1 , @Jacalz , @Saoiray ,

Needs help:

@Frank19335 uses Linux, and is losing his Bookmarks collection, when “doing an APT update” of Brave Browser on his Linux OS machine.

@Frank19335 also has a Bookmarks collection on a Windows OS machine, but has not been able to migrate those Bookmarks over to his Linux OS machine.

2 Likes

Hello @Frank19335

i got that your issue that when you update brave your bookmark get lost am i right?

what i did not get what the windows doing here or you mean you have dual boot and you want to link both profile on both system or what?

first thing i notice is snap which is the worst thing happen in the linux world cause it buggy
so did you install brave in the first time using snap or using the command on this link

sudo apt install apt-transport-https curl

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list

sudo apt update

sudo apt install brave-browser

by the way installing it using this way will still get updated when you check for update for your os as normal

even snap is buggy i never heard it make the bookmark disappear
so the other questions is
when you open brave after update does all setting stay the same or you feel as if it a new profile ?

in the default profile there 2 files one called Bookmarks and the other is Bookmarks.bak so try to check Bookmarks.bak if it has your deleted bookmark (bth can be opened by you text editor)

as general rule it always good to backup any valuable data so you be ready when disaster happen

for

not sure if there change in file format but try to open the file with notepad in windows and if you see it opened then do one of those steps

  1. copy the bookmark file to the default profile folder
  2. if 1 did not work then go to the bookmark manager brave://bookmarks/ then click on the 3 vertical dots then export then in the linux do import

hope that help and have a nice day :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.