Fix false alarm mismatch on check command.

check command check key amount first, and init leveldb_data inside
for loop to avoid reuse leveldb_data.
add restore_all command