Cloud backup copies your files, databases or whole systems over the internet to storage run by a provider. The backup keeps older versions, so you can restore a file, a folder or an entire system after data loss, hardware failure, accidental deletion or ransomware. Providers usually charge based on how much you store, how many devices or users are covered, or both.
How cloud backup works
- Select the data. Choose files, folders, databases or system images to protect.
- Make the first full backup. This copies everything once. It can take a long time on a slow connection.
- Send scheduled incremental backups. After the first run, only changes are sent.
- Compress and encrypt. Data is usually compressed to save space and bandwidth, encrypted in transit with TLS and typically encrypted at rest with AES-256.
- Keep versions under a retention policy. Older versions are removed when they pass the retention period.
- Restore on demand. Download individual files, restore a full system image, or, for very large restores, have a physical drive shipped.
Cloud backup vs cloud sync
Sync services and backup services are often confused. They solve different problems.
| Cloud backup | Cloud sync | |
|---|---|---|
| Main purpose | Recover data from an earlier point in time | Keep the same files on several devices |
| History | Keeps versions for a set retention period | Version history is usually shorter and tied to the sync service |
| Deletions | Deleted files stay in the backup until retention expires | Deletions usually spread to every synced device |
| Ransomware | Immutable copies can’t be encrypted or deleted by the attack | Encrypted files usually sync to every device |
| Examples | Backblaze, IDrive, AWS Backup | Dropbox, OneDrive, Google Drive |
If you delete or corrupt a file in a synced folder, that change usually spreads to every connected device. A true backup keeps separate copies from earlier points in time, which is what makes recovery possible.
Full, incremental and differential backups
- Full backups copy everything each time. They are simple to restore, but slow and expensive in storage and bandwidth.
- Incremental backups copy only what changed since the last backup of any kind. They are fast, but a restore may need the whole chain of backups.
- Differential backups copy what changed since the last full backup. A restore needs the last full backup plus the latest differential.
Many cloud services combine incremental backups with deduplication, so each run sends very little data.
Encryption and keys
Backups are generally protected in two ways. Data travels over encrypted connections (TLS), and it is encrypted on the provider’s storage, commonly with AES-256.
Key management varies:
- Provider-managed keys are the simplest option.
- Customer-managed keys give you more control over key rotation and access.
- Client-side or zero-knowledge encryption means you hold the keys, so the provider cannot read your data. If you lose the key, you lose the data, so test key recovery before you rely on it.
The 3-2-1 backup rule
A common guideline is the 3-2-1 rule:
- Keep 3 copies of important data.
- Store them on 2 different types of media.
- Keep 1 copy off-site. A cloud copy can serve as the off-site copy.
Some teams extend this to 3-2-1-1-0. That adds one offline or immutable copy, and zero errors when restore tests are run. A cloud copy is useful, but keep a local copy as well for faster restores.
Recovery time and recovery point: RPO and RTO
Two terms help you plan a backup:
- Recovery point objective (RPO) is the most data you can afford to lose, measured in time. A 24-hour RPO means a daily backup is enough.
- Recovery time objective (RTO) is the longest you can afford to be without the data or system.
Backup frequency sets your RPO. Restore speed and the restore process set your RTO.
Ransomware and immutable backups
Ransomware often targets backups, too. Immutable backups help because they cannot be changed or deleted for a set period. For example, Amazon S3 Object Lock applies write-once-read-many protection to objects, and Google Cloud offers retention policies and Bucket Lock. Keep backup credentials separate from everyday accounts, so that an attacker who takes over a work account cannot also delete the backups.
Plan for upload time
Upload speed sets how long the first backup takes. At full line speed, uploading 1 TB over a 100 Mbps connection takes about 22 hours. Real-world speeds are slower. Restores are limited by download speed, so a full restore over the internet can take days.
For a very large first backup, some providers and cloud platforms accept a physical device, such as AWS Snowball or Azure Data Box, instead of a network transfer.
Costs and retention
Storage is billed per gigabyte, so longer retention costs more. Restoring data from a cloud platform can incur data transfer or retrieval fees. Retention periods vary. Consumer plans often keep versions for 30 days to a year, and paid add-ons may offer longer or unlimited retention.
Examples of backup tools
- Consumer: Backblaze Personal Backup, IDrive, Carbonite and Acronis True Image.
- Business and cloud-native: AWS Backup, Azure Backup, Google Cloud Backup and DR, Veeam and Druva.
Export tools such as Google Takeout let you download a copy of your data, but they are not a scheduled backup system. Use them as a one-time or occasional copy.
Test your restores
An untested backup may not restore when you need it. Test regularly: restore a sample file, and now and then restore a full system to a test environment. Time those tests and compare the results with your RTO.
Common misconceptions
- Sync is not backup. Deletions and ransomware encryption usually sync too.
- SaaS suites don’t guarantee backups. Services such as Microsoft 365 and Google Workspace generally place responsibility for your data on you. Check their terms, and add a backup if you need one.
- One cloud copy is not enough. Keep a local copy and an off-site copy.
- A fast backup does not mean a fast restore. Full restores over the internet can take days.
For how cloud storage keeps data secure, including encryption and access control, read Is cloud storage secure? For the storage options behind backups, see object storage in cloud computing and Amazon EBS snapshots. For the AWS backup and storage tools, see what are different AWS storage services?