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. Sharding Cloudron or Partial Restores

Sharding Cloudron or Partial Restores

Scheduled Pinned Locked Moved Support
13 Posts 5 Posters 2.1k Views 5 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.
  • A Offline
    A Offline
    adrw
    wrote on last edited by
    #1

    I currently have a single Cloudron instance on a beefy VPS but want to split it between my home server for data intensive apps (ie. Nextcloud) and a cheap VPS for email since my house doesn't have a static IP. What would be the recommended way to migrate just email and Bitwarden to the cheap VPS but all other apps and data to my new Cloudron on my home server?

    humptydumptyH 1 Reply Last reply
    1
    • A adrw

      I currently have a single Cloudron instance on a beefy VPS but want to split it between my home server for data intensive apps (ie. Nextcloud) and a cheap VPS for email since my house doesn't have a static IP. What would be the recommended way to migrate just email and Bitwarden to the cheap VPS but all other apps and data to my new Cloudron on my home server?

      humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by
      #2

      @adrw back up and restore your apps to the new cloudron

      https://docs.cloudron.io/backups/#import-app-backup

      neurokrishN 1 Reply Last reply
      0
      • humptydumptyH humptydumpty

        @adrw back up and restore your apps to the new cloudron

        https://docs.cloudron.io/backups/#import-app-backup

        neurokrishN Offline
        neurokrishN Offline
        neurokrish
        wrote on last edited by
        #3

        @humptydumpty , I think @adrw does not want to move all apps to a new Cloudron. @adrw wants to create two Cloudron instances from one, so that he can keep some apps as is and move a couple over to the new Cloudron. Any idea on how to do this? I am interested too as my ISP does not allow hosting email!

        A 1 Reply Last reply
        1
        • neurokrishN neurokrish

          @humptydumpty , I think @adrw does not want to move all apps to a new Cloudron. @adrw wants to create two Cloudron instances from one, so that he can keep some apps as is and move a couple over to the new Cloudron. Any idea on how to do this? I am interested too as my ISP does not allow hosting email!

          A Offline
          A Offline
          adrw
          wrote on last edited by
          #4

          @neurokrish Agreed, I want to split my current Cloudron into 2 where one has email, Sogo, Bitwarden, and everything else is on my home server Cloudron.

          1 Reply Last reply
          0
          • humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by
            #5

            You can import a single app as shown in the doc i posted.. please give it a thorough read.

            A 1 Reply Last reply
            0
            • humptydumptyH humptydumpty

              You can import a single app as shown in the doc i posted.. please give it a thorough read.

              A Offline
              A Offline
              adrw
              wrote on last edited by
              #6

              @humptydumpty Thanks, I did see that. For email, I'm unsure how much is manual. For example, I have contacts and calendar data in Sogo. Do I need to recreate the identical usernames in the new Cloudron for that data to map correctly? What if the Gid/Uid for the user end up being different? Similarly for Nextcloud, is there a known happy path for what is necessary to restore an app to a different Cloudron and map the user data?

              humptydumptyH girishG 2 Replies Last reply
              0
              • A adrw

                @humptydumpty Thanks, I did see that. For email, I'm unsure how much is manual. For example, I have contacts and calendar data in Sogo. Do I need to recreate the identical usernames in the new Cloudron for that data to map correctly? What if the Gid/Uid for the user end up being different? Similarly for Nextcloud, is there a known happy path for what is necessary to restore an app to a different Cloudron and map the user data?

                humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by
                #7

                @adrw I've only migrated entire VPS's so I'm not sure about the users/LDAP. You could duplicate/migrate the entire cloudron on both new VPS's (home and your cheap hosted one) then delete the apps that you don't need instead of worrying about syncing users and such.

                1 Reply Last reply
                0
                • A adrw

                  @humptydumpty Thanks, I did see that. For email, I'm unsure how much is manual. For example, I have contacts and calendar data in Sogo. Do I need to recreate the identical usernames in the new Cloudron for that data to map correctly? What if the Gid/Uid for the user end up being different? Similarly for Nextcloud, is there a known happy path for what is necessary to restore an app to a different Cloudron and map the user data?

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by girish
                  #8

                  @adrw To migrate email, please see - https://docs.cloudron.io/guides/import-email/ . So, you can setup a new server and then just use imapsync to move the emails from one server to another.

                  As for calendar, contacts - these are stored inside SOGo and not part of the above email data. Migrating SOGo is a pain unfortunately. This is because SOGo stores the database information inside the database itself. So, when we move it to another server and the database name changes, it gets all confused - https://git.cloudron.io/cloudron/sogo-app/-/issues/19 .

                  What I recommend for migrating SOGo calendar and contacts is to instead to import/export the calendar and contacts into the new SOGo instance instead of using cloudron backups.

                  (Of course, you can always use Cloudron backups to move SOGo and patch up the SOGo database manually and it should work but it's a bit of tinkering).

                  A neurokrishN 2 Replies Last reply
                  0
                  • girishG girish

                    @adrw To migrate email, please see - https://docs.cloudron.io/guides/import-email/ . So, you can setup a new server and then just use imapsync to move the emails from one server to another.

                    As for calendar, contacts - these are stored inside SOGo and not part of the above email data. Migrating SOGo is a pain unfortunately. This is because SOGo stores the database information inside the database itself. So, when we move it to another server and the database name changes, it gets all confused - https://git.cloudron.io/cloudron/sogo-app/-/issues/19 .

                    What I recommend for migrating SOGo calendar and contacts is to instead to import/export the calendar and contacts into the new SOGo instance instead of using cloudron backups.

                    (Of course, you can always use Cloudron backups to move SOGo and patch up the SOGo database manually and it should work but it's a bit of tinkering).

                    A Offline
                    A Offline
                    adrw
                    wrote on last edited by
                    #9

                    @girish Thanks, I'll proceed with that for Sogo. For future reference, is there a better CardDAV/CalDAV client you'd recommend that is easier to operate for backups/restores?

                    While I've got you here, is Bitwarden as easy as restoring the app backup since it's not tied to any LDAP?

                    humptydumptyH 1 Reply Last reply
                    0
                    • girishG girish

                      @adrw To migrate email, please see - https://docs.cloudron.io/guides/import-email/ . So, you can setup a new server and then just use imapsync to move the emails from one server to another.

                      As for calendar, contacts - these are stored inside SOGo and not part of the above email data. Migrating SOGo is a pain unfortunately. This is because SOGo stores the database information inside the database itself. So, when we move it to another server and the database name changes, it gets all confused - https://git.cloudron.io/cloudron/sogo-app/-/issues/19 .

                      What I recommend for migrating SOGo calendar and contacts is to instead to import/export the calendar and contacts into the new SOGo instance instead of using cloudron backups.

                      (Of course, you can always use Cloudron backups to move SOGo and patch up the SOGo database manually and it should work but it's a bit of tinkering).

                      neurokrishN Offline
                      neurokrishN Offline
                      neurokrish
                      wrote on last edited by
                      #10

                      @girish quick question. How does the premium subscription work in this case? Can both Cloudrons use the same account and subscription?

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • neurokrishN neurokrish

                        @girish quick question. How does the premium subscription work in this case? Can both Cloudrons use the same account and subscription?

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

                        @neurokrish account yes, subscription no. It's per instance.

                        I use Cloudron with Gandi & Hetzner

                        neurokrishN 1 Reply Last reply
                        1
                        • A adrw

                          @girish Thanks, I'll proceed with that for Sogo. For future reference, is there a better CardDAV/CalDAV client you'd recommend that is easier to operate for backups/restores?

                          While I've got you here, is Bitwarden as easy as restoring the app backup since it's not tied to any LDAP?

                          humptydumptyH Offline
                          humptydumptyH Offline
                          humptydumpty
                          wrote on last edited by
                          #12

                          @adrw said in Sharding Cloudron or Partial Restores:

                          is Bitwarden as easy as restoring the app backup since it's not tied to any LDAP?

                          Yep!

                          1 Reply Last reply
                          3
                          • jdaviescoatesJ jdaviescoates

                            @neurokrish account yes, subscription no. It's per instance.

                            neurokrishN Offline
                            neurokrishN Offline
                            neurokrish
                            wrote on last edited by
                            #13

                            @jdaviescoates thanks!

                            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