HTTP API: server, credential and the list of chats #12
@@ -273,11 +273,13 @@ container.
|
|||||||
|
|
||||||
## Operating it
|
## Operating it
|
||||||
|
|
||||||
**Backup.** Everything durable is the SimpleX database on the volume:
|
**Backup.** Everything durable is on the volume: the SimpleX database,
|
||||||
`simplex_chat.db` and `simplex_agent.db`. Stop the container before
|
`simplex_chat.db` and `simplex_agent.db`, and the API credential,
|
||||||
copying them, since a copy taken from under the running client can be
|
`api-token`. Stop the container before copying the database, since a
|
||||||
inconsistent. The database holds the bot's keys, so a copy lets its
|
copy taken from under the running client can be inconsistent. The
|
||||||
holder answer as the bot; keep it as private as the running instance.
|
database holds the bot's keys, so a copy lets its holder answer as the
|
||||||
|
bot, and the credential lets its holder use the API; keep both as
|
||||||
|
private as the running instance.
|
||||||
|
|
||||||
**Upgrade.** Rebuild the image and recreate the container with the same
|
**Upgrade.** Rebuild the image and recreate the container with the same
|
||||||
volume. The chat client migrates its database on start. A newer
|
volume. The chat client migrates its database on start. A newer
|
||||||
|
|||||||
Reference in New Issue
Block a user