Links shouldn't vanish if the database gets recreated. Maybe dump them into files in a "link" directory instead