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

    Solved Backup to NAS via SMB

    Support
    backups
    3
    7
    327
    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
      smilebasti last edited by girish

      Is there the possiblity to make a Backup to a Nas?
      The Nas is using either SMB or Ftp for access.
      It is the Nas System from a FritzBox.
      Thanks

      1 Reply Last reply Reply Quote 0
      • yusf
        yusf last edited by

        Not IIRC. If you use a NAS thatโ€™s able to run Docker you may spin up a Minio instance and use that as backup target.

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

          @smilebasti SMB/CIFS should work. See https://cloudron.io/documentation/backups/#sambacifs . Just mount it using the charset and then use the Filesystem backend on Cloudron.

          yusf 1 Reply Last reply Reply Quote 1
          • yusf
            yusf @girish last edited by

            @girish Nice. Stuff is happening on every aspect of this product ๐Ÿ˜ƒ

            1 Reply Last reply Reply Quote 1
            • S
              smilebasti last edited by

              Thanks. It worked ๐Ÿ™‚
              I only had to add vers=1.0 because my NAS (FritzBox) only uses SMB 1.

              1 Reply Last reply Reply Quote 1
              • S
                smilebasti last edited by

                As it finally finished Uploading i got this error. Any thoughts on how to solve this and may recognize the Permission earlier?

                Feb 13 19:44:23 box:tasks 1228: {"percent":26,"message":"Copying /backups/snapshot/app_0b0ea93e-1a87-4172-805c-c4171fd00c88.tar.gz to /backups/2020-02-13-110006-815/app_0b0ea93e-1a87-4172-805c-c4171fd00c88_2020-02-13-194423-405_v4.3.1.tar.gz (cloud.wieser.myhome-server.de)"}
                Feb 13 19:44:23 box:shell copy spawn: /bin/cp -al /backups/snapshot/app_0b0ea93e-1a87-4172-805c-c4171fd00c88.tar.gz /backups/2020-02-13-110006-815/app_0b0ea93e-1a87-4172-805c-c4171fd00c88_2020-02-13-194423-405_v4.3.1.tar.gz
                Feb 13 19:44:23 box:shell copy (stdout): /bin/cp:
                Feb 13 19:44:23 box:shell copy (stdout): cannot create hard link '/backups/2020-02-13-110006-815/app_0b0ea93e-1a87-4172-805c-c4171fd00c88_2020-02-13-194423-405_v4.3.1.tar.gz' to '/backups/snapshot/app_0b0ea93e-1a87-4172-805c-c4171fd00c88.tar.gz'
                Feb 13 19:44:23 box:shell copy (stdout): : Permission denied
                Feb 13 19:44:23 box:shell copy (stdout):
                Feb 13 19:44:23 box:shell copy code: 1, signal: null
                Feb 13 19:44:23 box:backups cloud.wieser.myhome-server.de Unable to backup { BoxError: copy exited with code 1 signal null
                
                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  @smilebasti Possibly because the destination file system does not support hard links. In the Backup -> Configure, there is a checkbox to disable hard links.

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