AddThisFeature

Amazon S3 Backup Export

Let customers send their exports and archives to a bucket they control themselves.

involved Integrations

What it adds

A customer-configured S3 destination with scoped credentials, multipart transfer, and verified object integrity.

What your agent is told to do

5
  1. 1

    Let a customer configure their own bucket as an export destination — bucket, region, key prefix, and expected encryption — and validate all of it with a test write at the moment they save the settings.

  2. 2

    Prefer credentials the customer can scope and rotate, such as a role the app assumes with an external identifier, and store whatever is held encrypted at rest. Do not make a long-lived account-wide key the only supported option.

  3. 3

    Write large archives as a multipart upload driven by the app's existing background-job system, so a failed part is retried rather than the whole archive resent.

  4. 4

    Give every export an immutable key built from the prefix, a timestamp, and the export's own identifier, so a new run can never land on top of an old one.

  5. 5

    Dropbox File Export and OneDrive File Export cover consumer destinations and their interactive folder pickers. This entry owns the customer-operated bucket case: credential scoping, multipart transfer, and integrity verification.

Edge cases it handles

8
  • Permanent broad keys become a liability the moment the app is breached. Assume a scoped role where the provider supports it, require an external identifier so the app cannot be used as a confused deputy, and allow rotation without breaking scheduled exports.
  • A wrong region, a missing bucket, a prefix the credential cannot write, or a bucket policy demanding a particular encryption setting all fail at upload time. Validate each on save and name the specific setting that is wrong.
  • An abandoned multipart upload leaves incomplete parts the customer keeps paying to store. Abort explicitly on failure, and resume or clean up on the next run.
  • Two exports must never collide on one key and silently destroy the earlier backup. Keys are unique per run, and an unexpected existing object fails the run loudly instead of overwriting it.
  • Confirm the stored object's checksum matches what was sent before marking the export complete. An export reported as successful but truncated is worse than one that plainly failed.
  • Bucket policy can change after connection so that working exports start being refused. Treat access denial as a connection-level problem, notify the account owner, and stop the retry schedule.
  • The provider throttles per key prefix under sustained load. Back off on throttling responses rather than treating them as fatal.
  • Never echo a stored credential back to the browser, even masked in a settings form. Show only enough to identify which credential is in use.

Definition of done

9
  • A customer can point exports at their own bucket with region, prefix, and encryption settings validated on save.
  • Credentials are scoped, encrypted at rest, rotatable, and never returned to the client.
  • Large archives upload in parts and resume rather than restarting after a failure.
  • Each export writes a unique key and cannot overwrite a previous backup.
  • An export is marked complete only after its checksum is verified against the stored object.
  • Access denied, wrong region, and throttling are reported as distinct causes.
  • Failed multipart uploads are aborted rather than left accruing storage cost.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.