How to Set Up Bring-Your-Own-Storage (S3) Sync in Filarr

Set up bring-your-own-storage (S3) sync in Filarr: prepare a bucket, add your provider, test the connection. Files are encrypted on your device before upload.

Mathis Belouar-Pruvot

· founder of Filarr · · 16 min read

Quick answer: On the Pro plan, or with a seat in a Teams or Enterprise organisation, Filarr can sync your files through an S3-compatible bucket you own and control, instead of Filarr's own storage. Open Settings → Account & Sync, find Where synced files live, click Use my bucket, pick your provider, fill in the endpoint, region, bucket, addressing, Access key ID and Secret access key, click Test, then Save. From that point, every file is encrypted on your machine with AES-256-GCM before it leaves, and Filarr's server relays it to your bucket, so your bucket only ever holds opaque, unreadable blobs. Works with Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Scaleway, OVHcloud, and any other S3-compatible service such as MinIO.

Why you would want your own bucket in the first place

Most people reach for bring-your-own-storage (BYOS) for one of three very practical reasons, and none of them are about cryptography on paper.

The first is cost control. If you already pay for Backblaze B2 or Wasabi, or you have an AWS account for other projects, you are paying per gigabyte at rates that are often far cheaper than a bundled app subscription. Pointing Filarr at that bucket means your notes and files ride on storage you already budget for.

The second is ownership and portability. When your data lives in a bucket with your name on the account, nobody can quietly change the terms, raise the price on your plan, or lock you out. You can download the raw objects any time with standard S3 tooling, move to another provider, or keep a copy on a NAS running MinIO in your own home.

The third is a compliance or policy requirement. Some people genuinely need their data to sit in a specific region, under a specific provider, or on infrastructure they can point an auditor at. A freelancer handling client files, an accountant, or anyone under a data-residency rule often cannot use a generic cloud default. If that sounds like your situation, the companion pieces on protecting client data without an IT department and the broader case for self-hosted, actually-encrypted Notion alternatives are worth a read alongside this one.

The encryption is the reassurance layer underneath all three. You get the control you came for, and because Filarr encrypts everything before upload, you do not trade privacy to get it. Let me walk you through the whole setup, honestly, including the parts that are a bit fiddly.

What BYOS actually does in Filarr (and what it does not)

Before touching any settings, it helps to understand what moves where, because it changes how you think about the bucket.

In BYOS mode, only your personal sync moves to your S3 bucket, as encrypted objects stored under opaque internal keys. Your account, sign-in, devices and billing stay with Filarr, and shared vaults, share links, Filarr Send and file requests always stay on Filarr Cloud, because a vault belongs to several people and cannot live in one member's bucket. So the bucket is a content store, not a full mirror of your workspace's organisation. That is a deliberate design choice, and it is worth knowing because it means your bucket on its own is not a complete, human-browsable copy of your workspace. It is a pile of encrypted objects keyed by internal IDs.

More importantly, every object that lands in your bucket is already encrypted on your device. Filarr encrypts the file content with AES-256-GCM before the upload call runs, so what the S3 API receives is ciphertext plus the authentication tag. Your encryption password and keys never travel to the bucket. If you want the deep version of how the keys work, the write-up on why per-file encryption with a KEK and FEK matters covers the exact key hierarchy Filarr uses. The short version: your files are encrypted under your account key (the FEK), with a fresh random value for each file, and the FEK is itself wrapped by a key derived from your password, so it never sits anywhere in the clear.

This is the same zero-knowledge principle Filarr's own optional sync follows. If you are curious how the server (or in this case, your bucket) stays blind to your content, the look inside how Filarr's cloud sync stays zero-knowledge applies almost directly to BYOS: files upload already-encrypted, and the storage layer only ever sees opaque blobs.

One honest caveat up front: BYOS needs the Pro plan (8 euros per month), or a seat in a Teams or Enterprise organisation, and a verified email address (Filarr stays free forever for purely local use). On Free and Solo, the section shows Upgrade to Pro, Teams or Enterprise to use your own bucket. That is why. The Filarr storage quota does not apply to your bucket: you pay your provider for the space you use, and Filarr for the plan that drives your own bucket.

