A sleek office desk setup featuring a laptop and smartphone, ideal for tech and business themes. Cloud storage basics: sync, sharing, deletion and recovery windows
Photo by Jakub Zerdzicki on Pexels

Guides

Cloud storage basics: sync, sharing, deletion and recovery windows

How cloud sync, online-only files and sharing work, how Google Drive, OneDrive, iCloud and Dropbox handle deleted files and versions, and how to trace a missing file.

This is an editorial pen name used by the publication, not a claim of an independently verified personal identity. Original editorial credit: Guides Desk.

What to take away

  • Sync keeps locations identical, so a deletion or a bad edit on one device spreads to the others. Sync is not backup.
  • Google Drive empties its trash after 30 days. OneDrive keeps deleted items 30 days on personal accounts and 93 days on work or school accounts, unless an administrator changed it. iCloud.com recovers files deleted within 30 days. Dropbox uses 30, 180 or 365 days, depending on the plan.
  • Trash can still count against your quota. Google says files in Trash count toward your storage until they are permanently deleted.
  • An online-only file is a placeholder. You can open it offline only after it has downloaded or been marked to stay on the device.
  • Keep at least one copy that sync cannot touch. The NCSC notes that some cloud services restore older versions and recover deleted data only for a limited time, and says to check that a provider includes these features.

Sync, backup and archive are different jobs

NIST defines cloud computing as on-demand network access to a shared pool of configurable resources, in its 2011 definition (SP 800-145, by Peter Mell and Tim Grance). For a household, that means you rent storage and an app, and the provider runs the hardware.

The services look alike but do different jobs. The labels below are the desk's own summary.

JobWhat it doesTypical failure
SyncKeeps a folder identical on several devices and onlineA deletion, rename or damaged file spreads everywhere
ShareLets other people open or edit a file or folderThe link or permission reaches more people than intended
BackupKeeps earlier copies you can restore after a lossSettings leave out folders, or old versions expire
ArchiveKeeps finished material for the long termFormats or accounts become unreadable

Many services blend these. Google Drive, OneDrive, iCloud Drive and Dropbox are mainly sync-and-share tools with limited recovery windows, and they differ in how long deleted files and old versions survive. The vocabulary is laid out in file sync, backup, archive and sharing compared.

Online-only, offline and mirrored files

Most apps can hold a file in the cloud only, and download it when you need it.

OneDrive shows three states, according to Microsoft's Files On-Demand page:

  • A blue cloud icon means the file is online-only. It takes no space on the computer and cannot be opened offline.
  • A green check mark means it has downloaded and can be opened without internet. Right-click and choose Free up space to make it online-only again.
  • A green circle with a white check mark means it is always available. Set it with Always keep on this device.

With Storage Sense on, locally available files can turn back into online-only files after the period you choose.

Google Drive for desktop offers two modes, described on its stream and mirror help page. Streaming keeps files mainly in the cloud, and they are available offline only if you make them so. Mirroring keeps a full copy on the computer and in the cloud, so files stay available without internet. Changes made to streamed or mirrored files on one device apply everywhere, so make sure files are fully synced before you delete or move folders.

Before a trip, switch the network off and open a few files. The icon alone does not prove the content is on the device.

Recovery windows by service

These windows are what each provider documented when this article was reviewed. Plans and admin settings change, so check your own account.

ServiceDeleted itemsOlder versions of a file
Google DriveTrash is emptied after 30 days.Google says a version may be permanently deleted after 30 days or if there are 100 newer versions. You can mark one as Keep forever. Docs, Sheets and Slides have a separate history.
OneDrive, personalRecoverable if deleted within 30 days.Version history is retained 30 days.
OneDrive, work or schoolRecoverable within 93 days, unless the administrator changed it.The administrator may have turned versioning off.
iCloud DriveOn iCloud.com, files deleted within the last 30 days can be recovered from Recently Deleted.Check Apple's current documentation for your app.
DropboxStandard recovery period of 30 days (Basic, Plus, Family), 180 days (Professional, Essentials, Standard, Business) or 365 days (Advanced, Business Plus, Enterprise, Education). Add-ons can extend it.30 days (Basic, Plus, Family), 180 days (Professional, Essentials, Business, Standard) or 365 days (Business Plus, Advanced, Enterprise). Permanently deleted files cannot be restored from version history.

Sources: Google Drive Trash help and version help; Microsoft's deleted-files and version-history pages; Apple's iCloud.com recovery page; Dropbox's recovery and version history pages.

Two points follow from the table. First, 30 days is the common floor, so a file you notice missing next month may be gone. Second, these windows protect against slips, not against account loss or a failed subscription. Only a separate copy covers those.

When a file is missing or sync is stuck

Work through these in order and change nothing destructive until you have checked each.

  1. Check the account.Make sure you are signed in to the account that owns the file. A second account is a common reason a file "disappears".
  2. Check the web view.Sign in on the provider's website and search by name. If the file is there, the problem is the device app, not the data.
  3. Check Trash or Recently Deleted, then version history.Use the windows above. Do not empty the trash until you have what you need.
  4. Check the quota.Microsoft says that if you exceed your storage you "won't be able to upload, edit, or sync new files". Google counts Trash toward your storage, so emptying it frees space but removes the recovery option. Editorial suggestion: download anything valuable before bulk deletion.
  5. Read the app's status.OneDrive's sync problem page lists states such as paused sync, processing changes, file locked and account full. Microsoft's escalation order is to unlink and relink the account, then run its guided troubleshooter, then contact support.
  6. Protect unsynced work first.Editorial suggestion: before unlinking or reinstalling, copy local files that have not uploaded to a separate folder outside the sync folder.

For conflicting copies, open both versions and compare content, not just the modified time. Save one under a clear name before merging.

Why a share link fails

The Drive help page gives two facts that explain many share problems. If you own a file you have shared, people you shared it with keep access until the file is permanently deleted from Trash. If someone else owns the file, you cannot delete it; you can only remove it from your Drive, and the others keep access.

If a link does not open for a recipient, check these in order: the owner may have moved or deleted the file, changed the permission, or the recipient may be signed in under a different account. Ask the owner to confirm the exact file and the recipient's address. Editorial suggestion: test a sensitive share by opening the link in a private window or from a second account before sending it.

Keeping a copy sync cannot touch

The NCSC's backup guidance sets out a recovery rule (some cloud services restore older versions and recover deleted data only for a limited time, so check that yours does) and the 3-2-1 rule: at least three copies, on two devices, with one offsite. Its offline rule says to keep at least one backup offline at any given time. You cannot unplug cloud storage, so the NCSC says it must be "digitally disconnected" when not in use, through account protection, limited client access and access control.

For a household, the steps are in building a personal backup system. For how US state privacy rules touch cloud backups and device failure, see state privacy laws, cloud backup and device failure. Protect the account itself with a strong password and a second factor, since anyone who can sign in can reach your files.

Sources

In this guide

  1. How to build a personal backup system and prove that it worksA step-by-step home backup plan using the 3-2-1 rule, Time Machine or File History, a remote copy, protected keys and a restore test, based on CISA, NCSC and vendor documents.
  2. Sync, backup, archive, or sharing: which one actually protects your files?File sync, backup, archive, and sharing compared by purpose, change behavior, retention, access, recovery, ownership, and the failures each method handles.

More in Guides

Latest from Harper C. Hayes