> For the complete documentation index, see [llms.txt](https://help.aphex.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aphex.co/docs/diary/mobile/managing-a-diary-entry.md).

# Managing a Diary Entry

{% hint style="info" %}
**Who can access this feature?**

All Contributors on Diaries can archive and restore versions, delete Entries, and export Entries as PDFs.
{% endhint %}

### Version History & Restoring Changes

***

Entry versions save automatically every 2 minutes, but you can view older versions of an Entry and restore them if needed.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FIF2CXaZn6jjVY5LJbnJb%2FDiary%20entry%20history.svg?alt=media&amp;token=96fd22a8-30f2-4494-b958-266884bc341a" alt=""><figcaption></figcaption></figure>

**To view and restore a previous version:**

* Open the Diary Entry and tap <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2Fg1eRPp4G2RO3r6Wlpk9l%2FOverflow.svg?alt=media&amp;token=701fd1d1-3874-4836-ac68-859d75d6597a" alt="" data-size="line"> in the top right-hand corner
* Select <kbd>Diary History</kbd> and click on any previous versions to preview it
* If you want to restore that version, click <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FLKjxIQHA4GYEPS7dqDSO%2FRestore%20version%20button.svg?alt=media&amp;token=a2fc4278-1ce7-45a2-aa34-1e2ee6cf98fc" alt="" data-size="line">
* The Entry will revert to the selected version and its contents

<details>

<summary>Versioning Rules</summary>

* Versions are saved automatically every 2 minutes while editing
* Any Contributor with edit access can restore a previous version
* Restoring a version replaces the current version of the Entry
* All Contributors and changes are tracked in version history

</details>

### Archiving, Restoring & Deleting Entries

***

Diary Entries can be archived, restored and deleted. Archived entries don't count toward performance or completion metrics.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FPmlBwuuRjPRM0x3ggMMT%2FDiary%20entry%20options%20-%20Archive.svg?alt=media&amp;token=896883f4-d9d1-43e2-af6a-7a93a39f04ec" alt=""><figcaption></figcaption></figure>

**To archive an entry:**

* Click the Diary Entry from the Diary Entries list
* Tap the <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2Fg1eRPp4G2RO3r6Wlpk9l%2FOverflow.svg?alt=media&amp;token=701fd1d1-3874-4836-ac68-859d75d6597a" alt="" data-size="line"> menu in the top right-hand corner
* Tap <kbd>Archive Diary Entry</kbd>
* The entry moves to Archived status and hides from your Entries list

**To restore an archived entry:**

* On the <kbd>All Diary Entries</kbd> list, click <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FLM1KQg3VULb6pDfb1SEe%2Ffilter.svg?alt=media&amp;token=3873ad99-0653-4ebf-bc61-e9d4932617d2" alt="" data-size="line"> and tap ![](https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FtV6LfxEZW7RC5bZWI8BP%2FArchived%20Dairy%20Entries%20Filter%20Button.svg?alt=media\&token=29e2709a-8eaf-42b9-a326-b9bdf5b06136)
* Click the Archived Entry you want to restore
* Tap <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FAPdPTmApYvEHN9pYL91q%2Frestore.svg?alt=media&amp;token=6c9e5bd2-0009-4e65-bca8-8f9b9fc5191e" alt="" data-size="line"> - the entry will return to its previous status (Open, Awaiting Review or Locked)

**To delete an archived entry:**

* On the <kbd>All Diary Entries</kbd> list, click <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FLM1KQg3VULb6pDfb1SEe%2Ffilter.svg?alt=media&amp;token=3873ad99-0653-4ebf-bc61-e9d4932617d2" alt="" data-size="line"> and tap ![](https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FtV6LfxEZW7RC5bZWI8BP%2FArchived%20Dairy%20Entries%20Filter%20Button.svg?alt=media\&token=29e2709a-8eaf-42b9-a326-b9bdf5b06136)
* Select the Archived Entry you want to delete
* Tap the <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2Fg1eRPp4G2RO3r6Wlpk9l%2FOverflow.svg?alt=media&amp;token=701fd1d1-3874-4836-ac68-859d75d6597a" alt="" data-size="line"> menu in the top right-hand corner
* Tap <kbd>Delete Diary Entry</kbd>

<details>

<summary>Archival and Deletion Rules</summary>

* Archived entries are hidden by default but can be viewed with filters
* Archived entries don't count toward completion, streaks, or performance metrics
* Only users who can edit an entry can delete it
* Archived entries remain until restored or permanently removed by an Admin
* Admins can permanently delete entries, which erases them completely and cannot be undone

</details>

### Exporting Entries to PDF

***

Export individual or multiple entries as PDF files for sharing and reporting.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FwkpiLOq8AuVm0pzQcxfV%2FDownload%20page.svg?alt=media&amp;token=bbfc2387-69ed-47cc-a4a1-f62d0b15a7c2" alt=""><figcaption></figcaption></figure>

**To export a single entry:**

* Tap the Diary Entry to open Diary Entry Details
* Tap the <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2Fg1eRPp4G2RO3r6Wlpk9l%2FOverflow.svg?alt=media&amp;token=701fd1d1-3874-4836-ac68-859d75d6597a" alt="" data-size="line"> menu in the top right-hand corner
* Select which sections to include ![](https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FtmKa0esyx9sHu9S2hGQX%2FVisibility.svg?alt=media\&token=3947542b-038d-492c-a254-3ea86e810728) or hide ![](https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FzRXR1BlpRIjKtoAtQdls%2Fhide.svg?alt=media\&token=e50f0796-25e3-4219-8a90-e9d598558138) and drag & drop the sections to reorder them
* Click <img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FuVSgAlpxObOsQdyj8ay5%2FText%20Buttons.svg?alt=media&amp;token=d4f86cdb-7ef7-4856-afde-43df04c6fdb1" alt="" data-size="line">

<details>

<summary>Export Rules</summary>

* All users with Diary access can export entries, regardless of status
* Default sections shown: Header, Summary, Tasks, Media, Weather, Quantities, Notes
* Hiding a section removes it completely from the PDF
* Export configuration is remembered per user per session and applies to future exports
* PDFs are always A4 size
* Multi-page PDFs show page numbers (e.g., "Page 1 of 3")
* Footer includes the Entry Name, Export Date & Time (local time), User Name of the user who exported
* Task names in PDFs reflect current data (if a task was renamed after entry creation, PDF shows current name)
* Media and notes appear in chronological order by capture/creation date

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aphex.co/docs/diary/mobile/managing-a-diary-entry.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
