Skip to content
Vaulthalla LogoVaulthalla

Multi-cloud and hybrid

Local disks, a second site and cloud buckets, run as one

One Vaulthalla server holds many vaults, each on the backing that suits it: local disks, Backblaze B2, Cloudflare R2, AWS S3 or another S3-compatible bucket. Mirror a vault to a second server you run, with no bucket in the path.

  • Change a vault's backing in place
  • Event sync on AWS and R2, no Lambda
  • Mirrored vaults between your own servers

Hybrid storage under one model

One Vaulthalla server on hardware you control, with one endpoint and one permission model over several vaults, each on a different backing. The vault photos lives on local disks. archive syncs to a Backblaze B2 bucket, media to a Cloudflare R2 bucket and reports to an AWS S3 bucket, all in your own accounts at your storage providers; reports is limited to read-only. finance is a mirrored vault, copied to a second Vaulthalla server you run. Three verbs change a vault’s backing without changing the vault: attach gives a local vault a bucket in place, detach brings it back to local disks, and limit holds a remote to read-only.

One endpoint, one permission model

Everything people and tools see

FinderMounted folderWeb consoleS3 gatewayAI agentsvh CLI
Hardware you control

Vaulthalla server

One server, five vaults

Vault

photos

Local disk

Vault

archive

B2 bucket

Vault

media

R2 bucket

Vault

reports

AWS S3 bucket

Vault

finance

Mirrored vault

localsyncsyncread-onlymirror
Hardware you control

Local disks

On the server itself

Your storage providers

Backblaze B2

Your account

Cloudflare R2

Your account

AWS S3

Your account

Hardware you control

Second Vaulthalla server

A linked server you run

  • AttachGive a local vault a bucket, in place. Same ID, keys, permissions and shares.vh vault remote attach
  • DetachBring it back to local disks. Never writes to or deletes from the bucket.vh vault remote detach
  • LimitHold a remote to reads only. The limit survives restarts.vh vault remote access --set read-only

Every vault picks its own backing

One server holds many vaults, and each one lives where it makes sense: the family photos on local disks, the archive in Backblaze B2, the media library in Cloudflare R2, the project files in AWS S3. Metadata always stays in PostgreSQL on your server, and every vault keeps its own encryption key.

On the host

Local disks

Bodies stay on your server's disks, with a quota, a sync interval and a conflict policy of overwrite, keep_both or ask.

Full administration

AWS S3, R2 and B2

Inventory, create or adopt a bucket, protection locks, detach and cleanup, with storage tier, sync strategy and conflict policy per vault.

Plain vault storage

Other S3-compatible storage

MinIO, Wasabi and other S3-compatible buckets work as vault storage, within what each bucket supports. Protection locks still apply.

Change your mind later

A vault's backing is not a one-way door. All three actions keep the vault's ID, keys, permissions, shares and files. The console has the same actions under Vault › Settings › Remote storage, behind a step-up, and AI agents cannot start them.

Attach

vh vault remote attach turns a local vault into an encrypted bucket vault in place. The upload is resumable and verified, and the vault switches in one step once its manifest reads back.

Detach

vh vault remote detach --confirm brings it back to local disks. It fetches and verifies every file, and never writes to or deletes from the bucket.

Limit

vh vault remote access --set read-only holds a remote to reads, or none cuts it off. The limit survives restarts and shows as degraded in health.

In practice

Move vaults, add buckets, link a second server

Three sessions from the vault docs and the release notes: give a local vault a bucket and take it back, create a managed bucket with event sync while locking a production bucket away, and mirror a vault to a second server.

# Give the local vault 'finance' an empty R2 bucket, in place
$ vh vault remote attach finance --api-key r2-main --bucket finance-vault
# Later: bring it back to local disks. The bucket is left untouched.
$ vh vault remote detach finance --confirm finance
# A new vault in a bucket Vaulthalla creates, with event-driven sync
$ vh vault create media --s3 --api-key r2-admin --bucket-mode create --bucket vh-media --events
# Keep Vaulthalla away from a bucket that is not its business
$ vh upstream protect r2-admin prod-backups --reason "not for Vaulthalla"
# On the core: open a 10-minute pairing window
$ vh peer pair
# On the other server: dial it, then pick the matching six-digit code from three
$ vh peer link vault.example.com
# Offer the vault; on the mirror, accept it with vh mirror accept
$ vh mirror add finance --to backup-box
# After a split: compare the two copies entry by entry
$ vh mirror relink finance --with backup-box --review

