db:dump

Create a SQL dump of the MariaDB database.


Usage

splent db:dump [FILENAME]

Examples

Dump to a timestamped file:

splent db:dump

Dump to a specific file:

splent db:dump backup_2026.sql

Description

Runs mysqldump using the credentials from the environment and writes the output to a .sql file. If no filename is provided, one is generated automatically using the current timestamp.


Requirements

  • The database must be reachable.
  • mysqldump must be available in the container.

Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es