# Restoring wallet from .zcash directory files instead of normal backup?

**URL:** <https://forum.zcashcommunity.com/t/restoring-wallet-from-zcash-directory-files-instead-of-normal-backup/32803>\
**Category:** Technical Support\
**Created:** [February 28, 2019, 2:14am UTC](https://forum.zcashcommunity.com/t/restoring-wallet-from-zcash-directory-files-instead-of-normal-backup/32803 "2019-02-28T02:14:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gothlacroix](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@gothlacroix](https://forum.zcashcommunity.com/u/gothlacroix)\
**Post date:** [February 28, 2019, 2:14am UTC](https://forum.zcashcommunity.com/t/restoring-wallet-from-zcash-directory-files-instead-of-normal-backup/32803/1 "2019-02-28T02:14:52Z")

</div>

A tale as old as time: An OS (Ubuntu 16.04 LTS) was hosed due to reasons unrelated to zcash, and although older backups of the user’s whole home directory exist, `zcash-cli backupwallet` and `z_exportwallet` were never once ran. Is there a way to restore a zec wallet to a different machine which is also running [a newer version of] Ubuntu using anything in the `$./zcash` directory? Is this as simple as just copying $`./zcash` into the new user’s home directory and re-installing zcash via the instructions for Debian or is it more complicated than that?

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [February 28, 2019, 3:41am UTC](https://forum.zcashcommunity.com/t/restoring-wallet-from-zcash-directory-files-instead-of-normal-backup/32803/2 "2019-02-28T03:41:42Z")

</div>

Yes, that will work as it contains the wallet.dat file. You’ll also need to redownload the parameters but simply following the installation guide again will cover this.
