Articles → AWS → Upload A File In AWS Glacier Using CLI
Upload A File In AWS Glacier Using CLI
Purpose
Vault
How To Create A Vault Using CLI?
aws glacier create-vault --account-id - --vault-name my-customers-vault
Click to Enlarge
Click to Enlarge
How To Get The List Of Vault In CLI?
aws glacier list-vaults --account-id -
Click to Enlarge
How To Upload A File In Vault Using CLI?
aws glacier upload-archive --account-id - --vault-name my-customers-vault --body test.jpg
Click to Enlarge
How To Delete Archive From Vault Using CLI?
aws glacier delete-archive --vault-name <Your Vault Name> --account-id <Your account Id> --archive-id=<Your Archive Id>
How To Delete A Vault Using CLI?
aws glacier delete-vault --vault-name my-customers-vault --account-id -