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 Mounted filesystem for backup (low bandwith) - optimize sshfs read/write transactions

    Discuss
    sshfs backups
    2
    4
    236
    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.
    • Mallewax
      Mallewax last edited by girish

      I have just established to mount my home server via sshfs as a backup source. While there are obvious drawbacks It works nicely so far and I want to continue to give it a try.
      In view of the more limited bandwidth I have come to realize that the cloudron backup service creates a box.tar.gz on the mounted (limited bandwidth) network share and then copies this file from the mounted share to another directory on the very same mounted share.

      I am wondering if this transaction can be optimized in order to be mindful of low bandwith situations?!? E.g. create the box. tar.gz file in a tmp directory on the cloudron server and then copy it to the network share (that should save the read and write transactions from the network share, shouldn't it?)
      Screen Shot 2020-07-18 at 11.29.04.png

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

        You may want to check if you have hardlinks enabled. Then the "copying" is a very fast operation.

        Mallewax 2 Replies Last reply Reply Quote 1
        • Mallewax
          Mallewax @nebulon last edited by

          @nebulon Ha...it was not enabled. Let me check the time for the next backup. Thanks a lot meanwhile.

          1 Reply Last reply Reply Quote 1
          • Mallewax
            Mallewax @nebulon last edited by

            @nebulon That did the trick, thanks a lot again.

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