- Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup System #122
Comments
gdgsdg123 commented Nov 22, 2018
history: bookmarks: chrome flags & settings: |
Thank you very much for the precious information, if only I had known a bit of programming languages I would have implemented the backup system by myself and then created a pull request. |
gdgsdg123 commented Nov 23, 2018
Just manually back them up/restore with any adequate explorer, actually... |
Yeah, I already know that, I simply think that adding such a feature with a proper UI could make the app go in the top 5 or something like that |
madranet commented Apr 24, 2019
Thanks. This is good for helping back up an existing Kiwi config and restoring it. But doesn't address importing data from another browser. Please don't fall into the trap so many developers do of bringing out a new product and expecting people to migrate to it without being able to bring their existing data over from your rivals, who they've been [more or less] happily using for years. Doesn't directly affect me as I have my bookmarks stored on pinboard. But a lot of folks will have years worth of bookmarks and history stored in |
I think this is a quite worth of attention denotation, it now is so more than ever since Kiwi Browser developer even has brought Chrome extensions support. |
In case anybody may ever need it, here I leave the "opened tabs" path, which has recently been tested by me. opened tabs: Moreover I'd say we don't need the bookmarks path since we have the bookmark im/export feature. |
gdgsdg123 commented May 15, 2019
Prefer doing so by modifying the files anyway... |
While this may work, it does require you to have root. I tried using the "Extensions" tab to manually go inside its folder (since it would have access), but it didn't work. |
elig0n commented Jul 21, 2022
Is there a way to backup the extensions list or the extensions with their configs collectively ? |
An (relatively) easy way this could be implemented is to save all your data to |
Thank you @gdgsdg123 and @NotesOfReality. Luckily I have root. For saved passwords, |
Vojtak42 commented Dec 29, 2022
This would be really useful. |
Vojtak42 commented Dec 29, 2022
But without root you don't have access there. Please implement feature like Termux has so you can access all of it's files even without root |
Ibuprophen commented Dec 29, 2022
This appears (to me) very similar to the #728 issue I had submitted quite some time ago without any resolution thus far. ~Ibuprophen |
zpangwin commented Jun 12, 2023
Since #845 was just closed with the message:
I would like to request that whatever backup method is added also support exporting to a browser-neutral format (such as .html or txt) for the currently opened tabs as the main ask in #845 was to be able to have something that could allow exporting currently opened tabs from kiwi in a format that could be opened on desktop browsers without requiring cloud services. |
Very important. Also necessary for switching from a non-rooted to a new phone. Without proper data portability, it is de-facto impossible to bring the tabs and history and bookmarks and (depending on browser) saved pages to a new phone. Individually copying and pasting a thousand URLs or depending on cloud services that can go defunct any day without warning are obviously impractical. I believe that one can only really own a smartphone, and a tablet for that matter, if it is rooted. Without root access, there are so many crippling restrictions, especially regarding file access. The data can not even be backed up properly! And backups are highly important! |
Nichtraucher commented Jan 7, 2024
I'm not sure why the devs decided to not allow backups. If data safety is a concern, there is a way to back up data safely if it's encrypted. . Many thanks to the developers for their efforts! :-D |
I have looked into the files. They have some gibberish when I tried using cat directly. |
FYI, both bookmarking all tabs and sharing all tabs as a simple text list are implemented in Brave for Android (I tested, both work). It seems this is simply because Brave merged in the latest chromium release. Note that exporting to bookmarks seem to work with an arbitrary number of tabs, whereas exporting to a list is limited and may crash (likely because of a memory overflow since it attempts to store in the clipboard). Brave does not support extensions. Until an on-device solution is implemented by the developer, I think the most reliable non-root approach is by using the remote debug tools (but note I did not try this myself, but I can't see why it would not work). |
FYI I could get a list of opened tabs using the method described here. Summary:
/EDIT: this only displays the recent tabs of the current session that are still in-memory, this does NOT solve the issue of exporting past tabs that are not loaded in-memory. Here are a list of extensions that can do the same (exporting currently opened tabs) that work in Kiwi:
|
After some fiddling, I found the really working and future-proof way to export really all tabs. The future-proof non-root method to export all tabs from Kiwi browser, including past, memory-unloaded ones, is to enable Developer Mode on the Android phone, then enable USB Debugging on the phone, then connect it to a computer via USB, and then on the computer launche Chrome and open the page Now if Kiwi could just get synced with the latest chromium for Android features, it would support selecting all tabs in the tabs menu and then bookmarking/export as Brave and Vivaldi browsers can. But personally this solution will allow me to use Kiwi in the meantime as I can backup all my tabs this way, even if it is a bit cumbersome. |
There is (perhaps) a backup method - limited to Android versions 11 and below though. I didn't quite figure it out and asked about it on reddit here |
lrq3000 commented Apr 21, 2024
@Nichtraucher I did not know about this flag, I'm not sure it really exists since a long time, the post that was linked to is from 2013. Either way, it is unfortunately not a future-proof or even present-proof method, since modern Android releases make it very difficult for apps to store their data outside of their isolated folder, and its very difficult to access them, you need root or to use adb. A flag is certainly not sufficient anymore to allow external access to an app's files, I know I worked on several apps to implement backup features that got broken since Android 10. |
To export all the URLs of open browser tabs in Kiwi on your Android phone using the I tested this procedure with Kiwi Browser running under Android 14 on my Samsung Galaxy S22 Ultra, connected via USB to my Windows 10 PC. Prerequisites:
Steps:
# Load the JSON file
$json = Get-Content -Raw -Path "kiwi_tabs.json" | ConvertFrom-Json
# Filter out entries where 'id' is not a numerical value and sort by 'id' numerically
$filteredSortedJson = $json | Where-Object { $_.id -match '^\d+$' } | Sort-Object { [int]$_.id }
# Initialize a counter for the incrementing number
$counter = 1
# Process each entry and format the output
$output = $filteredSortedJson | ForEach-Object {
"$counter"
$_.title
$_.url
""
$counter++
}
# Output the result to the console or save to a file
$output | Out-File -FilePath "kiwi_tabs.txt" -Encoding utf8 Explanation:
Running the Script:
This will create an
The entries with non-numerical
These commands will stop ADB from forwarding the specified ports, effectively stopping the remote debugging connection you established earlier. |
lrq3000 commented Aug 13, 2024
@vlasky did you try yourself the instructions you gave? So far all approaches involving adb only exported opened tabs during the current session, but not tabs open during previous sessions when the browser got closed after, before the attempt to backup. I have found no way to achieve this so far on a non-rooted phone, it seems newer versions of Android isolate apps databases including past browser history, even from browser extensions, maybe as a way to safeguard privacy. |
@lrq3000 I certainly did. I exported 3000 tabs. |
Vojtak42 commented Aug 13, 2024
I used auto clicker to swipe throught all the tabs and then exported it using session buddy. |
Could you please add as a new feature a backup/restore system?
I would like it to mainly backup opened tabs, web navigation history, bookmarks and chrome flags and maybe settings.
The possibility to choose what part of the backup may be restored and to view its content would be useful.
The backup should be made by creating a file (I guess it should be a text type) and nothing more.
At anyway your speed hacks are crazy, my best compliments because this is the snappiest chromium build I've tried since maybe four years of various experiments with other chromium and non-chromium browsers.