Mastodon migration
Moving to a new server
Patricia Aas, 18 November 2022
I will try to keep this short and simple. We are going to try to migrate from one Mastodon server to another.
Pre-requisites
- You have a new account on a new server, and an old account on an old server
- You prefer the new account and want to move all of your followers over to it
- On the new account you don’t require manually approving new followers (Preferences > Profile > Appearance: “Require follow requests” should be unchecked)
Plan
- Part 1 : New Server: Prepare your profile
- Part 2 : Old Server: Download your follows list
- Part 3 : New Server: Upload follows list
- Part 4 : New Server: Set up the account alias
- Part 5 : Old Server: Perform the move
- Epilogue
Part 1
New Server: Prepare your profile
- Make sure to copy over bio, profile pic, banner etc before the move
- Once the move is done this can be difficult to get a hold of
Part 2
Old Server: Download your follows list
- Log into the server you’re moving from
- Go to “Preferences” (right panel)
- Click on “Import and export” (left panel)
- Click on CSV for “Follows”
- Download the file “following_accounts.csv” to your Downloads folder
- Do the same for any other category like “You block”, “You mute” etc
- Consider if you want to download your archive “Request your archive”
Part 3
New Server: Upload follows list
- Log into the server you’re moving to
- Go to “Preferences” (right panel)
- Click on “Import and export” (left panel)
- Click on “Import” (left panel)
- Check that “Following list” is selected in the dropdown
- Make sure the “Merge” radio button is selected
- Click “Choose File” and pick the “following_accounts.csv” file we downloaded earlier
- Press the “UPLOAD” button
- Do a similar thing with each of the other CSV files you downloaded in Part 2 (make sure to select the right thing in the dropdown)
Part 4
New Server: Set up the account alias
- Log into the server you’re moving to
- Write and pin a post saying you’re moving here so that your follows will understand what is happening
- Go to “Preferences” (right panel)
- Click on “Account” (left panel)
- Click the link under “Moving from a different account” : “create an account alias”
- Paste in the handle of the old account @user@server
- Click on “CREATE ALIAS”
Part 5
Old Server: Perform the move
- Log into the server you’re moving from
- Write a post where you tell people you are moving and pin it (perhaps also write it in the bio)
- Go to “Preferences” (right panel)
- Click on “Account” (left panel)
- Scroll down
- Click on the link under “Move to a different account”
- Put the handle (@user@server) to the NEW account in the left field
- Put the password of the OLD account in the right field
- Click on the button “MOVE FOLLOWERS”
- In a browser, go to your profiles full url (example http://example.social/@your_handle) and check that it says (across the top of your profile page) “YOUR_NAME has indicated that their new account is now:” and that underneath is your new account information and a button with the text “Go to profile”
Note that the migration of your followers can take multiple days, depending on how overloaded the servers are for both you and your followers.
Epilogue
We will keep the old account for now, it is being redirected and our old posts are there. In the future we might want to delete it permanently, but for now we will leave it like this.