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

    Complete restore of Cloudron Backups

    Support
    backups floatingip
    4
    4
    621
    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.
    • M
      makemrproper last edited by girish

      Hi

      I have now switched all my trivial sites and business critical systems over to container hosting provisioned by Cloudron. It's great!

      Last step on this journey is to verify and test; perform a complete restore of the backup of the platform.
      I currently take backups of cloudron every 6 hours and all containers every 6 hours. It seems to work pretty great, no errors.

      However I am not sure how to proceed when doing a full restore of the entire Cloudron instance.
      Here is my backup config:
      9c39a62c-d6f5-4716-a5d9-4ad46c35da0b-image.png

      I don't see any restore backups functionality in the web frontend of Cloudron.
      Okay. Do I download the backup archive, uncompress the file and upload the contents to my server manually?
      Where should I place those files?

      I can download backup json configuration file, what's it for?

      My end goal is to set up a daily sync between the backup location and a failover server on a different private cloud provider, maybe even to an on-prem machine in the office, just to be sure. These restored systems will contain the entire Cloudron instance restored from backups and it will be performed daily. But first I need to understand the various moving parts here.
      I found some documentation here, but this was not enough for me to help myself with this topic.

      mehdi 1 Reply Last reply Reply Quote 2
      • mehdi
        mehdi App Dev @makemrproper last edited by

        @makemrproper Hi there ! Have you taken a look at https://cloudron.io/documentation/backups/#restore-cloudron ?

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

          Yes @mehdi is right here, to test a whole Cloudron backup, one would have to restore to a fresh server. Depending on the DNS settings though, this might overwrite the DNS records after restore to match the new server's IP.

          Your plan to have an up-to-date server on the side for failover is not easily facilitated that way.

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

            If you have a floating IP (in DigitalOcean lingo), elastic IP (AWS) or equivalent, you can make Cloudron use the floating IP (Network -> Interface -> Enter the floating IP). Then you can restore Cloudron to another server, and then when restoring is done, you can switch the floating IP to this new server.

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