Openreplay backups
Jump to navigation
Jump to search
kubectl exec -i -n db postgresql-0 -- sh -c 'PGPASSWORD="$POSTGRES_PASSWORD" pg_dump -U postgres postgres' > /backups/openreplay_postgres_backup-$(date +%d-%m-%Y).sql && xz /backups/openreplay_postgres_backup-$(date +%d-%m-%Y).sql
See also[edit]
Advertising: