diff options
| -rw-r--r-- | doc/snac.1 | 2 | ||||
| -rw-r--r-- | doc/snac.8 | 76 |
2 files changed, 76 insertions, 2 deletions
| @@ -269,7 +269,7 @@ for a job to be assigned), input or output (processing I/O packets) | |||
| 269 | or stopped (not running, only to be seen while starting or stopping | 269 | or stopped (not running, only to be seen while starting or stopping |
| 270 | the server). | 270 | the server). |
| 271 | .El | 271 | .El |
| 272 | .Ss Migrating an account from Mastodon | 272 | .Ss Migrating an account to/from Mastodon |
| 273 | See | 273 | See |
| 274 | .Xr snac 8 | 274 | .Xr snac 8 |
| 275 | for details. | 275 | for details. |
| @@ -381,7 +381,81 @@ is supported. Intentionally, the | |||
| 381 | and | 381 | and |
| 382 | .Pa /following | 382 | .Pa /following |
| 383 | paths return empty lists. | 383 | paths return empty lists. |
| 384 | .Ss Migrating from Mastodon | 384 | .Ss Migrating from snac to Mastodon |
| 385 | Since version 2.60, you can migrate your | ||
| 386 | .Nm | ||
| 387 | account to other ActivityPub instances. I will describe the process to do it from | ||
| 388 | .Nm | ||
| 389 | to Mastodon; on other software implementations, it will surely be very different. All | ||
| 390 | the steps regarding your | ||
| 391 | .Nm | ||
| 392 | account must be done from the command line. For the sake of the example, let's | ||
| 393 | say that you want to migrate from an account named @origin@snac.example.org to | ||
| 394 | another one named @destination@mastodon.example.com and that both of them | ||
| 395 | already exist. I've used this very informative page as a guideline: | ||
| 396 | .Pp | ||
| 397 | .Lk https://fedi.tips/transferring-your-mastodon-account-to-another-server/ | ||
| 398 | .Pp | ||
| 399 | 1. On your | ||
| 400 | .Nm | ||
| 401 | server, first export your data to CSV by running: | ||
| 402 | .Bd -literal -offset indent | ||
| 403 | snac export_csv $SNAC_BASEDIR origin | ||
| 404 | .Ed | ||
| 405 | .Pp | ||
| 406 | You'll find the following CSV files in the current directory: | ||
| 407 | .Pa bookmarks.csv , | ||
| 408 | .Pa blocked_accounts.csv , | ||
| 409 | .Pa lists.csv , and | ||
| 410 | .Pa following_accounts.csv . | ||
| 411 | .Pp | ||
| 412 | 2. In the web interface of your new Mastodon account, click on | ||
| 413 | .Vt Preferences | ||
| 414 | > | ||
| 415 | .Vt Import and Export | ||
| 416 | > | ||
| 417 | .Vt Import | ||
| 418 | and upload the CSV files one at a time. You must specify the type of | ||
| 419 | file you are uploading. | ||
| 420 | .Pp | ||
| 421 | 3. Still in the web interface of your new Mastodon account, click on | ||
| 422 | .Vt Preferences | ||
| 423 | > | ||
| 424 | .Vt Account | ||
| 425 | > | ||
| 426 | .Vt Moving From a Different Account , | ||
| 427 | then click on | ||
| 428 | .Vt Create an account alias | ||
| 429 | and follow the instructions. (When it asks you to | ||
| 430 | write your old account’s handle, it needs to include the @ at the start | ||
| 431 | as well as the @ in the middle, in our example, @origin@snac.example.org). | ||
| 432 | According to the link above, you must wait at least five minutes for | ||
| 433 | this to be effective. | ||
| 434 | .Pp | ||
| 435 | 4. Meanwhile, you must tell | ||
| 436 | .Nm | ||
| 437 | about your new account by creating an alias from your current one. | ||
| 438 | So, on your | ||
| 439 | .Nm | ||
| 440 | server, run | ||
| 441 | .Bd -literal -offset indent | ||
| 442 | snac alias $SNAC_BASEDIR origin "@destination@mastodon.example.com" | ||
| 443 | .Ed | ||
| 444 | .Pp | ||
| 445 | 5. Finally, you must order | ||
| 446 | .Nm | ||
| 447 | to start the migration process, that will consist in iterating all the | ||
| 448 | people that follows your account and sending them a | ||
| 449 | .Vt Move | ||
| 450 | message, notifying all of them that they must unfollow your old account | ||
| 451 | and follow the new one. The command is | ||
| 452 | .Bd -literal -offset indent | ||
| 453 | snac migrate $SNAC_BASEDIR origin | ||
| 454 | .Ed | ||
| 455 | .Pp | ||
| 456 | This process can be very long and unreliable. I recommend you to read | ||
| 457 | the document I linked above to know how heartbreaking it can be. | ||
| 458 | .Ss Migrating from Mastodon to snac | ||
| 385 | User migration from different Fediverse instances is a pain in the ass | 459 | User migration from different Fediverse instances is a pain in the ass |
| 386 | that has been implemented everywhere as a kludgy afterthought. There is | 460 | that has been implemented everywhere as a kludgy afterthought. There is |
| 387 | not much that can be done, other than importing the list of people you | 461 | not much that can be done, other than importing the list of people you |