Backing Up the Connectware Database
Create and restore a logical backup of the Connectware PostgreSQL database on Kubernetes and Docker.
Prerequisites
Creating a Backup
kubectl exec -n ${NAMESPACE} postgresql-0 -- \
bash -c "pg_dump -U cybus-admin --if-exists -c cybus_connectware" \
> connectware_database.sqldocker container ls -f "label=io.cybus.connectware=core" -f "label=com.docker.compose.service=postgresql"docker exec ${CONTAINER_NAME} \
bash -c "pg_dump -U cybus-admin --if-exists -c cybus_connectware" \
> connectware_database.sqlVerifying the Backup
Restoring a Backup
Verifying the Restore
Scheduling Regular Backups
Last updated
Was this helpful?

