What can I use to save/restore Safari's history?
Safari history is stored in an SQLite database located at 

~/Library/Safari/History.db


You can copy this file elsewhere to save it, then restore it by copying it over the top of the existing file (while Safari is quit).