> For the complete documentation index, see [llms.txt](https://fediversefuture.aus.social/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fediversefuture.aus.social/feature-requests/mastodon/admin-separate-storage-for-local-and-remote.md).

# Admin - Separate Storage for local and remote

Separate storage locations/paths (local or S3) for local and remote media

> <https://github.com/mastodon/mastodon/issues/12382>
>
> <https://github.com/mastodon/mastodon/issues/18050>

I'd like to be able to keep the local in an S3 bucket that is backed up regularly, and the remote bucket can be left without bucket because it's recoverable with tootctl.

This would also allow administrators more control over their storage. In relation to mixing CDNs for remote storage and local storage using nginx server caching. Options are good.

Example: local.media.aus.social on bunnyCDN + local Wasabi bucket, and remote.media.aus.social on local nginx cache + a remote wasabi bucket.

Ref: <https://docs.joinmastodon.org/admin/optional/object-storage-proxy/>

**Notes:** I believe Big G has mentioned this is hard because of the RubyGem Paperclip.
