seawall db backup
Dump a stack's database to its folder in paths.backups (credentials stay in the container).
Usage
seawall db backup [OPTIONS] [STACK]
Changes the host
Without --yes it prints the plan and changes nothing.
Arguments
<STACK>The stack, by Portainer name or directory
Options
--allEvery running database (the scheduled run)
--keep <KEEP>With --all: dumps to keep per database
--verifyWith --all: restore-test each new dump
--metrics <METRICS>With --all: write node-exporter textfile metrics here
--yesCarry out the plan (without it, this is a dry run)
Examples
seawall db backup nextcloud
seawall db backup nextcloud --yes