Unable to delete a glacier vault

1

I have followed all the instructions as per https://docs.aws.amazon.com/amazonglacier/latest/dev/getting-started-delete-archive-cli.html to delete a glacier vault However the vault still appears on the console and I am getting the following error

Error deleting vault
Vault not empty or recently written to: arn:aws:glacier:ap-southeast-2:XXXXXXXX:vaults/testvault
profile picture
Sri
preguntada hace 2 años913 visualizaciones
1 Respuesta
1
Respuesta aceptada

There should have been no writes to the vault since the last inventory.

S3 Glacier prepares an inventory for each vault periodically, every 24 hours. Because the inventory might not reflect the latest information, S3 Glacier ensures the vault is indeed empty by checking if there were any write operations since the last vault inventory.

So retry after 24 hours :-)

https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-delete.html https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-vaults.html

profile picture
JaccoPK
respondido hace 2 años
  • In my case, there are no writes to the vault. I already tried for 3 days, leaving 24 hours in between, and I keep getting the same errors. Thanks

  • Also, my problem is deleting archive. It keeps saying Invalid Vault name even though the vault name is correct. Used the exact same code and aws command than I used with other vaults that worked perfectly. Yet on these two vauts I keep getting the error

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas