Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(runbooks): list only the newest backup archive

Yudhi Armyndharisf6a4c992f667
diff --git a/docs/11-operational-runbooks.md b/docs/11-operational-runbooks.md
index e67cb5a59..21b56eb06 100644
--- a/docs/11-operational-runbooks.md
+++ b/docs/11-operational-runbooks.md
@@ -726,8 +726,8 @@ OPENWA_DATA_DIR=/srv/openwa/data \
```bash
# The archive MUST contain main.sqlite, the configured data store, and the auth directory for the
-# selected engine (sessions/ for whatsapp-web.js or baileys/ for Baileys).
-tar -tzf ./backups/openwa-backup-*.tar.gz
+# selected engine (sessions/ for whatsapp-web.js or baileys/ for Baileys). Lists the newest archive.
+tar -tzf "$(ls -t ./backups/openwa-backup-*.tar.gz | head -n 1)"
```
> Backup archives contain API keys, provider credentials, WhatsApp auth state, and plugin secrets.