saving db in hdd