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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron backups - user database and email

Cloudron backups - user database and email

Scheduled Pinned Locked Moved Solved Support
backups
12 Posts 4 Posters 405 Views 4 Watching
  • 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.
    • C Offline
      C Offline
      charlesnw
      wrote on last edited by joseph
      #1

      How is the cloudron user database backed up?

      What about email accounts ?

      What about the application access settings / groups etc?

      How can I perform a complete backup of my cloudron instance ?

      Yes , the application data is safe. That’s very important of course. User files and other data.

      However user emails don’t appear to be backed up and neither does the user database.

      1 Reply Last reply
      1
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #2

        Everything is backed up. It's possibly to migrate or restore the complete server from a backup.

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        2
        • C Offline
          C Offline
          charlesnw
          wrote on last edited by
          #3

          How can I verify that? Can you prove that? What file names / patterns should I be looking for?

          BrutalBirdieB jdaviescoatesJ 2 Replies Last reply
          1
          • C Offline
            C Offline
            charlesnw
            wrote on last edited by
            #4

            From the cloudron backups page:

            β€œ
            Only the database and app user data is backed up
            β€œ

            J 1 Reply Last reply
            0
            • C charlesnw

              How can I verify that? Can you prove that? What file names / patterns should I be looking for?

              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by
              #5

              @charlesnw said in Cloudron backups - user database and email:

              How can I perform a complete backup of my cloudron instance ?

              See: https://docs.cloudron.io/backups/#snapshot-cloudron

              To take a backup of Cloudron and all the apps, click the Backup now button in the Settings page:

              @charlesnw said in Cloudron backups - user database and email:

              How can I verify that?

              By restoring the whole Cloudron server on a new one.
              You can use the restore dry run to not mess up your existing running server.
              See: https://docs.cloudron.io/backups/#restore-cloudron

              @charlesnw said in Cloudron backups - user database and email:

              Can you prove that?

              πŸ˜• why so susspicous? πŸ˜† It is a good thing that you want to verify backups are working πŸ‘
              But sure, here is my topic, give it a read πŸ™‚

              Shooting a Cloudron Server right in the brain - I deleted appsdata and boxdata by accident

              @charlesnw said in Cloudron backups - user database and email:

              From the cloudron backups page:

              β€œ
              Only the database and app user data is backed up
              β€œ

              This passage of text is only part of the whole text of https://docs.cloudron.io/backups/#overview
              Hmm depending on your technical background this text can sound a bit missleading.

              Let me try clear this up a bit.

              Let's say you are using the LAMP App of Cloudron.
              All the static code needed, Linux, Apache, MySQL, PHP is inside the Docker container of the Cloudron app in read-only mode.
              This is not needed in the backup, because why? It exists in the Docker container and can be downloaded over and over again and will stay 1 to 1 the same.
              But your data, what makes your Webpage, that is something unique and needs to be backed up.
              All Cloudron apps are designed this way to reduce the backup footprint to only include what really is needed to restore.

              So on a restore, Cloudron can simply download the docker image of the LAMP App, take your specific app backup and place it where it belongs so it works again.

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              4
              • C charlesnw

                How can I verify that? Can you prove that? What file names / patterns should I be looking for?

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #6

                @charlesnw I (and many others here) have repeatedly migrated my entire server from one VPS to another with no data loss.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                3
                • J joseph marked this topic as a question on
                • C charlesnw

                  From the cloudron backups page:

                  β€œ
                  Only the database and app user data is backed up
                  β€œ

                  J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by joseph
                  #7

                  @charlesnw said in Cloudron backups - user database and email:

                  Only the database and app user data is backed up

                  where is this? if it's misleading, we should fix it.

                  edit: nevermind, found it in https://docs.cloudron.io/backups/ . There is a whole lot of context around that sentence and should not be read independently.

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • J joseph

                    @charlesnw said in Cloudron backups - user database and email:

                    Only the database and app user data is backed up

                    where is this? if it's misleading, we should fix it.

                    edit: nevermind, found it in https://docs.cloudron.io/backups/ . There is a whole lot of context around that sentence and should not be read independently.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    @joseph said in Cloudron backups - user database and email:

                    here is a whole lot of context around that sentence and should be read independently.

                    It should NOT be read independently. πŸ˜‰

                    Nevertheless, seems to me worth updating it to make it as clear as possible and to avoid future confusion. πŸ™‚

                    I use Cloudron with Gandi & Hetzner

                    J 1 Reply Last reply
                    2
                    • C Offline
                      C Offline
                      charlesnw
                      wrote on last edited by
                      #9

                      How can I restore the user database ? How can I restore an individual email account?
                      What is the backup frequency of email and the user database?

                      These are key questions for using this in the enterprise. My board of directors wants a better understanding of the backup and restore capabilities of Cloudron as we move into production.

                      1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @joseph said in Cloudron backups - user database and email:

                        here is a whole lot of context around that sentence and should be read independently.

                        It should NOT be read independently. πŸ˜‰

                        Nevertheless, seems to me worth updating it to make it as clear as possible and to avoid future confusion. πŸ™‚

                        J Offline
                        J Offline
                        joseph
                        Staff
                        wrote on last edited by
                        #10

                        @jdaviescoates ha ha , careless typo πŸ˜„

                        1 Reply Last reply
                        1
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #11

                          @charlesnw I think the best approach is to do a restore yourself to understand how it all works . See https://docs.cloudron.io/backups/#restore-cloudron .

                          For backup frequency, see https://docs.cloudron.io/backups/#schedule

                          To overall explain backups:

                          Cloudron Backup = Box backup + Email backup + App backups

                          The box backup has many things including users, domains, profiles, settings, apps installed, backup i.e everything you do in the dashboard . Email backup is the emails (just that) . App backups is each app backed up separately. Together, all these backups form a single Cloudron backup.

                          We are yet to hit a situation to restore user database separately. Not sure why this is needed but you can restore the full cloudron from Cloudron backup if your server hard disk crashes . You can also restore individual apps. This is needed often when an app update went wrong.

                          There is no UI to restore an individual email account. Not sure why this is needed (can someone even delete all their emails by "accident" ?) But you can just copy that single mailbox from the email backup into the live cloudron instance to restore. There is no magic here, you can just open the backups and see what's inside them.

                          1 Reply Last reply
                          4
                          • J joseph marked this topic as a regular topic on
                          • J joseph marked this topic as a question on
                          • J joseph has marked this topic as solved on
                          • C Offline
                            C Offline
                            charlesnw
                            wrote on last edited by
                            #12

                            Thanks to everyone for the responses. I fully understand the backups now and have reported to my board that it's indeed production ready for our organization.

                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search