How to delete files transferred successfully by Datasync?

1

We want to transfer files from our data center to S3 using Datasync. Based on the documentation, apparently, datasync does not delete the file at the source after the data transfer is successful. What is the common practice followed to delete the files locally after they are successfully transferred?

질문됨 일 년 전1269회 조회
1개 답변
-1

DataSync does not provide an option to delete files from the source location. An option could be to configure the tasks log level to Log all transferred objects, files, and folders. CloudWatch would then contain a list of transferred and verified files that can be used to delete files on the source.

Here is a link to a blog that also discusses using CloudWatch logs to perform post-process activities on transferred files. https://aws.amazon.com/blogs/storage/post-process-your-transferred-data-with-file-level-logging-in-aws-datasync/

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