- Newest
- Most votes
- Most comments
You will need to disable the gateway, delete the tapes, delete the gateway and then delete the archived tapes (if desired). Here are the steps involved with the corresponding AWS CLI commands:
- Disable the gateway
aws storagegateway disable-gateway --gateway-arn <gatewayARN>
- After the gateway is disabled, delete the tapes retrieved to that gateway. This should transition the tapes back to archived state (from retrieved state)
aws storagegateway delete-tape --tape-arn <tapeARN> --gateway-arn <gatewayARN>
- After the tapes are deleted, delete the gateway
aws storagegateway delete-gateway --gateway-arn <gatewayARN>
- If you do not want to retain the archived tapes, you can delete them
aws storagegateway delete-tape-archive --tape-arn <tapeARN>
Hello.
Have you tried deleting it using the steps in the document below?
https://docs.aws.amazon.com/storagegateway/latest/tgw/deleting-tapes-vtl.html
If the tape you want to delete from your Tape Gateway has a status of RETRIEVED, you must first eject the tape using your backup application before deleting the tape. For instructions on how to eject a tape using the Symantec NetBackup software, see Archiving the Tape. After the tape is ejected, the tape status changes back to ARCHIVED. You can then delete the tape.
You can change the status from "RETRIEVED" to "ARCHIVED" by following the steps in the document below.
I think you can delete it once it reaches the "ARCHIVED" status.
https://docs.aws.amazon.com/storagegateway/latest/tgw/backup_netbackup-vtl.html#GettingStarted-archiving-tapes-vtl
Thanks for the reply Riku - yes I did come across the first document- thanks for the second. We're using Veeam and the two tapes aren't showing in there so I don't have an option to change them to ARCHIVED. Is there any way to change them when they're not accessible from our backup software though? I also couldn't see a way to change the storage gateway they are using (there's a new one in use now).
Is it possible to obtain it using the steps in the document below? https://docs.aws.amazon.com/storagegateway/latest/tgw/retrieving-archived-tapes-vtl.html
Relevant content
- asked a year ago
- Accepted Answerasked 6 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
That's cleared it out. Thanks very much