Channel Apps
[Markdown] 

Getting Started/: 2. Cloning

[h3]Nomadic Identity[/h3] One thing that makes Hubzilla and Zap stand out in the world of decentralized social media is a feature called [i]Nomadic Identity[/i]. It takes the concept of decentralization a step further. With other services, you create an account on a specific server, and your social identity (including all your contacts) is tied to that specific server. If that server is offline, or shuts down, you have to start over.

The Hubzilla / Zap approach is that you, personally, own your identity. Yes, initially you create an account on a specific server, just like with any other service. After that, however, you can export your identity to a different server, and it will be active on both, meaning if one of them is offline, you can simply switch to the other, seamlessly.

[h4]"Account" vs. "Channel"[/h4] In order to understand how this works, you first need to understand the distinction between a "channel" and your "account".

As explained in a [zrl=https://hubzilla.lazyteddy.eu/wiki/lazyteddy/Hubzilla(20)-(20)Getting(20)Started/2.(20)First(20)Steps]previous step[/zrl], the first thing you need to do after you registered an account on any instance is to "create your first channel". A reminder: [quote]Hubzilla is based on "channels". You could also look at channels as "identities": You create a channel and choose a Name and nickname, and this is how other people on the network will see you. This not dissimilar from other social networks, except that on Hubzilla, you can create several different channels (although the admin can limit the number of channels a user can create.) So without having to sign up for several different accounts, you can have different identities, and you switch between them from the channel menu.[/quote] This [i]channel[/i], not your account, is your identity. This concept is important, because it is the basis for Nomadic Identity. When you sign up on a second instance, in the first step after registration, you can either create a new channel, like you did the first time, or clone an existing one.

[h4]Cloning your channel[/h4] After your initial registration is complete, instead of creating a new channel for your first one, click on [i]import an existing channel[/i]. [zrl=https://hubzilla.lazyteddy.eu/photos/lazyteddy/image/a69b8651-ae8b-413a-b5c5-d83041c8d4e7][zmg=719x330]https://hubzilla.lazyteddy.eu/photo/a69b8651-ae8b-413a-b5c5-d83041c8d4e7-1.png[/zmg][/zrl]

There are two ways to do this. [ul] [] Import a file you previously exported from the old location [] Provide the login credentials to your old location. [/ul] [zrl=https://hubzilla.lazyteddy.eu/photos/lazyteddy/image/1c3f7227-711e-40c4-91c8-c851d7e36415][zmg=698x938]https://hubzilla.lazyteddy.eu/photo/1c3f7227-711e-40c4-91c8-c851d7e36415-1.png[/zmg][/zrl]

For the first option, you need to install the Channel Export app from /apps/available [i]on your original channel[/i]. After you do, when you click on it, you can either export only your basic information (which includes your connections), or your posts and file storage as well. Either way, you will end up with a file called .json.

At the new location, after you click on "import existing channel", click "Browse" and locate the file you just downloaded. Then click "Submit" and you're done.

I'm going out on a limb here and assume that the second option is self-explanatory. Yes, it's perfectly safe to enter your credentials here.

Whichever way you choose, you can decide if you want the old location or the new one to be your "primary location". The primary location is the one your connections will see, the one that will show in the directory, should you choose to publish your profile there, and the one that the "Take me home" link points to that you see when you're remotely logged into one of your connections' channel. You can also change this later.

You will now have an additional entry in the [zrl=/settings]settings[/zrl] called "Manage locations":

[zrl=https://hubzilla.lazyteddy.eu/photos/lazyteddy/image/5a4396aa-b274-4bb6-b20d-ae94ee9d9659][zmg=994x348]https://hubzilla.lazyteddy.eu/photo/5a4396aa-b274-4bb6-b20d-ae94ee9d9659-1.png[/zmg][/zrl]

[h4]Importing content from older channels[/h4] If you have already been using Hubzilla for a few months by the time you decide to clone your channel and wrote a lot, and uploaded lots of pictures, they won't get all imported using the second method; only if do a [zrl=/uexport/complete]complete export[/zrl] using the first method. But since these export files can be very large, you can use the second method to clone your channel and then import the content from the original location to the clone using an app called "Content Import". (Note: This is not a default app; it needs to be installed by the admin. You can find out if it is installed by going to [url=/siteinfo.json]/siteinfo.json[/url].) On your new location, go to [url=/apps/available]/apps/available[/url], install the "Content Import" app and open it. Put the base URL in the form of from your original location into the field that says "Original Server base URL" and adjust the import settings to your preferences, then hit "Submit".

[h4]Connections on other networks[/h4] If you have connections on networks other than Hubzilla and Zap, it is important that you understand that those networks don't support Nomadic Identity. If you have, for example, the diaspora* app installed, your diaspora* contacts will show as "not connected at this location" on your clone, and if your switch primary locations, you will have to reconnect to those contacts.