Fast backup/restore of local databases