I like to have my browser history span years back so I can look at things which may have interested me a long time ago. To pursue this desire, I have set Safari to remove history items "manually" under the General
tab in the Preferences
. I have done the same thing for download list items. My intent was (and is) to not remove history items ever and to keep Safari from doing it automatically.
This seemed to be working fine for a while, and I still have history which goes back more than a year. However, I have recently noticed that the oldest days in my history are disappearing. At first I wasn't sure, but after conducting some tests I am sure. It seems to happen randomly and infrequently. I think that the Safari window also loses focus when it happens.
I am not sure how or why this is happening. The only thing I can think of is that there may be some hard-coded limit in Safari itself. Or perhaps it purges old history items when it reaches a memory limit.
I see that my History.db
file is 80MiB in ls
output:
-rw-r--r-- 1 my_username staff 80M Dec 29 13:02 History.db
Is 80MiB some sort of implicit limit for Safari?
Another troubling facet of this issue is that I cannot export my Safari history to another browser. Both Chrome and Firefox refuse to import anything from Safari except bookmarks. Moreover, I do not have many backups of my Safari history. Although, backups would not help too much anyway since a backup would lack my recent history.
So how can I get Safari to stop losing my oldest history items?
Some environment info:
My Safari version is currently 11.0.2 on macOS 10.13.2. Also, I am not using iCloud integration with Safari.
EDIT:
At the time of the bounty on this question, I will also consider accepting answers which offer a way to export my history to another browser (preferably Firefox or Chrome).
HistoryAgeInDaysLimit
to999999
.