└────────────────────────────────────────┴───────────────────────────┘


Once you've identified the database, pass the `-d` parameter with the `SubjectUri` from the output above to the `db-dump` command:

```bash
dotnet run -- db-dump -d marten://store/ export_marten.sql
dotnet run -- db-dump -d wolverine://messages/main export_wolverine.sql

Disabling All Persistence

Let’s say that you want to use the command line tooling to generate OpenAPI documentation, but do so without Wolverine being able to connect to any external databases (or transports, and you’ll have to disable both for this to work). You can now do that with the option shown below as part of an Alba test:

using var host = await AlbaHost.For<WolverineWebApi.Program>(builder =>
{
    builder.ConfigureServices(services =>
    {
        // You probably have to do both
        services.DisableAllExternalWolverineTransports();
        services.DisableAllWolverineMessagePersistence();
    });
});

snippet source | anchor



url: /guide/durability/marten/inbox.md