You selected a folder, pressed delete, and a second later realised it was the wrong one. Or you tidied up last week and have just discovered that something you needed went with the clutter. Either way, the first thing to know is that in cloud storage, delete is almost never the end.
This guide walks through how Trash works, how to get a file back, what the difference is between deleting and permanently deleting, and the habits that keep an accident from turning into a loss.
What happens when you delete
When you delete a file or folder in Onlinedrive, it moves to Trash. It is not erased. It leaves its original location, stops appearing in search results for your active files, and sits in Trash until one of two things happens: you restore it, or you permanently delete it.
Two things follow from this that are worth knowing before you panic:
- Deleted files still count against your storage until they are permanently deleted. If you deleted something to make room, you need to empty it from Trash too.
- Nothing in Trash is lost. The only way to lose a file for good is to permanently delete it, and that is a separate, deliberate action.
Step by step: getting a file back
1. Stop and do not empty Trash
The reflex after a mistake is to tidy. Do not. Emptying Trash is the one action that makes things unrecoverable. Leave it alone until you have what you need.
2. Open Trash
In the file manager, Trash is in the main navigation alongside your files, Recent and Starred. Open it. You will see everything you have deleted and not yet permanently removed, with the date it was deleted.
3. Find the file
If you deleted one thing a moment ago, it is at the top. If you are looking for something from a tidy-up last week, a few approaches:
- Sort by date deleted. Narrow it to the day you were tidying.
- Switch to list view if you are in grid view. Names and dates are easier to scan in a list.
- Look for the folder, not the file. If you deleted a folder, the folder is what is in Trash, with everything still inside it. Restore the folder and the contents come back with it.
- Preview before restoring. Click a file to preview it. If there are three files called
Invoice.pdfin Trash, previewing tells you which one is the one you want without restoring all three.
4. Restore
Select the file or folder and choose Restore. It goes back to where it was. If the original folder was also deleted, restore that folder first, or the file comes back into the nearest surviving location.
5. Check it landed
Go to the original location and confirm the file is there. Open it. If it is a folder, glance inside to confirm the contents are intact. Then you can relax.
Restoring several things at once
If a tidy-up went wrong and you need to undo a lot of it, select multiple items in Trash and restore them together. Sorting by date deleted and selecting everything from the session you regret is usually quicker than hunting for individual files.
If you deleted a whole folder tree, restoring the top folder restores everything beneath it in one action.
Permanent delete: what it is and when to use it
Permanent delete removes a file from Trash and from your storage. It cannot be undone. There is no second Trash behind the first one.
It exists for two good reasons. First, to free storage: a Trash full of old video exports is taking up space you might need. Second, for files you genuinely want gone: an old document with a client’s personal details, a draft that should not survive.
Use it deliberately:
- Permanently delete specific items you are certain about, rather than emptying Trash wholesale.
- Before emptying all of Trash, sort by date and look at anything deleted in the last couple of weeks. That is where regrets live.
- If a file is in Trash because it is sensitive and you want it gone, permanently delete it rather than leaving it there. Trash is still your storage; a file in it can still be previewed by anyone in your account.
Things that are not in Trash
A few situations where the file is not where you expect, and what to do.
You moved it, not deleted it. Dragging a file in a hurry can drop it into a nearby folder. Use search for the file name before assuming it was deleted. Recent is also useful: if you were working on the file today, it will be there regardless of where it ended up.
Someone else deleted it from a shared folder or workspace. Files deleted from a shared location go to Trash as well. In a workspace, check with whoever has admin rights; the item may be in the workspace’s Trash rather than your personal one.
The file was permanently deleted. If it is not in Trash and search does not find it, and you or someone else emptied Trash, the file is gone from the drive. Go to your other copies. This is exactly what a 3-2-1 backup is for: the external drive copy or the local copy on your computer.
You deleted it from your computer, not the drive. If you work with local copies, deleting a file on your laptop does not touch the copy in your drive. Check the drive before anything else; it is probably still there.
Habits that prevent the panic
Treat Trash as a buffer, not a bin. Let things sit in it for a week or two before permanently deleting. The cost is a bit of storage; the benefit is that every mistake has a grace period.
Star what you are working on. The files you are actively using are the ones you most need to not lose. Starring them makes them visible and makes accidental deletion less likely, because you see them every day.
Archive instead of delete. When a project ends, move the folder to an Archive folder rather than deleting it. Storage is cheap; recreating a finished project is not. Folder structures that still make sense a year from now describes how an Archive fits into an overall layout.
Be careful with bulk selection. Most accidental deletions of important things come from selecting a range that included more than intended. When deleting several items, read the count in the confirmation before confirming.
In a team, limit who can delete. Workspace roles exist partly for this. Contributors have limited rights over other people’s files; a new starter or outside contractor does not need the ability to delete the team’s work. Workspaces for small teams explains the roles.
Keep a second copy. Trash protects against your own mistakes within the drive. It does not protect against someone with access to your account deleting and then emptying Trash, which is one of the reasons two-factor authentication matters, and it does not protect against anything that happens to the account itself. A local or external copy of what matters is the real safety net.
If you need help
If you cannot find a file and are not sure what happened to it, open a support ticket with the file name, the folder it was in, and roughly when you last saw it. The more detail, the quicker the answer. The knowledge base also has the current step-by-step for Trash with screenshots of the actual screens.
Next step
Open Trash now, while nothing is wrong. Look at what is in there. Restore anything you recognise as a mistake, permanently delete anything you are certain about, and leave the rest. Knowing what Trash looks like on a calm day makes it much easier to use on a bad one.
Related Articles
Getting started with Onlinedrive: your first hour
A practical walkthrough of your first hour with a new cloud storage account: picking a region, uploading, organising, sharing and locking the account down.
Turn on two-factor authentication for your cloud account today
A password alone is not enough to protect years of files. Two-factor authentication takes a few minutes to set up and stops the most common way accounts get taken over.
File storage for freelancers: deliverables, handoffs and keeping clients separate
Freelancers juggle many clients' files at once and have nobody else to blame when something goes missing. A simple system for storing, delivering and closing out client work.

