db dump and restore subcommands