Attach needs an empty, unused bucket, recovery material that does not depend on this server, and a price-budget check. Mirror commands are from the v1.27.1 and v1.28.0 release notes.

Sync that knows which side changed

Every bucket-backed vault has a sync strategy and a conflict policy. Pick them per vault, and change them later.

Strategy What it does
cache (default) A local working cache. Remote objects are indexed without their bodies, and a body is fetched on first read.
sync Two-way: changes on either side reach the other.
mirror The local side publishes, and remote changes are not authoritative.

The mirror sync strategy is a vault-to-bucket setting. It is unrelated to mirrored vaults between servers, below.

Real conflicts only

Bucket vaults resolve with keep_local, keep_remote, keep_newest or ask, the default. Under ask, a three-way baseline turns only real two-sided changes into conflicts, each recorded once and closed on its own if the sides converge. Resolve them with vh sync resolve or the console's Sync Conflicts page.

Events without Lambda

On AWS S3 the server reads changes from SQS, and on Cloudflare R2 from Queues over HTTP pull. No Lambda, Worker or webhook is deployed. Events are durable before acknowledgement, deduplicated and ordered, and a change costs about one HEAD and one GET.

Careful by default

A removal is believed only after a HEAD confirms it, and a gap in events falls back to one listing. Request and price budgets bound every pass, and a bucket that loses a capability stops sync with bucket_capability_changed instead of quietly downgrading.

Linked servers

A second site, without a bucket in between

Link two Vaulthalla servers you run and mirror a vault between them. One server is the vault's core; the other holds a full encrypted copy that follows every change in order. Contents travel as the core's sealed bytes, never decrypted, and no bucket sits in the path, so mirroring causes no bucket egress.

Linked servers and mirrored vaults

Two linked servers, both on hardware you control. One server is the vault’s core; the other holds a full encrypted copy that follows every change in order. Contents travel as the core’s sealed bytes: they are never decrypted in transit, and no bucket sits in the path. Vault keys cross the link wrapped to the other server’s pinned key. Four verbs act on the link: switch, a planned role swap; take over, when the core is gone; detach, to walk away with the copy; and relink, to reconnect and resolve drift entry by entry.

Hardware you control

Linked server

core.example.net

Vault finance

The core

Every change starts here and is applied in order.

Vault key

Sealed on this server

Hardware you control

Linked server

backup-box

Vault finance

The mirror

A full encrypted copy that follows every change.

Vault key

Arrives wrapped and attested

  • SwitchA planned role swap. It completes, or nothing changes.vh mirror switch
  • Take overThe core is gone. The mirror becomes the core.vh mirror takeover
  • DetachWalk away with the copy as an ordinary vault.vh mirror detach
  • RelinkReconnect a split pair and resolve drift entry by entry.vh mirror relink

Pairing opens a 10-minute window and the admin picks the six-digit code from three. Keys are pinned on both sides, with no certificate authority. A linked server is never a user: its access is a vault role, reader or contributor. Linking is for super admins only. Details in the v1.27.1 release notes.

In use

Work in either copy. Move the core when you need to.

Mirrored vaults

Two copies, one vault, a clear leader

While the link is up, people work in the copy as they would in the core: the mounted folder, the console, uploads, shares and S3. The core applies each change as that person. A change it refuses becomes a conflict copy or a held change you can retry, discard or save. Each step is checked for an exact match, and a daily scrub compares the trees.

  • vh mirror switch: a planned role swap that completes or changes nothing.
  • vh mirror takeover --confirm: the core is gone, and the mirror becomes the core.
  • vh mirror detach: walk away with the copy as an ordinary vault, in any state, without asking the core. It deletes nothing and touches no bucket.