Before you start: what you will need

To complete this guide you need three things ready:

  1. An S3-compatible storage account. Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Scaleway and OVHcloud have their own entry in Filarr, and anything else that speaks the S3 API, such as DigitalOcean Spaces or a self-hosted MinIO instance, goes under Autre (MinIO, Garage, NAS), a label that appears in French even when the app is in English.
  2. A bucket created in that account, plus its region.
  3. An access key pair for that bucket: an Access Key ID and a Secret Access Key.

That is genuinely all. The rest is filling in a short form inside Filarr. Let me go through the bucket preparation first, because that is where most of the real work and most of the mistakes happen.

Step 1: Create and prepare your bucket

The exact clicks differ per provider, but the shape is always the same: create a private bucket, note its region, and generate a key pair scoped to it.

Create the bucket private. Never make it public. Filarr does not need public read access, and because your objects are encrypted the bucket contents would be useless to anyone anyway, but leaving a bucket public is a bad habit that invites accidental exposure of object listings and metadata. Keep it private.

Pick a region you will remember. You will type this region into Filarr, and for some providers it is baked into the endpoint URL too. Choose a region close to you for lower latency, or one that satisfies any data-residency requirement you have.

Generate a scoped key pair. Create an access key that can read, write, list, and delete objects in that one bucket. On AWS this means an IAM user or role with a policy granting s3:GetObject, s3:PutObject, s3:DeleteObject, and s3:ListBucket on the bucket and its contents. On Backblaze, Wasabi, or DigitalOcean, generate the equivalent application key and restrict it to the bucket if the provider lets you. Scoping the key to a single bucket means that even in the worst case, a leaked key cannot touch the rest of your account.

Optional but recommended: enable versioning. Turning on bucket versioning gives you a safety net. If a file is overwritten or deleted, the previous version is still recoverable at the storage layer. This pairs well with a broader backup routine, which I cover in the pitfalls section below and in the guide on backing up encrypted notes without breaking zero-knowledge.

If you prefer the command line and you are on AWS specifically, the repository ships a helper script at scripts/setup-s3.sh that will validate your AWS credentials, create the bucket, enable versioning and server-side encryption, set a lifecycle policy, and run an upload/download test for you. It also knows how to spin up a local MinIO container for testing. It is a convenience, not a requirement, and the in-app flow below does not depend on it.

Step 2: Add the provider inside Filarr

Now the easy part. Open Filarr, go to Settings → Account & Sync, and find the Where synced files live section. It works the same way in the desktop app and on app.filarr.com.

Choose the scope first: Account (all profiles), or Profile followed by the current profile's name, to set a bucket for that profile only. Then click Use my bucket. You will see a short form with these fields:

  • Provider. Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Scaleway, OVHcloud, or Autre (MinIO, Garage, NAS) for anything else.
  • Endpoint. The S3 API endpoint, not the provider's website. It must be a public HTTPS address with nothing after the host, for example https://s3.eu-west-1.amazonaws.com. Filarr refuses http://, localhost and private addresses.
  • Region. The region you chose when creating the bucket, for example us-east-1 or eu-west-1.
  • Bucket. The exact bucket name.
  • Addressing. Path-style or Virtual-hosted.
  • Access key ID. The public part of your key pair.
  • Secret access key. The secret part. This is the sensitive one.

While you fill it in, Filarr shows a card, The access key to create at your provider, with the exact rules to paste for Amazon S3, Wasabi, Backblaze B2 and Autre, and what to choose in the console for Cloudflare R2, Scaleway and OVHcloud.

Here is a detail that matters for correctness: the Addressing field decides whether requests go to endpoint/bucket/key (Path-style) or bucket.endpoint/key (Virtual-hosted). Cloudflare R2 wants path-style, with the endpoint https://YOUR_ACCOUNT_ID.r2.cloudflarestorage.com and the region auto; Amazon S3 wants virtual-hosted. When in doubt, check your provider's documentation.

