Skip to content
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

S3P - Checkpointing (e.g. log all copied files & option to skip files listed in a source file) #32

Open
mmuru-w opened this issue Apr 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mmuru-w
Copy link

mmuru-w commented Apr 28, 2021

It would be nice to have a checkpointing support in S3P while copying files. Currently, it is all or nothing and no indication of the start/last file copied. It would be nice to include them in the status summary at the end. Any suggestion how to get the processed file information from S3P?

@shanebdavis shanebdavis added the enhancement New feature or request label Jul 14, 2021
@shanebdavis
Copy link
Member

That's a great idea! It might not be simple to do, though. S3P is massively parallel, and if it fails partway through, it'll be in the middle of many simultaneous scans. The only reliable way to do it would be to log every file already copied and skip copying them on the next run.

The s3p sync command kind-of does this already. It'll quickly skip over files previously copied, and in many cases is just the ticket. However, I realize it's not quite semantically the same as re-running s3p cp and skipping previously copied files.

@shanebdavis shanebdavis changed the title S3P - Checkpointing S3P - Checkpointing (e.g. log all copied files & option to skip files listed in a source file) Jul 14, 2021
@RobQuistNL
Copy link

unfortunately the s3 sync command clears out the target folder for me and starts all over again :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants