this post was submitted on 30 Jul 2023
171 points (95.2% liked)
Fediverse
28724 readers
120 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://github.com/wescode/lemmy_migrate
Just used this the other day, worked like a charm (albeit a bit slow if I’m honest)
I found another tool: https://github.com/CMahaff/lasim, from: https://lemmy.world/comment/857727, p.s. I haven't tried it
Used this one, works very well.
How do I install this on Windows? I don't know how to code. 😭
If you don't have an experience using the command line then it's a tad more involved then I can explain in-depth on mobile. Best I can do is give a brief outline.
To start with, wescode/lemmy_migrate is a python 3 script. If you are running windows install WSL (Ubuntu), once you have a command line I am familiar with you will want to download the repository from GitHub to a directory.
You will then need to create a config file called
migrate.conf
Use the sample provided in the repo under configuration. Edit it to use your information. You can use nano as a text editor.Then it looks like the command would be something like:
python lemmy_migrate -c ./migrate.conf
Sorry if that is crap help, but I'm not near my computer right now, and don't often use Windows anymore to boot.
PS:
WSL is a program from Microsoft that gives you a mostly functional Linux command line within Windows. None of this is as complicated as it sounds, I'm using more words then strictly necessary to explain things somewhat at beginner level. The most time consuming part of this would be first installing WSL and then installing Ubuntu onto WSL. There are plenty of tutorials on how to do so.
Hopefully someone more familiar with Windows can tell you how to do the same thing from either the DOS prompt or from Windows PowerShell. It's doable, (almost anything is) I'm just not familiar enough with either to walk you through it.
It's confusing for me 😅 but I will try.
Just search for tutorials based on the key words from my post and you'll get there.
I am sorry for the RTFM post though. Been a rough day and haven't been able to get near a computer to do a better write up for you.
use https://github.com/CMahaff/lasim , easier
OMG this is the one I saw. THANK YOU!
Here's a thread where I helped someone else with the process on windows: https://lemmy.sdf.org/comment/1420339
The steps are:
config.ini
. Use notepad to edit the file to have your server URL and login credentials.py -m pip install --user requests
cd
in powershell. This path will very likely be something likeC:\\Users\Wu9fee\Downloads\lemmy_migrate-1.1.0
. If you don't want to copy and paste the path from explorer, you can just docd Downloads
thencd lemmy_migrate-1.1.0
py lemmy-migrate.py -c config.ini
Let me know if you run into any problems.
If you can pull this off, you can officially say you know how to code.
Nice! I knew someone would know how to do this in PowerShell!
Thanks for the tutorial! I might try but it looks hard. 🤔
Not too hard. Just alot of unfamiliar vocabulary. 😄 If you run into any questions with either of our walk throughs, (my linux one or @[email protected] 's Powershell one), feel free to DM me. Don't mind helping folks starting their exploration of computers. We all started somewhere.
It's not too bad, it seems more difficult because I added all the steps. Changing the folder PowerShell is looking at is easy to do, but hard to explain.
Look into the WSL