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?

質問済み 1年前1267ビュー
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