Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(migration): stop upgrade.sh when the backup copy fails
Yudhi Armyndharisde0a852012aa
diff --git a/docs/14-migration-guide.md b/docs/14-migration-guide.mdindex d15004294..2110248b3 100644--- a/docs/14-migration-guide.md+++ b/docs/14-migration-guide.md@@ -827,8 +827,8 @@ set -e# this step: see Known Upgrade Hazards below.mkdir -p ./backupsdocker exec -e BACKUP_DIR=/app/data/backups -e TMPDIR=/app/data/backups openwa-api ./scripts/backup.sh-docker cp openwa-api:/app/data/backups/. ./backups/ \- && docker exec openwa-api sh -c 'rm -f /app/data/backups/openwa-backup-*.tar.gz' # the copy off the volume is the backup+docker cp openwa-api:/app/data/backups/. ./backups/+docker exec openwa-api sh -c 'rm -f /app/data/backups/openwa-backup-*.tar.gz' # the copy off the volume is the backup# 2. Stop the current versiondocker compose down