PageSourceSearch

https://pockethost.io/_app/immutable/chunks/10fyJ4WY2.js

js pockethost.io collected 2026-10-04 00:17:45 UTC 2,809 bytes, 1 lines download raw bytes

1import{B as e,R as t,St as n,kt as r}from"./CzsObDY8.js";import"./xihTtKlq.js";import"./C5qy-xbg.js";var i=r({default:()=>l,metadata:()=>a}),a={title:`S3 Storage`,description:`Learn how to integrate S3-compatible storage with PocketBase to handle backups, restores, and file uploads while conserving local resources`},{title:o,description:s}=a,c=e(`<h1>S3 Storage and PocketBase</h1> <p>Using S3-compatible storage for PocketBase can help optimize your instance’s resource management and portability. Here’s what you need to know about integrating S3 storage with PocketBase.</p> <p><img src="/generated/docs/s3/2024-10-06-15-52-14.png"/></p> <h2>Affordable S3-Compatible Storage</h2> <p>One highly affordable option for S3-compatible storage is <strong>iDrive</strong>, which offers competitive pricing and reliable service. You can configure PocketBase to use iDrive or any other S3-compatible provider to store files, backups, and other resources.</p> <h2>What S3 Storage Supports</h2> <p>S3 storage works seamlessly with PocketBase for the following use cases:</p> <ul><li><strong>Backups</strong>: Store PocketBase backups in S3-compatible storage to keep them off your local instance.</li> <li><strong>Restores</strong>: Use S3 storage as a source when restoring backups to your PocketBase instance.</li> <li><strong>File uploads</strong>: Move your PocketBase file uploads to S3 to free up local storage.</li></ul> <p>By offloading these tasks to S3, you can reduce the burden on your PocketHost instance’s local storage.</p> <h2>Storage Conservation</h2> <p>Using S3 for files like uploads and backups helps conserve your local storage for more critical data, such as <strong>databases and logs</strong>, which must reside on your instance. This helps your PocketHost instance run more efficiently. Learn more about storage limits in <a href="/docs/limits">Limits</a>.</p> <h2>Migrating Files to S3</h2> <p>If you need to move a large number of files from your PocketHost instance to S3, feel free to reach out to <a href="/support">PocketHost Support</a> for assistance. They can help you streamline the migration process.</p> <h2>Portability and Migration</h2> <p>By storing files in S3, your PocketBase instance becomes far more <strong>portable</strong>. If you ever decide to migrate away from PocketHost, having your files already stored in S3 makes it easier to transition to another hosting provider.</p> <h2>Important Backup Consideration</h2> <p>Be aware that <strong>PocketBase backups do NOT include storage files</strong> that have been moved to S3. When creating a backup, only the local database and file system are included. You’ll need to manage S3-stored files separately to ensure complete backup coverage.</p>`,1);function l(e){var r=c();n(32),t(e,r)}export{l as n,i as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.