teseladb admin backup
How to use teseladb admin backup, with its options and its examples.
Usage
teseladb admin --node <addr> backup --at <marca|now> --out <dir>Description
Copies every data range at the same timestamp, while writes go on. The folder receives the files of each range and manifest.bson with the SHA-256 of each one.
Options
| Option | Default | Description |
|---|---|---|
--node | 127.0.0.1:27200 | Administration port of the node being asked. |
--format | Prints the output as JSON instead of text. | |
--dbpath | Data directory of the node. In teseladb admin, the directory whose PKI provides the credentials. | |
--tlsCertificateKeyFile | the PKI ones | Certificate and key in PEM. On a node, they replace the PKI ones; in admin and mcp, they are the client's. |
--tlsCAFile | the PKI one | CA in PEM. On a node, the one that verifies client certificates; in admin and mcp, the one that signed the node certificate. |
--at | Timestamp of the backup, as seconds.increment, or now. | |
--out | Folder the backup is written to. |
Examples
Backup of now
Shell
teseladb admin backup --at now --out /backups/2026-11-03Exit codes
0The command finished correctly.1The command failed while running; the error says why.2The command was written wrongly, with an argument missing or an unknown option.