---
title: "Add files to your branches"
description: "Neon Object Storage is an S3-compatible store whose buckets belong to database branches: child branches inherit buckets and objects via the same copy-on-write model as Neon Postgres, so previews get isolated, unbilled-until-diverged copies of production files."
url: "https://swe.quest/articles/add-files-to-your-branches-c605b42373f4bac8"
canonical: "https://neon.com/blog/add-files-to-your-branches"
source: "Neon"
published: "2026-11-23"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["storage-systems","serverless","postgres","cloud"]
---

# Add files to your branches

A post on [Neon](https://swe.quest/sources/neon.md), published 2026-11-23, 6 min read, Announcement. Original: [https://neon.com/blog/add-files-to-your-branches](https://neon.com/blog/add-files-to-your-branches)

## Summary

Neon Object Storage is an S3-compatible store whose buckets belong to database branches: child branches inherit buckets and objects via the same copy-on-write model as Neon Postgres, so previews get isolated, unbilled-until-diverged copies of production files. Branch reset restores buckets along with the database, but instant restore only rolls back Postgres. Migration mostly means repointing S3 clients at the branch endpoint with path-style addressing, with limits such as no bucket notifications, lifecycle rules, ACL writes or objects over 10 GiB. Function Triggers fire Neon Functions on object creation or on a cron schedule, and inherited triggers start disabled on child branches to avoid reprocessing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Amazon S3 API ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))
- Neon branching

## Keywords

Neon Object Storage, Neon Functions, Amazon S3, copy-on-write, AWS SDK, Function Triggers

## Related posts

- [Building Neon Object Storage](https://swe.quest/articles/building-neon-object-storage-34a868ace858c276.md): Neon · 2026-08-06 · Easy · 6 min read · Storage systems, PostgreSQL, Cloud platforms, Infrastructure as code
  Neon Object Storage is an S3-compatible object store whose buckets and objects branch together with a Neon Postgres database under one shared branch\_id, so a child branch inherits files at the fork point with copy-on-write isolation.
- [When a file is uploaded, run the job on Neon](https://swe.quest/articles/when-a-file-is-uploaded-run-the-job-on-neon-11d1f9b245942444.md): Neon · 2026-09-22 · Medium · 7 min read · Serverless, Event-driven architecture, PostgreSQL, Storage systems
  Neon added a storage\_object\_created function trigger that invokes a Neon Function via HTTP POST when an object is created in a Neon Object Storage bucket, optionally filtered by key prefix.
- [Practical Guide to Database Branching](https://swe.quest/articles/practical-guide-to-database-branching-8aa2f63325bcfecb.md): Neon · 2025-12-04 · Medium · 9 min read · PostgreSQL, Databases, CI/CD, Schema migrations, Testing
  Neon's copy-on-write storage makes Postgres database branches instant and cheap: each branch shares the parent's base data, gets its own autoscaling compute that scales to zero, and can be created from any point within the history retention window.
- [Understanding Neon’s object hierarchy](https://swe.quest/articles/understanding-neon-s-object-hierarchy-93be958b09bed77b.md): Neon · 2023-06-07 · Easy · 4 min read · PostgreSQL, Serverless, Databases
  Neon organizes serverless Postgres into projects, branches and compute endpoints, built on a separation of storage and compute that avoids sizing a database upfront.
- [How to create an AWS S3 bucket for Postgres backups](https://swe.quest/articles/how-to-create-an-aws-s3-bucket-for-postgres-backups-1b827136764e94f1.md): Neon · 2024-10-28 · Medium · 4 min read · Cloud platforms, Identity & auth, PostgreSQL, CI/CD, Multi-tenancy
  Part 1 of a series on automating nightly Postgres backups from many Neon projects to S3 via scheduled GitHub Actions covers the AWS setup.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
