# FTP or SMB with password

**URL:** <https://kopia.discourse.group/t/ftp-or-smb-with-password/2157>\
**Category:** Support\
**Created:** [July 18, 2023, 9:05pm UTC](https://kopia.discourse.group/t/ftp-or-smb-with-password/2157 "2023-07-18T21:05:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![randombyte-developer](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/randombyte-developer/32/696_2.png) [@randombyte-developer](https://kopia.discourse.group/u/randombyte-developer)\
**Post date:** [July 18, 2023, 9:05pm UTC](https://kopia.discourse.group/t/ftp-or-smb-with-password/2157/1 "2023-07-18T21:05:21Z")

</div>

Hi!

I am running Kopia in a container on TrueNAS. I plan to backup to a USB SSD and then “sync-to” the repo from the SSD to Backblaze. I will also probably sync it to an HDD at some point.

The container is running fine. But I couldn’t get mounting the SSD into the container to work. There is an option to mount devices into the container but it doesn’t work, I don’t see any errors or logs regarding this, and I can’t really get support from TrueCharts (who are providing the integration/helm chart) because it is in alpha (or incubator in their terms).

Today I realized I could connect the SSD to my router (FritzBox) which has a NAS feature. It makes the connected storage device available via SMB and FTP. I can access it via SMB and FTP on Windows and Linux. But Kopia doesn’t seem to support FTP, only SFTP. And Kopia also doesn’t seem to support non-anonymous SMB connections. At least it just says it can’t find the SMB path.

For SMB I tried using `\\192.168.2.1\fritz.nas\MAIN_BACKUP\kopia\test1`. This is copied from Windows explorer. Is any other format needed? Or is authenticated SMB just not supported by Kopia.

Sadly I can’t make my router provide it as SFTP or turn off authentication for SMB.

---

<div class="post-metadata">

**Author:** ![ChrisA](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@ChrisA](https://kopia.discourse.group/u/ChrisA)\
**Post date:** [July 19, 2023, 4:50am UTC](https://kopia.discourse.group/t/ftp-or-smb-with-password/2157/2 "2023-07-19T04:50:45Z")

</div>

Hi @randombyte-developer,

i am not using TrueNas and therefore can only provide limited help. Have you looked at [Using Launch Docker Image | (truenas.com)](https://www.truenas.com/docs/scale/scaletutorials/apps/docker/)?

There you can add your mount as a host path volume. On Kopia UI, you then can access the mount easily.

Cheers,

---

<div class="post-metadata">

**Author:** ![randombyte-developer](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/randombyte-developer/32/696_2.png) [@randombyte-developer](https://kopia.discourse.group/u/randombyte-developer)\
**Post date:** [July 19, 2023, 5:48am UTC](https://kopia.discourse.group/t/ftp-or-smb-with-password/2157/3 "2023-07-19T05:48:55Z")

</div>

TrueNAS doesn’t support mounting USB drives as normal folders. If that would be possible, I could use hostpath, right. As a workaround I could SSH into TrueNAS and create some script to mount the USB drive after boot. But I would rather use a supported solution.

Actually I might still find my old raspberry pi (32 bit), and use that to provide an sftp server. I would rather go this route than modifying TrueNAS.

---

<div class="post-metadata">

**Author:** ![randombyte-developer](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/randombyte-developer/32/696_2.png) [@randombyte-developer](https://kopia.discourse.group/u/randombyte-developer)\
**Post date:** [July 19, 2023, 9:35pm UTC](https://kopia.discourse.group/t/ftp-or-smb-with-password/2157/4 "2023-07-19T21:35:25Z")

</div>

As I wrote earlier, I am using a Raspberry 1 B where I have set up an SFTP server and manually mounted the USB drive. The connection from Kopia works and the snapshot is in progress now. This is more of a temporary solution right now, but it works 🙂
