diff --git a/deploy/systemd/llmgw-backup.service b/deploy/systemd/llmgw-backup.service index 268fbe5..c830afa 100644 --- a/deploy/systemd/llmgw-backup.service +++ b/deploy/systemd/llmgw-backup.service @@ -1,5 +1,5 @@ [Unit] -Description=llmgw backup: the store and /etc/llmgw, to /var/backups/llmgw +Description=llmgw backup: the store and /etc/llmgw, to /var/backups/llmgw-server After=llmgw-server.service postgresql.service [Service] diff --git a/docs/install.md b/docs/install.md index b282b0a..27d5409 100644 --- a/docs/install.md +++ b/docs/install.md @@ -973,7 +973,7 @@ cannot be rebuilt without: certificate authority's key (`pki/`). Nothing in llmgw can reconstruct that key; losing it means reissuing every node's identity. -Archives go to `/var/backups/llmgw`, readable by root only because of the CA +Archives go to `/var/backups/llmgw-server`, readable by root only because of the CA key, and the newest 14 are kept. Run it nightly with the timer: ``` @@ -981,7 +981,7 @@ sudo install -m 0644 deploy/systemd/llmgw-backup.service deploy/systemd/llmgw-ba sudo systemctl daemon-reload sudo systemctl enable --now llmgw-backup.timer sudo systemctl start llmgw-backup.service # one now, to see it work -ls -l /var/backups/llmgw +ls -l /var/backups/llmgw-server ``` The control plane publishes when the newest archive was written as @@ -1006,7 +1006,7 @@ them: ``` sudo systemctl stop llmgw-server -mkdir /tmp/restore && sudo tar -xzf /var/backups/llmgw/llmgw-backup--