Yunohost on a Western Digital PR4100 4 bay in raid 5

Hello !

I got a My Cloud PR4100 at home. There is plenty of disc space, the half is used right now. And I’d love not loosing this data !

So my question is : could I install yunohost on that machine ? As the actual system is really bad, I’ll try at least to install nextcloud only.

I got acces via SSH. It’s an intel pentium from 2015, so no decode option for h265 nor VP9, that’s bad as I’m a filmmaker.

For the moment I even don’t have access to docker : Docker and Portainer for OS5 - #20 by CptCurk - Community Developed Apps - WD Community
Not working for me.

do you think that could work ? Any idea ? That could be so cool as the proc is quite efficient and powerful enough with 16Gb of RAM.

Thank you !

hello
if I were you, I would install yunohost on another machine (old pc, VM, raspberry PI, …) and I would mount an NFS share provided by your nas on /home
With this config, all your data would be safe on your NAS and you would be able to install several apps on your yunohost server

Hum…
That’s somehow a good idea, I’d love to get anyway nextcloud on my NAS, as this OS5 is quite bad for my use.

But I do have a server on my raspberry Pi4B. My purpose would be to make double the data of peertube to get two time the bandwidth. But for that if I succed to get docker running, I can only get peertube standalone next to nextcloud.

I’ll check your idea more deeply.

Okay, I now understand what you mean and said.
The first time I missed-read.

What I’d like to do, is a backup on my WD mycloud. Do you know how I could manage to do that ? Some idea where I could dig ?

yunohost backups are stored on /home/yunohost.backup
on your yunohost server, you could mount an NFS share from your nas to this folder: the backups would be stored on your nas

I mean, the backup is actually done on an external hard drive.
But is there a solution to do it either on the hard drive, and on the NAS ?

you can mount an nfs share from your nas to your yunohost server (whaterver you want), and copy the backups in this location (with rsync for example)

1 Like

Hi !
So I’m still on that.
I did try restic, it can fit my needs, but I’d like to learn more about mannually doing the stuff.

How to mount the NSF share on my Pi ?

Ifound this. But it looks overkill ^^ How to Set Up an NFS Mount on Debian 11 | DigitalOcean

That looks already simpler. But I’m scared to do any mistake : https://linuxize.com/post/how-to-mount-an-nfs-share-in-linux/

https://linuxconfig.org/how-to-configure-nfs-on-linux

But also, I have to enter my userID and password to acces this NAS. where should I put those informations ?

Thank you !

Hello
I’m not very available for the moment, but I’ll try to help you in the end of this week.
But there are other persons who can give you informations about NFS mounts on your yunohost server

Hello,

No problem, I have time, there is no rush. I just hope I can do it properlly one day tho :smiley:

hello
here is what you could do to mount your NFS share on your Yunohost server (short answer):

  1. on your NAS, create a NFS share that point to one directory of your choice
  2. on your NAS, authorize the IP address of your yunohost server in the NFS rights permissions
  3. on your yunohost server, install this package: nfs-common
  4. on your yunohost server, create a mount point (create a directory) wherever you want, which will be used to mount your NFS share
  5. on your yunohost server, edit as root the file /etc/fstab and add an entry which looks like this (on one line):
    ip_address_of_your_nas:/you_directory_on_the_nas/ /your_mount_point_on_your_yunohost_server nfs defaults,nfsvers=4.0,user,rw,auto,_netdev 0 0
  6. save the file /etc/fstab
  7. try to mount your NFS share with the command mount -a
  8. if everything is ok (no error message), try to create a test file on the mount point and check that this file appears on the file explorer of your NAS
  9. if it’s ok, configure restic to use your mount point to store backups
1 Like

That doesn’t answer to the real topic. But it’s so well explain that I check it as the solution.
Thank you a lot taking this time for me @Benance !

Hope all good for you ! :blush: