# Location of channel.backup on OS 0.5.0?

**URL:** https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341
**Category:** Support and Troubleshooting
**Created:** [June 19, 2022, 8:23pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341 "2022-06-19T20:23:10Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![OrangePill21](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/orangepill21/32/2967_2.png) [@OrangePill21](https://community.umbrel.com/u/OrangePill21)
#### Post date: [June 19, 2022, 8:23pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/1 "2022-06-19T20:23:10Z")

</div>

Need some help please.  
After restoring my Raspberry Pi4 with 1TB SSD from a hardware crash, I am unable to SCP my channel.backup file to my Umbrel running 0.5.0. I keep getting the error, “No such file or directory” and file does not copy. When I try to browse to to the /home/umbrel/umbrel/lnd/channel.backup file, it does not exist. Can someone please tell me what I’m missing?

This is the terminal error i receive:  
++++++++++++++++++++++++++++++++++++++++++++++++++++  
scp /Users/DesertPC/Desktop/channel.backup umbrel@umbrel.local:/home/umbrel/umbrel/lnd/channel.backup  
umbrel@umbrel.local’s password:  
/Users/DesertPC/Desktop/channel.backup: No such file or directory  
++++++++++++++++++++++++++++++++++++++++++++++++++++  
The backup file is being dragged and dropped into terminal window so the path should be good.  
Any ideas?

Dave

---

<div class="post-metadata">

### Author: ![Nigu](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Nigu](https://community.umbrel.com/u/Nigu)
#### Post date: [June 20, 2022, 11:43pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/2 "2022-06-20T23:43:33Z")

</div>

For what it’s worth, I found it here:

`/home/umbrel/umbrel/app-data/lightning/data/lnd_backup/data/chain/bitcoin/mainnet/`

You can use `find . -name “channel.backup” to find it yourself.

---

<div class="post-metadata">

### Author: ![OrangePill21](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/orangepill21/32/2967_2.png) [@OrangePill21](https://community.umbrel.com/u/OrangePill21)
#### Post date: [June 21, 2022, 12:01am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/3 "2022-06-21T00:01:13Z")

</div>

Thanks so much Nigu!  
I’m differently on the right path now.  
I have found the channel.backup file but I am still getting the error in terminal every time I try to copy it.  
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
Last login: Mon Jun 20 23:44:54 2022 from 10.0.1.18  
**umbrel@umbrel** : **~ $** scp /Users/DesertPC/Desktop/channel.backup umbrel@umbrel.local:/umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet  
umbrel@umbrel.local’s password:  
/Users/DesertPC/Desktop/channel.backup: No such file or directory  
**umbrel@umbrel** : **~ $**  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I am using a iMac and dragging and dropping the backup file directly into the terminal window to generate the path. Not sure why I’m getting the error. Any ideas would be appreciated.  
Dave

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [June 21, 2022, 12:24am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/4 "2022-06-21T00:24:39Z")

</div>

I am trying the opposite, which is to take the channel.backup file from umbrel to my Macbook.  
I also cannot cd to home/umbrel/umbrel/lnd/channel.backup after ssh into my umbrel.

 ![Screen Shot 2022-06-21 at 07.24.21](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/a/a6ba673d7b911943a985ce3fc0e8956993ddbf9f.png)

Not sure if I use correct command syntax. Pls help advise.

Thanks,

---

<div class="post-metadata">

### Author: ![Nigu](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Nigu](https://community.umbrel.com/u/Nigu)
#### Post date: [June 21, 2022, 12:58am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/5 "2022-06-21T00:58:22Z")

</div>

@lost_knight: You should probably use /home/… (you need to add the first backslash)  
@OrangePill21: it’s because the file does not exist in the path you are specifying locally. Maybe `cd` into that folder to check.

I am not from Umbrel, just came here because I’m having issues myself.

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [June 21, 2022, 1:05am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/6 "2022-06-21T01:05:38Z")

</div>

I did add the backslash and the result unchanged.

When I ls umbrel, it does not show any lnd folder.

 ![Screen Shot 2022-06-21 at 08.02.27](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/f/fa9f957d6346b4fdce56b7fe5065836a768c4870.png)

---

<div class="post-metadata">

### Author: ![OrangePill21](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/orangepill21/32/2967_2.png) [@OrangePill21](https://community.umbrel.com/u/OrangePill21)
#### Post date: [June 21, 2022, 11:51pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/7 "2022-06-21T23:51:47Z")

</div>

I used the “ls” command to list the files in each folder and the “cd” to change directories. With this, I was able to find the channel.backup file at the following location:

/umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet

Once there, with the LS command, you can see the channel.backup file.  
See if that helps.

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [June 23, 2022, 12:15pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/8 "2022-06-23T12:15:49Z")

</div>

> [@OrangePill21](#):
>
> /umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet

It does help. But i need to add “~” before the path. My full path is “~/umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet”.  
I see the backup channel file but not too sure if it it the file of the previous lightning node instance or of the current instance. Because I reinstalled lightning immediately after realizing my mistake and downloaded a channel backup file already.

By the way, mayak replied and I provided him my backup ID. Will keep you posted.

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [June 29, 2022, 11:47am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/9 "2022-06-29T11:47:28Z")

</div>

I still not yet received the channel.backup file from @mayank

---

<div class="post-metadata">

### Author: ![mayank](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/mayank/32/26_2.png) [@mayank](https://community.umbrel.com/u/mayank)
#### Post date: [June 30, 2022, 1:40pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/10 "2022-06-30T13:40:14Z")

</div>

Sorry about that @lost_knight. It looks like no backup exists for the backup ID I received. I think it’s probably because it’s your new backup ID. Can you please DM me your previous backup ID? You can get it by running this on your Umbrel:

```auto
SEED="absorb salt terrific home..."

```

(Replace the words with your 24 words, all separated by a space)

Then run this and it would output your backup ID:

```auto
printf "%s" "umbrel_backup_id" | openssl dgst -sha256 -hmac "$SEED"

```

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [July 1, 2022, 11:54pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/11 "2022-07-01T23:54:02Z")

</div>

Sent it to you in DM @mayank

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [July 16, 2022, 8:17am UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/12 "2022-07-16T08:17:20Z")

</div>

Hi @mayank

I am still waiting for your help on the most recent backup file. I sent you the old backup ID.

Thanks,

---

<div class="post-metadata">

### Author: ![lost\_knight](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lost\_knight](https://community.umbrel.com/u/lost_knight)
#### Post date: [July 20, 2022, 1:34pm UTC](https://community.umbrel.com/t/location-of-channel-backup-on-os-0-5-0/8341/13 "2022-07-20T13:34:49Z")

</div>

@mayank, help me with my latest 2 questions.

Thanks,
