this post was submitted on 07 Jul 2023
6 points (100.0% liked)
Lemmy Support
4719 readers
10 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you're taking that approach make sure you shut down the stack before you copy the data over so everything gets copied over consistently (e.g. the DB isn't in the middle of a write), and yes it should pretty much be that easy.
Is there a better approach?
Use rsync to get the bulk of the data over (even if it's mid write) one or more times, then stop the stack on the origin server, and run rsync again. It should be much faster.
No, these issues are pretty much by-design. In ActivityPub IDs are inherently tied to the domain on which they were created. Based on the nature of federation it is safe to assume someone somewhere will still go looking for that thing via the outdated URL.