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 Colocated secondary backup

    Discuss
    3
    10
    260
    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.
    • yusf
      yusf last edited by yusf

      Hosting Cloudron on a VPS and backups on a remote object storage I want some backup redundancy. But how?

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

        Come to think of it, this should have nothing to do with Cloudron. I can just connect to the primary object storage directly and mirror it. 🤦 😆

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

          @yusf I'd like to do something similar but have never used minio so would be interested in exactly how you at this up

          I use Cloudron with Gandi & Hetzner

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

            @jdaviescoates I'm not sure minio is necessary. If not then I suppose setting up a cronjob on the local machine that periodically runs

            s3cmd get --recursive s3://my-production/top-dir/ local-dir
            

            would work. Not sure about how a restoration process would work in this case.

            Looking into Minio documentation, there actually is a mirror feature of sorts. In that case, running

            mc mirror -w remotebucket localdir
            

            sounds according to the documentation that it would continously watch the remote object storage bucket and mirror all changes to the local directory.

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

              @yusf thanks I'll see if I can see up something similar too 🙂

              I use Cloudron with Gandi & Hetzner

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

                So I’ve tried using Minio’s CLI application, mc, to mirror between object storage. The CLI interfaces well with Minio, naturally.

                I’ve run into problems on the other end however. I use Digital Ocean’s object storage solution called Spaces which should be S3 compatible. I don’t know if the shortcoming is because of mc or DO though, just that the tool can’t get complete directory listing and thus can’t proceed.

                I’ll post the error messages here later.

                Maybe someone else with a different storage provider can try mc?

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

                  @yusf Maybe you can also try the aws cli tool which has different s3 options.

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

                    @girish Yes, I will test it. I’m trying to stay clear of Amazon products but it’s hard. Heck, DO is built on AWS iirc. 😆

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

                      DO is not on AWS, they build their own. Their co-founder replies here - https://www.quora.com/Does-DigitalOcean-have-its-own-datacenters-1

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

                        Oh, I’m glad to hear it. Either they did rely on AWS at one point or I got it backwards completely. Either is fine if they now have their own infra. 🎉

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