Skip to content
Ken Steinfeldt edited this page Feb 5, 2019 · 9 revisions

Welcome to the bucket-wipe wiki!

What is bucket-wipe?

bucket-wipe is a tool designed to enumerate a bucket and delete all of its contents in parallel threads.

Why use bucket-wipe?

This tool allows a user to delete non-empty bucket. At the end the bucket can be optionally deleted as well.

What it Does?

This tool permanently deletes all data from the bucket and, by default, the bucket itself. However, a bucket can be kept after emptied with the --keep-bucket option. Please note: data cannot be recovered after deletion.

Examples of Use

  1. Delete all objects in a bucket, but keep the empty bucket. In this case there is an external load balancer in place, therefore the -no-smart-client option is used.
java -jar bucket-wipe-1.10.jar -e <end-point> -a <access-key> -s <secret-key> --no-smart-client --keep-bucket <bucket-name>
  1. Delete all objects in a bucket, then delete the bucket. In this case there is no external load balancer, so we keep do not deactivate the smart-client.
java -jar bucket-wipe-1.10.jar -e <end-point> -a <access-key> -s <secret-key> <bucket-name>
Clone this wiki locally