v1.27.1 release notes
Vaulthalla Desktop's Mirrored Vaults page: offers from a linked server, and every mirrored vault with its role, live state, pending changes and link status

Relink

Reconnect a pair that drifted apart

After a split, vh mirror relink <vault> --with <server> compares the two copies entry by entry. Keep one side wholesale with --keep this|theirs, or review each entry and choose this server's version, theirs, or both as a conflict copy.

The other server's super admin must accept the request and approve the outcome. Requests expire after a day, nothing is accepted automatically, nothing is dropped, and no keys move.

Mirrors in Desktop
Vaulthalla Desktop's Reconnect sheet after comparing two copies that drifted apart, with entries that differ on each side and options to keep either server's copy or review each change

One permission model, one endpoint

Wherever a vault lives, people and tools reach it the same way, and the same roles, groups and path overrides decide what they may do.

Every way in

Finder through Vaulthalla Desktop, the mounted folder on Linux, the web console, the S3 gateway, AI agents over MCP and the vh CLI all answer to one rulebook.

One S3 endpoint

Upstream profiles let one S3 endpoint create and serve buckets in each of your provider accounts. Clients stay pointed at your server while the account behind a bucket changes.

Linked servers stay capped

On a mirror, a linked server's vault role caps what its people may do. Vault keys cross the link wrapped to the other server's pinned key and attested, never in the clear.

Limits worth knowing

  • One remote per vault. Several equal remotes per vault are designed, not built. Moving a vault straight from one bucket to another is not built either: detach to local disks, then attach the new bucket.
  • One mirror per vault, and a mirror is not a cluster. It is one core plus one copy, not a quorum. There is no erasure coding, and every change is applied by the core.
  • The copy is read-only when the link is down, and during the first copy, while paused or switching, or once orphaned. Each surface says why: the mount answers EROFS and S3 answers 503. Offline writes on the mirror are not supported.
  • Mirrors and cloud remotes do not combine fully yet. Switching the core of a vault that has a cloud remote is planned, and mirroring does not carry history such as versions and snapshots.
  • Event sync and price estimates cover AWS S3 and Cloudflare R2 only. B2 work runs with --accept-unpriced.
  • Server docs for mirrors are not published yet. The release notes for v1.27.1 and v1.28.0 describe the commands, and Mirrors in Desktop covers the Mac app.

If you need many sites writing at once with a quorum deciding, you need a distributed system, not a pair of mirrored servers.

FAQ

Questions about multi-cloud and hybrid storage

Can one server use several cloud providers at once?

Yes. Each vault has its own backing, so one server can hold local vaults beside vaults in B2, R2, AWS S3 and other S3-compatible buckets, all under one permission model.

Can I move a vault from local disks to a bucket and back?

Yes. vh vault remote attach moves a local vault into an empty bucket in place, and vh vault remote detach brings it back, keeping the vault's ID, keys, permissions, shares and files. Detach never writes to or deletes from the bucket.

What happens when the same file changes on both sides?

Bucket vaults use keep_local, keep_remote, keep_newest or ask. Under ask, only real two-sided changes become conflicts, which you resolve with vh sync resolve or the console. Sync docs.

Do I need AWS Lambda for event-driven sync?

No. The server pulls change events from SQS on AWS S3 and from Queues on Cloudflare R2. Nothing is deployed at the provider. Event sync is not available on B2.

Is a mirrored vault the same as replication in a cluster?

No. A mirrored vault is one core plus one full copy on a second Vaulthalla server, not a quorum or a cluster. It gives you a second site you can switch to, take over, or walk away with.

Does mirroring between servers cost cloud egress?

Mirroring never causes egress from a bucket: contents travel directly between your two servers as sealed bytes, with no bucket in the path.

What if the core server dies?

Run vh mirror takeover --confirm on the mirror and it becomes the core. A returning old core rejoins if it made no changes; otherwise it stays read-only until vh mirror resync, which keeps its changes as held changes.

Sailboats race across open water between two identical vault doors

Hybrid by design

Put every disk, bucket and server under one roof

Start with one server and local vaults. Add a bucket when a vault needs one, and a second server when you want a second site.