# Cannot export wallet until the zcashd -exportdir option has been set

**URL:** <https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704>\
**Category:** zcashd client\
**Created:** [March 14, 2017, 4:36pm UTC](https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704 "2017-03-14T16:36:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyhistory](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/lyhistory/32/1667_2.png) [@lyhistory](https://forum.zcashcommunity.com/u/lyhistory)\
**Post date:** [March 14, 2017, 4:36pm UTC](https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704/1 "2017-03-14T16:36:14Z")

</div>

got this error, don’t know how to export now, before upgrade zcash version I backed up once successfully with the same command, but now get this problem, anyone can tell me how to do?  
thanks

 ![](https://global.discourse-cdn.com/zcash/original/2X/5/59efd9bcfbedbbfa2ca4c02d34758da46fe80040.png)

---

<div class="post-metadata">

**Author:** ![lakesidedan](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@lakesidedan](https://forum.zcashcommunity.com/u/lakesidedan)\
**Post date:** [March 14, 2017, 8:29pm UTC](https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704/2 "2017-03-14T20:29:00Z")

</div>

I think you will find an answer here:  
[https://forum.zcashcommunity.com/search?q=exportdir](https://forum.zcashcommunity.com/search?q=exportdir)

---

<div class="post-metadata">

**Author:** ![lyhistory](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/lyhistory/32/1667_2.png) [@lyhistory](https://forum.zcashcommunity.com/u/lyhistory)\
**Post date:** [March 15, 2017, 1:07am UTC](https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704/3 "2017-03-15T01:07:41Z")

</div>

thanks bro, that’s what I need:grin:

---

<div class="post-metadata">

**Author:** ![lyhistory](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/lyhistory/32/1667_2.png) [@lyhistory](https://forum.zcashcommunity.com/u/lyhistory)\
**Post date:** [March 23, 2019, 4:36am UTC](https://forum.zcashcommunity.com/t/cannot-export-wallet-until-the-zcashd-exportdir-option-has-been-set/14704/4 "2019-03-23T04:36:21Z")

</div>

oh, just for those who don’t know:

1. zcashd -exportdir= --daemon
2. zcash-cli z\_exportwallet zcash\_backup20190323

then you’ll find backup file in your
