My favicons are erased every time I just quit Safari
I have a daily back-up of my start-up drive. I went and took back yesterday's file called WebpageIcons.db, located in User/Library/Safari/.
Copied the file to the same location on the original drive thus replacing the corrupt one, now all the favicons are back like they were yesterday.
Retrieving data ...