Sharding Cloudron or Partial Restores
-
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?
-
@adrw back up and restore your apps to the new cloudron
-
@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!
-
@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.
-
You can import a single app as shown in the doc i posted.. please give it a thorough read.
-
@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?
-
@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.
-
@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).
-
@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?
-
@neurokrish account yes, subscription no. It's per instance.
-
@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!
-
@jdaviescoates thanks!