A word on where your secret goes, because this is the question privacy-minded users always ask. It is Filarr's server that relays your already-encrypted files to your bucket, so the Secret access key is kept by Filarr, encrypted, and never displayed again once you save. That is also why your bucket needs no CORS setting: neither the desktop app nor the browser talks to it directly. What that key opens is a bucket of ciphertext; your file key never leaves your device in the clear.

Step 3: Test the connection

Do not skip this. Before saving, click Test. Filarr checks that it can reach the bucket with your keys; it takes a few seconds and uploads nothing. Bucket reachable. means Filarr can talk to your bucket.

If the test fails, ninety percent of the time it is one of these, in rough order of likelihood:

  • A typo in the bucket name or region. These are case- and character-exact.
  • A wrong endpoint: the provider's website instead of its S3 API address, or an address that is not public HTTPS. Double-check the exact host your provider gives you.
  • A key pair that lacks permission on the bucket, or that was scoped to a different bucket.
  • A region mismatch, where the bucket lives in one region but you entered another.

Fix the field and test again. It is normal to need one or two tries on your first provider.

Step 4: Save and start syncing

Once the test passes, click Save. From the next sync, new files go to your bucket: file content you add to your workspace is encrypted locally and relayed to your bucket, and reading a file downloads the encrypted blob and decrypts it on your machine.

What is already on Filarr Cloud moves with the Bring your data into this bucket panel, and sync stays paused until it is copied. Click Copy now: the copy runs server to server, the encrypted files move as they are, you can stop and resume it, and an object already in your bucket is never overwritten. Once it is complete, Delete Filarr Cloud copy frees the space on Filarr Cloud. That step is irreversible, so run it only after the copy has finished.

That is the whole loop. Your workspace feels identical to local-only use, but your files now live in storage you own.

Provider-specific notes

The fields are the same everywhere, but the endpoint format trips people up, so here are the common patterns. Always confirm the exact host in your provider's own dashboard, since regions and formats change.

AWS S3. Enter the regional endpoint, for example https://s3.eu-west-1.amazonaws.com, the bucket's region (here eu-west-1), the bucket, and Virtual-hosted addressing. Create an IAM key scoped to the bucket.

Backblaze B2. Use the S3-compatible endpoint shown in your bucket details, which looks like https://s3.us-west-004.backblazeb2.com. The region is the matching value such as us-west-004. Generate an application key limited to the bucket.

Wasabi. The endpoint looks like https://s3.eu-central-1.wasabisys.com (the region segment varies). Wasabi's flat per-terabyte pricing makes it popular for exactly this use case.

DigitalOcean Spaces. Choose Autre (MinIO, Garage, NAS). The endpoint looks like https://nyc3.digitaloceanspaces.com, where nyc3 is the region. Generate Spaces access keys from the API section of your DigitalOcean dashboard.

Self-hosted MinIO. Choose Autre (MinIO, Garage, NAS) and point the endpoint at your own server through a public HTTPS URL, for example MinIO behind a reverse proxy: Filarr's server relays to your bucket, so it must be able to reach it. In the desktop app, Where the storage lives also offers On my network (NAS, MinIO, Garage), which accepts an address like http://192.168.1.50:9000 on a home network. Filarr's servers cannot reach such storage, so its health is not checked and your existing files are not copied over: it starts empty and fills up with your next syncs, and on http:// your storage keys travel unencrypted on that network. Use the access key and secret you configured on the MinIO side. This is the most private option of all, since the storage never leaves hardware you physically control. If you want to test MinIO quickly, the bundled scripts/setup-s3.sh can launch a local MinIO container for you.

Pitfalls and best practices

A few things that will save you grief, learned the honest way.

Your recovery phrase is the whole ballgame. Because files are encrypted before upload, your bucket is worthless to an attacker, but it is equally worthless to you if you lose your password and your 24-word BIP-39 recovery phrase. There is no "reset password" that can read your data, because Filarr never holds your key in usable form. Write the recovery phrase down and store it somewhere safe and offline. This is the direct trade-off of real zero-knowledge encryption, and it is the same trade every serious encrypted tool makes. The broader guide on how to encrypt your notes goes deeper on why recovery keys matter.

