2019-12-01 08:21:20 +00:00
# Retrieving Data
2019-12-18 21:46:09 +00:00
> There are recent bug reports with these instructions. If you happen to encounter any problems, please create a [GitHub issue](https://github.com/filecoin-project/lotus/issues/new) and a maintainer will address the problem as soon as they can.
2019-12-06 15:26:03 +00:00
2020-07-11 08:55:13 +00:00
Here are the operations you can perform after you have stored and sealed a **Data CID** with the **Lotus Miner** in the network.
2019-12-06 15:26:03 +00:00
2020-08-20 16:45:41 +00:00
If you would like to learn how to store a **Data CID** on a miner, read the instructions [here ](https://lotu.sh/en+storing-data ).
2019-12-06 15:26:03 +00:00
## Find by Data CID
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
lotus client find < Data CID >
# LOCAL
# RETRIEVAL <miner>@<miner peerId>-<deal funds>-<size>
2019-12-01 08:21:20 +00:00
```
2019-12-06 15:26:03 +00:00
## Retrieve by Data CID
2019-12-01 08:21:20 +00:00
2019-12-09 12:53:40 +00:00
All fields are required.
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
lotus client retrieve < Data CID > < outfile >
2019-12-01 08:21:20 +00:00
```
2019-12-18 21:46:09 +00:00
If the outfile does not exist it will be created in the Lotus repository directory.
2019-12-09 12:53:40 +00:00
2019-12-18 21:46:09 +00:00
This command will initiate a **retrieval deal** and write the data to your computer. This process may take 2 to 10 minutes.