TrekMail TrekMail

Trash and File Restoration

Deleted files go to Trash for 30 days. Restore with one click, or empty Trash to release storage immediately.

Article details

Type, difficulty, plans, and last updated info.

Type
Guide
Difficulty
Beginner
Plans
Starter · Pro · Agency
Last updated
May 7, 2026

Drive doesn't immediately destroy what you delete. Files and folders go to Trash first, where they stay for 30 days before being permanently removed. During those 30 days you can restore anything with one click. After, they're gone.

This guide covers how Trash works, what it costs you in storage, and how to handle the edge cases.

How Trash works

When you delete a file or folder in any Drive view (Account Drive in the dashboard, or webmail Drive), the item is moved to Trash. It disappears from its original location and shows up in the Trash view.

A few things happen as part of the move:

  • The item is marked as deleted with a timestamp.
  • It stops appearing in normal browse views.
  • It stops appearing in search results.
  • Public share links pointing at the file return the "not available" page.
  • Its bytes still count against your storage pool.
  • A 30-day clock starts running.

After 30 days, if you haven't restored the item or emptied Trash, the file is permanently removed. The bytes are released back to the pool, the database row is deleted, and the underlying object is removed from storage. There is no recovery beyond that point.

Finding Trash

In Account Drive (dashboard at /drive), there's a Trash link in the sidebar. Click it to see all trashed items.

In webmail Drive, look for the Trash entry in the Drive sidebar. Same view.

The Trash list shows:

  • File or folder name
  • Size (or item count for folders)
  • When it was deleted
  • Days remaining before permanent removal
  • A Restore button per row
  • A Delete forever button per row

Restoring an item

Click Restore next to any item. The item moves back to its original location — the folder it came from, with the same name and contents. If the original folder was also deleted (a folder moved to trash that contained the file you're restoring), you'll be asked which folder to restore the item into instead.

Folders restore recursively — restoring a top-level folder brings every subfolder and file with it, in their original structure.

There's no time limit on restoration during the 30-day window. A file deleted on day 1 and restored on day 29 looks identical to a file deleted on day 1 and restored on day 2.

Permanently deleting a single item

Click Delete forever next to a row to remove just that item from Trash immediately, ahead of the 30-day timer. This is useful when:

  • You've confirmed you don't need the file.
  • You're at your storage cap and need bytes back right now.
  • You deleted something sensitive and want it gone for sure.

Permanent delete is immediate and unrecoverable. We don't keep a hidden backup. If you delete forever, the file is gone.

Emptying Trash

The Trash page has an Empty trash button at the top. Click it and (after a confirmation prompt) every item in Trash is permanently deleted. Bytes are released to the pool right away.

Emptying Trash is usually the right move when:

  • You're freeing up storage urgently.
  • You've reviewed the list and confirmed nothing in it is needed.
  • You're about to take a big action (run a backup, hand over to a successor) and want a clean state.

It's not reversible. Items in Trash that you might still need should be restored before you empty.

What counts against the pool

This is the most-asked question, so let's be explicit.

Trashed items still count against your storage pool for the full 30 days they're in Trash. We're not pretending they're gone for accounting purposes — they really are still on disk, recoverable.

If you're at your storage cap and you delete a 5 GB file expecting the bytes to free up immediately, they don't. The 5 GB stays consumed until either:

  • 30 days pass and the file is auto-removed.
  • You manually permanently delete the file (or empty Trash).

If you need the bytes back urgently, empty Trash. There's no in-between option that "releases the bytes but keeps the file recoverable."

Trash and shared folders

This is the one wrinkle worth knowing.

In Account Drive, when the account owner deletes a shared folder, two things happen:

  • The folder goes to Account Drive's Trash.
  • Mailbox owners stop seeing it in their webmail Drive — the share is paused.

If the owner restores the folder within 30 days, the share reactivates automatically. The owner doesn't need to re-toggle "Share with account."

If 30 days pass and the folder is auto-removed, the share is gone with it. Same if the owner empties Trash.

Inside webmail Drive, when a mailbox owner deletes a file from a shared folder (not their personal folder), that file goes to the account-wide Trash, not the mailbox owner's personal Trash. Only the account owner can restore it from there.

This split is intentional. Files in shared folders are part of the company's resources, so the company (the account owner) is responsible for what happens after they're deleted.

Trash and download links

If a file with active public download links is moved to Trash, the links stop working immediately. The next request gets the "no longer available" page.

If you restore the file from Trash, the links reactivate automatically. Anyone with the URL can download again.

If 30 days pass and the file is auto-removed, the links are dead permanently. Same if you permanently delete the file from Trash.

This matters when you're sending a file to a client and then accidentally delete it. Restore from Trash within 30 days and the link your client has continues to work — they won't even know you fumbled it.

Trash retention period

The retention window is 30 days. It's long enough to handle "I deleted the wrong file last week" recovery, short enough to keep the platform from accumulating dead files indefinitely.

If you need a file kept for longer but don't want it in your active Drive view, the right pattern is to move it to a dedicated "Archive" folder rather than rely on Trash as cold storage.

Behaviour at the storage cap

If your pool is full and Trash contains 50 GB of stuff you don't need, the cleanest fix is empty Trash. Bytes release back to the pool immediately and uploads resume.

If you can't bring yourself to delete forever (you might still need something in Trash), the alternative is to upgrade — buy or expand the Drive Add-on so you have more headroom. The Add-on is purchased with prorated immediate effect, so capacity is available within a minute of payment clearing.

Note: when the storage pool is full, Drive uploads return an error, but email continues to flow until you actually exceed the pool by an inbound message size. The email cap and the Drive cap are evaluated against the same total.

Reviewing what was deleted

There's no separate audit history shown in Trash itself — the page is meant for recovery, not history. The Trash list shows who deleted each item and when, which covers most "who removed this?" questions.

Common scenarios

"I deleted a file two weeks ago and now I need it back." Open Trash, find the file (sort by deletion date if the list is long), click Restore. Done — file goes back to its original folder.

"I emptied Trash by accident." Empty Trash is permanent. We do not have a backup beyond the 30-day in-Trash window. The file is gone unless you have a copy elsewhere (your local disk, a separate backup, a forwarded email).

"I'm at the storage cap and Drive uploads are failing." Empty Trash if you have items in there you don't need. Failing that, delete large files manually then empty Trash. Failing that, upgrade your storage.

"A file I'm sharing publicly suddenly stopped downloading." Check whether the file is in Trash. Either you or someone else with access deleted it. Restore it from Trash and the link reactivates.

"I want to permanently delete a sensitive file right now, not wait 30 days." Delete the file (it goes to Trash), then in Trash click Delete forever on that one item. Gone in seconds.

What's next

Related articles

Jump to nearby guides that continue the workflow.

We use cookies for essential functionality. No ads, no ad tracking.

or
or

Reset email sent

If an account exists for this email, we've sent password reset instructions.

By continuing, you agree to TrekMail's Terms and Privacy Policy.