-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Resume import functionality #292
Comments
I think in order to support this there would need to be a I believe it requires a new file to store the progress of resumable imports but open to other ideas. |
Maybe try to deal with that by changing the workflow and add a couple of features (especially that PR #297 and that issue #299 ). |
I've added PR for delete duplicates functionality. #301 |
@hsuominen if you want to test out my approach combined it's here in my fork https://github.com/DZamataev/elodie/tree/feature/move-source-and-separate-media-folders
|
I'd recommend acting on a sorted list of files. Then on resume the script can check the last file written and find that in the list and resume there. |
I'm running elodie to backup on the order +150,000 images scattered across a fairly messy file/folder structure. I've had elodie crash a few times and most recently crashed after 2 days after having processed 50,000 files or so.
It seems that restarting the import requires rereading each file to check if it has already been imported, which by my estimate should take about 13h at least (about 1s per file, presumably to calculate the hash). Is there any built in way to speed this up?
It would seem pretty straightforward to add functionality to pick up again where the import left off - I may address this in a PR if I get around to it
The text was updated successfully, but these errors were encountered: