- Newest
- Most votes
- Most comments
Hi kradomanski,
I can understand how frustrating it must be to face such long recovery times for your 100GB backup, especially when you've had success with larger backups before. Let’s work through some steps to resolve this issue effectively. 😊
Clarifying the Issue
You’re trying to recover a 100GB backup from Amazon S3 Glacier to your QNAP NAS. Despite using QNAP’s Glacier app and HBS with options like expedited recovery, the process has been stuck at 0% for days. Even after resolving encryption issues, the recovery doesn't progress. This stands in stark contrast to a successful 500GB recovery using HBS, which completed in ~2 days.
Key Terms
- S3 Glacier: A cost-efficient storage service designed for data archiving, offering retrieval tiers like expedited, standard, and bulk.
- IAM Role/Permissions: Identity and Access Management roles control access to your S3 Glacier data. Insufficient permissions can cause retrieval failures.
- CLI Restore Commands: AWS Command Line Interface provides direct, flexible access to your Glacier-stored data, bypassing third-party tools.
- Logs and Debugging: App logs (like QNAP’s HBS logs) often contain valuable error details that can aid troubleshooting.
The Solution (Our Recipe)
Steps at a Glance:
- Confirm S3 Glacier Retrieval Settings in QNAP HBS and Glacier apps.
- Test IAM Permissions for Glacier Access.
- Use AWS S3 CLI to Restore and Retrieve Data.
- Perform Encryption Key Validation with Small Test Backups.
- Review QNAP Logs and Escalate to AWS Support if Needed.
Step-by-Step Guide:
Step 1: Confirm S3 Glacier Retrieval Settings in QNAP HBS and Glacier Apps
- Verify that the retrieval tier (e.g., expedited or standard) matches your intention.
- Double-check the region and Glacier vault specified in the app align with your stored backup.
Step 2: Test IAM Permissions for Glacier Access
- Go to the IAM Management Console and confirm the user or role used by your QNAP app has the necessary S3 permissions. Use a policy like:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:*", "Resource": "arn:aws:s3:::your-bucket-name/*" } ] } - If unsure, temporarily assign "AmazonS3FullAccess" to test whether permissions are the root cause.
Step 3: Use AWS S3 CLI to Restore and Retrieve Data
- If the QNAP apps fail to initiate recovery, use AWS CLI commands. First, initiate the restore:
aws s3api restore-object --bucket your-bucket-name --key "backup-file-path" --restore-request '{"Days": 7, "GlacierJobParameters": {"Tier": "Standard"}}' - Wait for the object to move from Glacier to S3 (check its status with
head-object). Once restored, download it directly:aws s3 cp s3://your-bucket-name/backup-file ./ --region your-region
Step 4: Perform Encryption Key Validation with Small Test Backups
- Create a smaller encrypted test backup using the same configuration as your 100GB file.
- Attempt recovery to confirm your encryption key is valid and recognized.
Step 5: Review QNAP Logs and Escalate to AWS Support if Needed
- Locate QNAP HBS logs (typically found in
/var/logon QNAP NAS). Look for errors like "access denied" or "object not found." - Share these logs with AWS Support for deeper troubleshooting. Be sure to include the restore job ID and the steps you've taken so far.
Closing Thoughts
By verifying retrieval settings, testing permissions, and attempting direct AWS CLI restores, you’ll either recover the data or isolate the root cause. If none of these steps resolve the issue, AWS Support can provide additional insights. I hope this helps you get your 100GB backup restored without further delay.
Let me know if you have any additional questions or need assistance! 🌟😊
Cheers, Aaron 😊
Relevant content
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
