The Simplest Way to Make BigQuery and Zerto Work Like They Should
Teams pair bigquery and zerto to analyze disaster recovery metrics at scale. Zerto captures replication logs while BigQuery runs fast queries on that recovery data. This workflow turns raw recovery logs into clear reports for audits. Platform engineers can spot replication lag before an outage hits production systems. Security teams also get a long history of failover test results. How data flows between bigquery and zerto Zerto tracks virtual machine replication across private and public cl
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams pair bigquery and zerto to analyze disaster recovery metrics at scale. Zerto captures replication logs while BigQuery runs fast queries on that recovery data.
This workflow turns raw recovery logs into clear reports for audits. Platform engineers can spot replication lag before an outage hits production systems. Security teams also get a long history of failover test results.
How data flows between bigquery and zerto
Zerto tracks virtual machine replication across private and public cloud sites. It records recovery point objectives and failover test outcomes through its management interface. A scheduled worker script reads these metrics from the Zerto API.
That worker formats the raw records into clean rows for cloud storage. Next, the worker uses a Google Cloud service account to load the rows. BigQuery stores this history in partitioned tables for fast reporting.
Analysts then run queries to check recovery readiness across all protected groups. They can join Zerto status logs with cloud billing or asset inventory tables. This setup keeps heavy reporting workloads off the live replication appliances.
Common failure modes in disaster recovery pipelines
Many teams start with a single shared login for the Zerto API. They also give the cloud service account broad project owner permissions. If a worker host leaks its keys, attackers gain wide control.
Broad keys let bad actors delete backup datasets or trigger fake failovers. Unlogged queries in the data warehouse create another blind spot for auditors. Replication logs often hold sensitive host metadata or user email addresses.
BigQuery IAM + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
When analysts query raw tables, they might expose emails or phone numbers. Without query logs, security teams cannot tell who read those sensitive fields. Schema changes in Zerto API updates can also break loading jobs without warning.
How to scope roles and network paths
Start by creating a read-only role inside the Zerto management console. Assign this role to the worker script so it cannot alter replication groups. Never use an admin account just to pull hourly status metrics.
On the Google Cloud side, create a dedicated service account for ingestion. Grant this account permission to write to one specific dataset only. Block it from reading other tables or changing dataset permissions.
Keep all traffic between the collector and the replication manager on private networks. Use firewall rules to block public internet traffic to the Zerto management port. Rotate the API keys on a set schedule to limit exposure risk.
You should also protect sensitive fields inside your analytics tables. Data masking rules can rewrite emails, phone numbers, and card numbers in results. This step lets engineers check pipeline health while protecting personal data during audits.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Can Zerto stream replication logs directly into BigQuery?
No, Zerto does not include a native connector for Google Cloud data warehouses. You must run a lightweight script or data pipeline to fetch and load metrics.
What permissions does the ingestion worker need in both tools?
Give the worker read-only API permissions inside Zerto to fetch status logs. In BigQuery, grant data editor rights on the target dataset only.
How do we protect sensitive fields in recovery audit tables?
Apply column security and data masking to rewrite emails or national IDs in results. This keeps audit queries safe while preserving the structure of your tables.
Related guides
In this post