# Retention and Forever

Source: https://dropshelf.ai/docs/use/retention

How long a dropshelf drop stays online, what happens when it expires, and how to keep it longer or Forever.

Every dropshelf drop has a retention: how long it stays online. When the retention ends, the drop
expires and is deleted. A drop kept Forever never expires. This page is for members who publish
drops and want to know how long they last.

## How the clock runs [#how-the-clock-runs]

Retention is a number of whole days, or Forever. The clock starts when a drop is created, and starts
again each time a version goes live. Uploading a draft does not move it.

Changing the retention counts from the moment you save. A drop published last week and changed to 7
days today expires seven days from today. Shortening works the same way: 1 day means a day from
now, never a day from when the drop was published.

## What your instance offers [#what-your-instance-offers]

Your admin decides which lengths members get, the longest custom length, whether Forever is allowed,
and how long a new drop lives when you choose nothing. A default instance offers these:

- **1 day**, **1 week** and **1 month**, with 1 month for a new drop.
- **Custom**, up to 365 days.
- **Forever**.

The admin's side is on [Set limits and retention](/docs/self-host/configure/limits-and-retention).

## Forever [#forever]

A drop kept Forever stays online until someone deletes it. It is always a choice: no drop becomes
Forever by itself. **Forever** appears among the choices only when your admin allows it.

## Change how long a drop lives [#change-how-long-a-drop-lives]

The owner and admins can set any length the instance offers. An editor can only keep a drop online
longer, so the choices that would end it sooner are dimmed.

To change a drop's retention:

1. Open the drop and select **Settings**.
2. Under **Stays online**, select one of the lengths or **Forever**. The change applies at
   once, and the date beside the heading shows the new end.
3. For another length, select **Custom**, pick a day under **Online until** and select **Set**.

There are quicker ways to keep a drop that is about to expire:

- **Extend** on the drop's row in the list view sets it to a month from today.
- The card at the top of the drop's panel offers the same with **Extend 1 month**.
- On **My drops** or **Expiring soon**, select several drops and choose **Extend**. Drops kept
  Forever, and drops with more than a month left, stay as they are.

From the CLI, `dropshelf push --retention` sets a new drop's retention; see the
[CLI reference](/docs/reference/cli#push).

## See what expires soon [#see-what-expires-soon]

The dashboard marks your own drops as they near their end:

- A drop's card or row shows an hourglass badge with the time left. It appears once fewer than
  seven days remain and less than half the retention is left. It turns red in the last 24 hours.
  Select it to change the retention.
- **Expiring soon** in the sidebar lists your drops in that state, soonest first. In the list view,
  its **Expires** column shows the time left.
- When you open one of them, a card at the top of its panel offers **Extend 1 month** and **Other
  lengths**.

The dashboard is the place to check: dropshelf sends no email or notification before a drop expires.

## When a drop expires [#when-a-drop-expires]

At the end of its retention, the drop's address stops serving the drop. Anyone who opens it sees a
page saying the drop expired, and when.

Shortly after, dropshelf deletes the drop. It leaves your lists, and its name is free for anyone to
use for a new drop. Its files, versions, comments and data go on the next cleanup.

<Callout type="warn">
An expired drop cannot be brought back. To keep one, extend it or keep it Forever before it expires.
</Callout>

## Related topics [#related-topics]

- [Publish a drop](/docs/use/publish)
- [Versions, drafts and previews](/docs/use/versions)
- [Share a drop](/docs/use/share)
- [Set limits and retention](/docs/self-host/configure/limits-and-retention)
- [Glossary](/docs/reference/glossary)
