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
posta 3 anni fa1279 visualizzazioni
1 Risposta
2
Risposta accettata

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
con risposta 3 anni fa
profile picture
ESPERTO
verificato 8 mesi fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande