Rubrik Replication

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up rubrik replication by pairing two clusters and adding a rule to your policy. Once linked, the source cluster sends incremental backup blocks to the remote cluster on a set schedule. Many teams set up this flow to protect against site outages and regional disasters. Still, admins often grant broad roles to the engineers who test and restore those remote copies. When a role is too broad, anyone testing a backup can read raw production records. How rubrik replication works across clust

Database Replication Security: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You set up rubrik replication by pairing two clusters and adding a rule to your policy. Once linked, the source cluster sends incremental backup blocks to the remote cluster on a set schedule. Many teams set up this flow to protect against site outages and regional disasters. Still, admins often grant broad roles to the engineers who test and restore those remote copies. When a role is too broad, anyone testing a backup can read raw production records.

How rubrik replication works across clusters

A rubrik replication workflow starts with a trust link between a source system and a remote system. Both systems can sit in your own data centers or run as cloud clusters. Once you pair the two systems, you define your rules inside a service level agreement policy. That policy tells the cluster how often to take snapshots and how long to keep them.

During the first run, the source system deduplicates and compresses the full backup dataset. It then sends only the unique data blocks over a secure network link to the remote site. Every run after that sends only the new blocks that changed since the last snapshot. This block-level design cuts down on network traffic and lowers remote storage costs.

On the remote side, the receiving system rebuilds those blocks into a point-in-time recovery image. Admins can mount that image as a live database or virtual machine during a recovery test. Teams also use these secondary copies to refresh staging systems or run heavy analytics workloads.

What native policy setup solves and what it leaves open

Native backup policies solve the problem of moving data safely from one site to another. Role settings inside the backup console also control which admins can trigger a restore job. You can limit who pairs clusters, who changes retention rules, and who mounts a backup copy. These controls stop unauthorized users from deleting snapshots or changing your disaster recovery plans.

Still, backup console permissions stop working the moment an engineer mounts a replicated database image. Once that secondary database is online, engineers and apps log in using standard database accounts. The backup policy only decides who can boot the copy, not what queries run inside it. A developer fixing an issue on a mounted backup has full visibility into the restored tables.

Governing database sessions on mounted backup copies

Replicated backups contain the exact same sensitive records as your primary production databases. When teams mount a remote snapshot for testing or debugging, those records become active again. Standard database roles are coarse and rarely stop a valid user from pulling an entire table.

Database Replication Security: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To close this gap, teams need controls that operate at the query level during every session. You must inspect individual statements in flight and know which person ran each command. Adding data masking is also vital so that queries rewrite emails, phone numbers, and card numbers in results. This approach lets engineers test restored backups and run real queries while keeping sensitive fields protected.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Does rubrik replication copy data continuously or on a schedule?

It copies data based on the schedule defined in your policy after each local snapshot finishes. For certain workloads, you can also turn on continuous data protection to capture finer recovery points.

How does deduplication affect network bandwidth during replication?

The source cluster checks which data blocks already exist on the remote cluster before sending anything. It sends only compressed, changed blocks over the wire, which keeps network usage low.

Why do mounted backup copies create a data security risk?

A mounted backup is a full copy of production data, including emails, phone numbers, and national IDs. Without query-level checks and masking, engineers using that copy can read sensitive customer records in plain text.

Short role checks help teams work fast. Simple rules make each review clear. Good logs keep every team safe. Scoped keys stop bad changes early.

Teams test new role rules in staging first. Clear owner lists speed up each audit. Small role scopes cut down on risk. Regular log checks catch drift right away.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.