save()}>

By default PocketBase uses the local file system to store uploaded files.

If you have limited disk space, you could optionally connect to a S3 compatible storage.

{#if isLoading}
{:else} {#if initialEnabled != s3.enabled}
If you have existing uploaded files, you'll have to migrate them manually from the {initialEnabled ? "S3 storage" : "local file system"} to the {s3.enabled ? "S3 storage" : "local file system"}.
There are numerous command line tools that can help you, such as: rclone , s5cmd , etc.
{/if} {#if s3.enabled}
{/if}
{/if}