# Move frome Truenas Scale to Dietpi

**URL:** https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547
**Category:** General Discussion
**Created:** [1 August 2023 18:19 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547 "2023-08-01T18:19:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![daschmidt](https://dietpi.com/forum/user_avatar/dietpi.com/daschmidt/32/4420_2.png) [@daschmidt](https://dietpi.com/forum/u/daschmidt)
#### Post date: [1 August 2023 18:19 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/1 "2023-08-01T18:19:00Z")

</div>

Hello,

I’m new to dietpi, but I love it already.  
Have at the time a “Nas” builded by my own. But this consumes a lot of electricity and  
in the blog I readed something from a own build with some HDD to usb and mdadm for raid.  
This looks very intresting for me.  
Now there are some question:

- Is it possible to install [borg-backup](https://www.borgbackup.org/) when yes can [this script](https://www.c-rieger.de/backup-mit-de-duplizierung/) been used for the nextcloud backup from dietpinextcloud?
- Is it possible tu install sendmail?
- have dietpi a easy proxy manager like nginxproxymanager
- Is there a software to have a gui for smb/nfs shares or only possible per shell?

Sorry for my bad english, but I hope it’s clear what I mean and someone can help.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [1 August 2023 18:47 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/2 "2023-08-01T18:47:49Z")

</div>

First auf all, willkommen in der Community 😉

Basically, DietPi is not an operating system in its own right. It is a set of bash scripts on a normal Debian system. We only run a reduced/minimal number of apt packages. That’s why we call it Diet. In general you are free to install every software on your own. No need to use our software install script.

Let’s try to answer your question one by one.

> [@daschmidt](#):
>
> Is it possible to install [borg-backup](https://www.borgbackup.org/) when yes can [this script](https://www.c-rieger.de/backup-mit-de-duplizierung/) been used for the nextcloud backup from dietpinextcloud?

Should be possible. We offer NFS client functionality within `dietpi-drive_manager` to mount NFS shares directly from a NFS server. Our default mount point is somewhere in `/mnt`. Means, the borg backup script would need to be adjusted accordingly. Or you mount the NFS share manually. As you like. Further adjustments on the borg script might be needed to fit to NC data directory aso.

> [@daschmidt](#):
>
> Is it possible tu install sendmail?

of course, same was as on other Debian based systems.

> [@daschmidt](#):
>
> have dietpi a easy proxy manager like nginxproxymanager

We do not offer a direct proxy manager. You can just use Nginx or install Docker + NPM. I have created my own script that could work similar to our dietpi-software. Just remember that NPM conflicts with the Nextcloud webserver and you might need to move the NC webserver to another HTTP port first. [DietPi-Software | NGINX Proxy Manager (NPM) · Issue #4417 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/issues/4417#issuecomment-1336435898)

> [@daschmidt](#):
>
> Is there a software to have a gui for smb/nfs shares or only possible per shell?

No we don’t have such a gui. But you can have a look into our online docs for config options. [File Servers Options - DietPi.com Docs](https://dietpi.com/docs/software/file_servers/#samba)

> [@daschmidt](#):
>
> Sorry for my bad english

Nothing to be sorry about, feel free to use translation tools like DeepL.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [1 August 2023 19:43 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/3 "2023-08-01T19:43:22Z")

</div>

> [@Joulinar](#):
>
> We do not offer a direct proxy manager.

Sorry, need to correct myself. We don’t offer NPM as it is a simple Docker container. However we have native proxy apps available like [HAProxy](https://dietpi.com/docs/software/advanced_networking/#haproxy) or [frp](https://dietpi.com/docs/software/advanced_networking/#frp). And of course, any web server like Nginx or Apache2 can also be used as a reverse proxy.

---

<div class="post-metadata">

### Author: ![daschmidt](https://dietpi.com/forum/user_avatar/dietpi.com/daschmidt/32/4420_2.png) [@daschmidt](https://dietpi.com/forum/u/daschmidt)
#### Post date: [2 August 2023 07:25 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/4 "2023-08-02T07:25:50Z")

</div>

Thanks, then you have already helped me a lot

> [@Joulinar](#):
>
> We do not offer a direct proxy manager. You can just use Nginx or install Docker + NPM. I have created my own script that could work similar to our dietpi-software. Just remember that NPM conflicts with the Nextcloud webserver and you might need to move the NC webserver to another HTTP port first. [DietPi-Software | NGINX Proxy Manager (NPM) · Issue #4417 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/issues/4417#issuecomment-1336435898)

Then I will install the nginx proxy manager via docker. However, there is still a question: Have so far always forwarded in the proxy manager to IP:port, how does that work with nextcloud from dietpi, there is yes ip/nextcloud?

> [@Joulinar](#):
>
> No we don’t have such a gui. But you can have a look into our online docs for config options. [File Servers Options - DietPi.com Docs](https://dietpi.com/docs/software/file_servers/#samba)

i read into samba via shell and saw that it is also possible to create home directories for users. Do you know if it is possible to create this home directory on /mnt/harddisk?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [2 August 2023 07:59 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/5 "2023-08-02T07:59:33Z")

</div>

> [@daschmidt](#):
>
> Have so far always forwarded in the proxy manager to IP:port, how does that work with nextcloud from dietpi, there is yes ip/nextcloud?

It’s working exactly same way. There is nothing different on DietPi. Within NPM, forward IP and port 80. The subfolder doesn’t need to be configured in NPM. Afterwards, you can reach NC via `your.ddns.com/nextcloud`

> [@daschmidt](#):
>
> Do you know if it is possible to create this home directory on /mnt/harddisk?

Yes should be possible. Just need to specify it during user creation.

---

<div class="post-metadata">

### Author: ![daschmidt](https://dietpi.com/forum/user_avatar/dietpi.com/daschmidt/32/4420_2.png) [@daschmidt](https://dietpi.com/forum/u/daschmidt)
#### Post date: [2 August 2023 08:05 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/6 "2023-08-02T08:05:31Z")

</div>

> [@Joulinar](#):
>
> It’s working exactly same way. There is nothing different on DietPi. Within NPM, forward IP and port 80. The subfolder doesn’t need to be configured in NPM. Afterwards, you can reach NC via `your.ddns.com/nextcloud`

thanks, but it’s easier when I can use www.cloud.domain.at instead www.domain/nextcloud

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [2 August 2023 08:09 UTC](https://dietpi.com/forum/t/move-frome-truenas-scale-to-dietpi/17547/7 "2023-08-02T08:09:22Z")

</div>

> [@daschmidt](#):
>
> but it’s easier when I can use www.cloud.domain.at instead www.domain/nextcloud

In this case, you would have to reconfigure the NC web server and adjust the corresponding NC configuration files.
