Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it possible to create a secure share and use it as a backup target?

Featured Replies

So I have a couple of Proxmox servers that I want to SECURELY back up to my Unraid server.  I have had no luck using SMB at all, and only been able to get an INSECURE setup using a public NFS share.  I tried:

 

Setting up NFS private and also secure and I get 'permission denied' errors when I try and backup to this share.  The rules are for the 2 IP addresses of my Proxmox servers.  I tried changing the owner to 'root' since I'm running as 'root' in Proxmox and also tried 'nobody\'.

NFSprivatesetup.png.bc99cd16cb34ad0c49ec4c2cf0b850fe.png

 

For SMB I tried Public, Private, and Secure and none of that works.  I triple checked my credentials but it makes no difference, despite being able to mount and unmount the share from Proxmox without issue.

SMBsetup.png.a531aea23ae0f1c8d8de602f716ce86a.png

 

Below is what I get if I navigate to the share and try and create a file.

NFSmkdir.png.04c4061dbfa28fc0c43fd19e12c609f6.png

 

If I set everything to Public only NFS will work.  Is this a bug or am I missing something?

 

 

  • Author

Anyone?

  • Author

This should be table stakes.  Really no response to whether this is a bug?  This is such fundamental functionality.

  • Community Expert

Can't help with NFS, but you could use SSH for example.

  • Author

Surely the ability to use Unraid as a storage target using SMB or NFS is supported, no?  Using SSH  for something like this is royal PITA.

  • Community Expert

First question: Can you update the Proxmox systems to another system via SMB?

 

If you can, then there is a configuration issue to be addressed on the Unraid side.  You can possibly use what works to model what you need.

If you can't, then it is likely an issue on the Proxmox side of things which you'll need to figure out an address.

  • Community Expert

Working fine with this test SMB share I setup
image.thumb.png.51b15e03a38834afcfe2d87c82a7e255.png

Edited by tjb_altf4

  • Community Expert

? lxc pbs system


docker pbs system

https://www.jdbnet.co.uk/install-proxmox-backup-server-in-an-lxc-container/

This is waht i do
image.thumb.png.e6c08328ba645f3ac178d82596bf1762.png

image.thumb.png.3ead4ec80fce119ed8ca8ed907e8f116.png

image.thumb.png.28e7733e76e121e488d01191a7f17e5c.png

you can even add a smb share in proxmox.

so open shell make a director i used /data

then mount the data location in unraid.

so going to /mnt/data is now unraids /mnt/user/proxmox
*Edit fs tab to add auto mount...

then go to data center > storage add Directory chose /data

or just go to datacenter and click add smb / nfs and fill out the prompts...

image.png.c05725c8c1f6af4ed04fdb138e5c8427.png

 

  • Author
22 hours ago, ConnerVT said:

First question: Can you update the Proxmox systems to another system via SMB?

 

If you can, then there is a configuration issue to be addressed on the Unraid side.  You can possibly use what works to model what you need.

If you can't, then it is likely an issue on the Proxmox side of things which you'll need to figure out an address.

I can create SMB and NFS shares with security and Proxmox doesn't have an issue using it.    The configuration of Shares on Unraid is pretty straightforward and I included the configurations so I'm not sure what else I can check.

  • Author
18 hours ago, tjb_altf4 said:

Working fine with this test SMB share I setup
image.thumb.png.51b15e03a38834afcfe2d87c82a7e255.png

With what security settings?

  • Author
17 hours ago, bmartino1 said:

? lxc pbs system


docker pbs system

https://www.jdbnet.co.uk/install-proxmox-backup-server-in-an-lxc-container/

This is waht i do
image.thumb.png.e6c08328ba645f3ac178d82596bf1762.png

image.thumb.png.3ead4ec80fce119ed8ca8ed907e8f116.png

image.thumb.png.28e7733e76e121e488d01191a7f17e5c.png

you can even add a smb share in proxmox.

so open shell make a director i used /data

then mount the data location in unraid.

so going to /mnt/data is now unraids /mnt/user/proxmox
*Edit fs tab to add auto mount...

then go to data center > storage add Directory chose /data

or just go to datacenter and click add smb / nfs and fill out the prompts...

image.png.c05725c8c1f6af4ed04fdb138e5c8427.png

 

I've done all of that and the mount will only work if the share is public.

  • Community Expert

so you want nfs rules to make a private share


this would be the private rule...
 

192.168.x.x(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)


^ as this uses what the public sharing is using to work but only apply it to one and only 1 ip address...

Edited by bmartino1

  • Author
40 minutes ago, bmartino1 said:

so you want nfs rules to make a private share


this would be the private rule...
 

192.168.x.x(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)


^ as this uses what the public sharing is using to work but only apply it to one and only 1 ip address...

Thanks for that.  Unfortunately, I have multiple servers I want to back this up to.

  • Community Expert

?
then make another private rule under that one with the ip address of the servers.

this way only server you made a "public" Private ip assinged rule can securly access that share.
 

192.168.x.1(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)
192.168.x.2(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)

 

  • Community Expert
2 hours ago, Bmalone said:

With what security settings?

Private
image.png.6c194dcb43955daba507aed6687acd01.png

  • Community Expert

Given you were originally trying to do this manually in the CLI, I think the mount folder had incorrect permissions.

The GUI does this automatically.

Edited by tjb_altf4

  • Author
20 hours ago, tjb_altf4 said:

Given you were originally trying to do this manually in the CLI, I think the mount folder had incorrect permissions.

The GUI does this automatically.

I only created the Proxmox mount in the CLI after adding the remote share in the GUI didn't work.

  • Author
22 hours ago, bmartino1 said:

?
then make another private rule under that one with the ip address of the servers.

this way only server you made a "public" Private ip assinged rule can securly access that share.
 

192.168.x.1(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)
192.168.x.2(rw,sec=sys,insecure,anongid=100,anonuid=99,all_squash)

 

When you write "under", I don't seem to be able to do that.  Can I not just comma separate the rules?

  • Community Expert

shift enter
space separate per other nfs forum thread.

I had 3 at one time.
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.