BYOS is sync, not backup. A synced bucket and a backup are different things. If you delete a file and the deletion propagates, it is gone from the bucket too. Enable bucket versioning (Step 1) so the storage layer keeps old versions, and keep at least one independent copy. Sync protects against a dead laptop. It does not protect against you deleting the wrong thing.

Scope your keys tightly, and rotate them. Use a key limited to the single bucket. If you ever suspect a key is compromised, generate a new pair at the provider, update it in Filarr with Edit bucket, and delete the old key. Replacing the keys on the same endpoint and bucket does not count as a change of storage target, so rotation is a two-minute job.

Mind your region for latency and compliance. A bucket on the other side of the world will feel slow on large files. Pick a near region unless a residency rule forces otherwise.

Protect the machine anyway. Your bucket settings live with your Filarr account, not in a file on your computer, but your files are decrypted and opened on your machine. Full-disk encryption on your machine is still worth having as a second layer, for reasons laid out in the comparison of local encryption versus classic cloud when data leaks.

Test after any change. Changed a key, moved regions, renamed a bucket? Run Test again. It takes seconds and tells you immediately whether transfers will work. Keep in mind that you can change the storage target twice every 7 days, or once with Autre (MinIO, Garage, NAS).

FAQ

Does Filarr see my files when I use my own bucket? No. Files are encrypted with AES-256-GCM on your device before upload. Filarr's server relays the encrypted objects to your bucket, and neither it nor your bucket ever holds anything but opaque encrypted blobs. Your file key never leaves your machine in the clear.

Which providers are supported? Any S3-compatible storage. Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Scaleway and OVHcloud have their own entry; any other S3-compatible service, such as DigitalOcean Spaces or self-hosted MinIO, goes under Autre (MinIO, Garage, NAS). The endpoint is always required, as a public HTTPS address (the desktop app also accepts storage on your own network).

Is BYOS free? Filarr is free forever for local-only use. BYOS needs the Pro plan (8 euros per month), or a seat in a Teams or Enterprise organisation. The Filarr storage quota does not apply to your bucket, and you pay your storage provider separately for the bucket itself. If the plan ends, Filarr stops writing to your bucket, keeps reading it for about 30 days, then stops using it; your files stay at your provider.

What happens if I lose my password? Your encrypted files in the bucket become unrecoverable, because no one, including Filarr, holds a usable copy of your key. This is the point of zero-knowledge encryption. Your 24-word recovery phrase is the only fallback, so store it offline and safe.

Does my folder structure get uploaded too? In BYOS mode, only your personal sync goes to your bucket, as encrypted objects under opaque internal keys. Shared vaults, share links, Send and file requests stay on Filarr Cloud. The bucket is a content store, not a browsable mirror of your workspace.

Can I switch providers later or run more than one? Yes, within limits. You set one bucket for your account, and optionally a different one for a given profile. To move, use Edit bucket, test the new one and save; you can change the storage target twice every 7 days, or once with Autre (MinIO, Garage, NAS). Switch back to Filarr Cloud takes you back, either copying everything back first or switching without copying. Either way, Filarr does not empty your bucket.

Wrapping up

Setting up BYOS in Filarr comes down to four moves: prepare a private bucket with a scoped key pair, enter it under Settings → Account & Sync → Where synced files live, test it, and save. Do that once and your workspace syncs through storage you own, at the price you already negotiated with your provider on top of your Pro plan, with no vendor holding your data hostage.

The encryption is what lets you do all of that without giving anything up on privacy. Your files are sealed with AES-256-GCM before they ever reach the bucket, so ownership and confidentiality stop being a trade-off. Create the bucket, paste in the keys, run the test, and you are done. If you are still deciding whether local-first ownership fits how you work, the ranked overview of the best local-first apps in 2026 is a good next stop.