The Short Answer
A disk gives the operating system numbered blocks; a file share gives it folders and files. Object storage gives an application neither. It stores a complete object, such as an image, an archive, or a backup chunk, under a key, and returns it when asked for that key. There are no partial updates: to change an object, you upload a new version of the whole thing.
Objects, Buckets, Keys, and Metadata
- Object: the data itself, from a few bytes to very large files.
- Bucket: a named container for objects, with its own access rules and settings.
- Key: the object's name within the bucket, such as
backups/2026/db.sql.gz. - Metadata: information stored with the object, such as content type, size, a checksum, and custom tags.
The namespace is flat. A key like backups/2026/db.sql.gz looks like a path, but there are no real folders: tools display the slashes as folders by listing keys that share a prefix.
The S3-Compatible API
Most object storage systems speak the same HTTP-based interface, known as the S3-compatible API. Requests such as PUT (upload), GET (download), DELETE, and bucket listings are sent to an endpoint address and signed with an access key and a secret key. Because the interface is shared, tools written for it work with many storage systems: you change the endpoint and the keys, not the tool. Systems differ in which optional features they support, such as versioning, lifecycle rules, and object locking, so check before relying on one.
Object vs Block vs File Storage
| Type | Access | Typical use |
|---|---|---|
| Block | A disk, with a file system on it | System disk, databases |
| File | A shared folder over NFS or SMB | Shared files between servers |
| Object | HTTP API, by key | Backups, media, archives |
Block storage is what lsblk lists on your server, and file storage is what you mount with NFS. Object storage scales to very large amounts of data and many clients, but each request travels over the network and has higher latency than a local disk. Do not run a database on it.
Typical Uses
- Off-server backups: backup tools upload encrypted chunks to a bucket, which gives you the off-site copy that the 3-2-1 backup rule asks for.
- Media and uploads: applications store user files in a bucket instead of on the web server's disk, so several servers can share them.
- Static assets: images, scripts, and downloads served from a bucket, often through a CDN.
- Logs and archives: data kept for a long time and read rarely, with lifecycle rules that delete or move it after a set period.
Use It from a Server with rclone
rclone treats a bucket like a remote folder. After rclone config creates a remote of the S3 type with your endpoint and keys:
rclone lsd remote:
rclone mkdir remote:my-bucket
rclone copy /var/backups remote:my-bucket/server1
rclone ls remote:my-bucket/server1
The remote setup, filters, and bandwidth limits are in rclone.
Back Up to It with restic
restic writes deduplicated, encrypted backups straight to a bucket. The repository is given as the endpoint and bucket:
restic -r s3:https://s3.example.com/my-bucket init
restic -r s3:https://s3.example.com/my-bucket backup /etc /var/www
The access keys are passed in the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, not on the command line. The full setup is in restic backup.
Keep Access Tight
- Private by default: keep backup buckets private and grant public read only to buckets meant for public files.
- One key per server: give each server a key limited to its own bucket, so one leaked key does not expose everything.
- Protect against deletion: where versioning or object locking is supported, turn it on for backups, so an attacker with server access cannot erase them.