Skip to content

Handling deleted files from AWS S3 buckets #2482

@Chrystinne

Description

@Chrystinne

When resending files to AWS S3 through PhysioNet, the deleted files on the server aren't deleted from S3 buckets with the current re-upload functionality (i.e., #2289).

We need to implement a way of deleting the files from the S3 bucket to sync its content with the content of the server.

In the meantime, we can potentially use the CLI command on the server as follows:

aws s3 sync --delete

which does mirroring (i.e., "it creates a precise replica of the source in the destination, including the removal of items that no longer exist in the source.").

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions