2019-12-01 08:21:20 +00:00
|
|
|
# Retrieving Data
|
|
|
|
|
|
|
|
If you have stored data with a miner in the network, you can search for it by CID
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ lotus client find <Data CID>
|
|
|
|
LOCAL
|
|
|
|
RETRIEVAL <miner>@<miner peerId>-<deal funds>-<size>
|
|
|
|
```
|
|
|
|
|
|
|
|
Retrieve data from a miner
|
|
|
|
|
|
|
|
```sh
|
2019-12-02 00:08:53 +00:00
|
|
|
$ lotus client retrieve <Data CID> <outfile>
|
2019-12-01 08:21:20 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
This will initiate a retrieval deal and write the data to the outfile. This process may take some time.
|