dump prefixes and complete hashes, dry run, select database by name