seawall db restore-test

Load each database's latest dump into a throwaway container and compare it with the live database.

Usage

seawall db restore-test [OPTIONS] <STACK>

Changes the host

Without --yes it prints the plan and changes nothing.

Arguments

<STACK>

The stack, by Portainer name or directory

Required.

Options

--container <CONTAINER>

One database, by its container (default: each)

--file <FILE>

A dump to test instead of the latest (its database only)

--yes

Carry out the plan (without it, this is a dry run)

Every command also takes the global options.

Examples

seawall db restore-test nextcloud
seawall db restore-test nextcloud --yes