Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Using NFS to backup cloudron from a Windows Server Share

    Support
    backups cifs nfs
    4
    6
    309
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stratus41298 last edited by girish

      Hi there,

      I'm trying to follow the documentation but I'm running into some roadblocks and am really wracking my brain.

      My server is now self hosted and I added a drive to handle backups for various items including cloudron. I created an NFS storage volume in my server (separate drive) allowing everybody R/W access (for now) and have the following details:

      Windows server 2016
      Share name: Backups
      Folder path D:\shares\backups
      Remote path: MySVR:/Backups

      Client:
      Ubtuntu 18.04 Virtual Machine running Cloudron

      Cloudron documentation shows this to be added to the fstab file:

      IP:/remote_volume /backups nfs rw,hard,tcp,rsize=8192,wsize=8192,timeo=14 0 0
      

      So for me that would be

      MySVR:/Backups /Backups nfs rw,hard,tcp,rsize=8192,wsize=8192,timeo=14 0 0
      

      Did I do that right? Should I actually be putting the IP address my server uses on the LAN? I did try that, but it still didn't seem to work.

      Also, in the backup page, would the filepath be MySVR:\Backups?

      I just can't seem to find any help online for this particularĀ setup and could really use some help. I'm having tons of fun, but this really has me stuck. Thanks in advance!

      -Stratus

      fbartels 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        We don't currently have a setup like this to test. But if you make it work, please share it here and we can put this into our docs then. Thanks!

        1 Reply Last reply Reply Quote 1
        • fbartels
          fbartels App Dev @stratus41298 last edited by

          @stratus41298 said in Using NFS to backup cloudron from a Windows Server Share:

          /Backups

          You need to be aware that names are always case sensitive on Linux. I am not using the file system backup, but would expect that you need to specify /backup and not MySVR:/Backups as the location, though.

          Can the path be mounted in general or do you only see issues when trying to use this path from Cloudron?

          S 1 Reply Last reply Reply Quote 1
          • S
            stratus41298 @fbartels last edited by stratus41298

            @fbartels Thanks for the thought. I did make sure of the case sensitivity. I've learned that lesson too many times the hard way šŸ™‚

            I will try again maybe in all lower-case just to see if that changes anything.

            @nebulon Do you think it would be easier if I just made an NFS server on the backup drive using Linux and connected them that way?

            Thanks!

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              @stratus41298 Maybe it's better to mount it as CIFS instead of NFS. Can you try this tutorial - https://linuxize.com/post/how-to-mount-cifs-windows-share-on-linux/ ?

              S 1 Reply Last reply Reply Quote 1
              • S
                stratus41298 @girish last edited by

                @girish Yeah I was starting to think that as well. I'll give it a shot and report back. Thanks!

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB