# Restore deleted file

**URL:** https://forum.duplicati.com/t/restore-deleted-file/14290
**Category:** Support
**Created:** [April 21, 2022, 5:59am UTC](https://forum.duplicati.com/t/restore-deleted-file/14290 "2022-04-21T05:59:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)
#### Post date: [April 21, 2022, 4:14pm UTC](https://forum.duplicati.com/t/restore-deleted-file/14290/2 "2022-04-21T16:14:41Z")

</div>

You can use the [FIND](https://duplicati.readthedocs.io/en/latest/04-using-duplicati-from-the-command-line/#the-find-command) command to search all versions.

Quick instructions:

- Go to the main web UI and click on your backup job to expand options
- Click on the blue “Commandline …” link
- Change the Command dropdown to “find”
- Replace the contents of the Command line arguments box with the filename/pattern you want to look for
- On the second line of the Command line arguments box, type `--all-versions`
- In the Advanced options section below, remove any includes or excludes
- Scroll to the bottom and click the “Run find command now” button

Here’s an example of me searching for a certain file that only existed in some older backups:

 ![capture1](https://forum.duplicati.com/uploads/default/original/2X/f/fc838588dba900e9c23ee7edc57421b01475d85a.png)

And here are the results, Duplicati is telling me it existed in the oldest two backup versions:  
 ![capture2](https://forum.duplicati.com/uploads/default/original/2X/c/ca88c585daa9616de0b232e5dc1f55836cade86a.png)

Not quite as user friendly as a “show deleted files” option, but it’s not too bad.

---

_[View the full topic](https://forum.duplicati.com/t/restore-deleted-file/14290)._
