-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make migration able to resume after erroring out #22
Comments
Good idea EDIT: how the hell is it possible to detect where u left off? And to detect "the breaking"? |
well, Vanilla forums migrator registered in a text file its current progress. |
I'm taking a stab on this. as it turns out, it's harder than I initially thought. I'd love to sya a date to finish this but time and concentration are two things I´m finding hard to get lately =/ |
so, a year and a half later, but I have a working proof of concept in #31 But if you like it, I can try to clean it up and make it ready to merge. I tried to comment the PR in order to explain what I did. summarized, I made all the queries able to take an offset, and saved the count object into a json file so we can read it, and restart where we stopped the last time |
so that, one big way to add reliability to a tool like this one is to save the progress somewhere, and give the option of resuming from there.
that way even if you have trouble making it to the finish line, you don't lose all you progress.
for example, I have a big forum, and half way it breaks due to a lack of memory, that could be easily worked around by just starting from the last thing migrated.
The text was updated successfully, but these errors were encountered: