First off, I changed your thread title since It had little info on exactly what you are asking. Please use more descriptive titles in the future.
From Time Machine, I believe the files are in ~/Library/Safari and you need to restore Bookmarks.plist .
An other option is to sync your bookmarks to an iOS device, and use that to restore them back, that is if you still have access to your system.