Depending on the container type, data is sent to the archive tier by different methods. For RDA and Object containers, data is archived based on the Archive Tiering Policy. For VTL containers, exporting the cartridge from the backup application will trigger the movement of cart data to cloud.
Restoring data from an archive tier differs in some ways from a standard restore process. There are two possible methods for restoring:
- Selectively restoring backups based on need, and
- Performing a full disaster recovery by completely restoring all data from Glacier to AWS S3.
In both cases, when restoring from an archive tier, no files are saved to on-prem storage. Instead, files are copied from the archive storage (Glacier or Amazon S3 Glacier Deep Archive) to warm AWS S3 storage for a period of time specified by the Archive Retention in Warm Cloud setting. When restoring from an archive tier, consider the following:
- Restoring from archive storage is a two-step operation. First, archive data is restored to standard AWS S3 storage, then the objects are read from there.
- There are two options for restoring from Glacier storage: Batch operations and Lambda with batch operations. According to AWS, "Lambda is a compute service that lets you run code without provisioning or managing servers." Using Lambda with batch operations can help avoid certain restore failures. For more information, see What is AWS Lambda? in the AWS documentation.
- Restored objects will be ready for readback after 4-6 hours for Amazon S3 Glacier (10-12 hours for Amazon S3 Glacier Deep Archive). No notification is issued when restored objects are available. You may view the status of restore operations in the AWS Console. Refer to the Amazon S3 document Checking Archive Restore Status and Expiration Date for more information. To perform a batch restore for disaster recovery purposes, refer to Manually restoring datastores from Amazon S3 Glacier.
- When restoring objects from archive, you are charged for both the archive copy and the restore copy in warm storage. Use the Archive Retention in Warm Cloud value to minimize the duration objects are kept in warm storage.
- For restoring VTL cartridge data, the command vtl --import must be run on the QoreStor server.
Restoring files from RDS Container backups replicated to AWS S3 Glacier or Deep Archive
Backups written to an RDA container replicate to an archive tier and stubbed from on-premises storage based on the Archive Tiering Policy.
In the case of an RDA container, the process of restoring files from an archive tier differs based on direct memory access (DMA) . For more information, see the respective DMA setup guide on Quest QoreStor support portal.
Restoring selective objects from Object Container backups replicated to AWS S3 Glacier or Deep Archive
Backups written to an object container replicate to an archive tier based on the Archive Tiering Policy.
To selectively move the objects required for restoring files from the archive tier, see the following procedure for receiving data from AWS S3 Glacier or Deep Archive and then be able to readback data.
To restore selective objects from Object Container backups replicated to AWS S3 Glacier or Deep Archive
- To list the required objects from the bucket from which you want to restore and select the individual files identified by "Key" by using the following command:
Restoring selective objects from object container command
[root@qorestor-c8-v2 ~]# aws s3api list-objects --bucket default-bucket --endpoint-url=https://10.230.48.153:9000 --no-verify-ssl
{
"Contents": [
{
"Key": "filex",
"LastModified": "2021-06-15T04:24:43+00:00",
"ETag": "\"0e2bec8c5b89eb953ded4baa10d0b084\"",
"Size": 459740522,
"StorageClass": "GLACIER",
"Owner": {
"DisplayName": "",
"ID": "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
}
}
- To restore the object from Glacier, use the following command:
$ aws s3api restore-object --bucket default-bucket --key filex --restore-request '{"Days":220}' --endpoint-url=https://10.230.48.175:9000 --no-verify-ssl
- To check the restore status, use the following command:
$ aws s3api head-object --bucket default-bucket --key <object_key> --endpoint-url=https://10.230.48.175:9000 --no-verify-ssl
- After the restore is complete, to view head-object status "Restore": "ongoing-request=\"false\", expiry-date=\"2020-08-24 00:00:00 +0000 GMT\"", use the following command:
Viewing the restore command
[root@qorestor-c8-v2 ~]# aws s3api head-object --bucket default-bucket --key deep.sh --endpoint-url=https://10.230.48.153:9000 --no-verify-ssl
{
"AcceptRanges": "bytes",
"Restore": "ongoing-request=\"true\"",
"LastModified": "2021-06-14T09:55:15+00:00",
"ContentLength": 540,
"ETag": "\"edfc67818cfec9e9d76772a02be41a8f\"",
"ContentType": "application/x-sh",
"Metadata": {},
"StorageClass": "STANDARD-S3"
}
|
NOTE: Using the option --no verify-ssl is only necessary if you are using a self-signed certificate on QoreStor. |
Restoring selective tapes of VTL backups replicated to AWS S3 Glacier or Deep Archive
In the case of VTL containers, there are no individual backups replicated to cloud storage, but the entire cartridge is exported to the cloud. You can replicate VTL cartridges that are no longer required as on-premises storage to the cloud using VTL export.
For detailed instructions, refer to the respective DMA setup guide on the Quest Support Portal.
After you replicate and stub VTL tapes to an archive tier, to bring the data to Warm Cloud storage and restore it, use the following procedure.
To restore selective tapes of VTL backups replicated to AWS S3 Glacier or Deep Archive
- To bring data to Warm Cloud storage and initiate a restore from AWS S3 Glacier to S3 Standard storage, use the following command:
vtl --restore --name <cont_name> --barcode <barcode_of-media>
NOTE: This process typically takes approximately four hours when performed from AWS S3 Glacier storage and as many as eight to 12 hours from Glacier Deep Archive.
- To check the Glacier to Standard S3 restore status, use the following command:
vtl --show --verbose
The restore status appears at the end of the command output, as shown in the following example:
- Restore Status: [Cart Name] [Restore current State] [Restored Data available until]
- Restore status can be:
- [Cart Name] [Restore current State] [Restored Data available until]
GV758Q001 Restore process initiated Tue 2020-03-31 09:23:50 EAT
- [Cart Name] [Restore current State] [Restored Data available until]
GV758Q001 Restore initiation successful Tue 2020-03-31 09:23:50 EAT
- [Cart Name] [Restore current State] [Restored Data available until]
GV758Q001 Restore Process InProgress Wed 2020-04-08 03:00:00 EAT
- [Cart Name] [Restore current State] [Restored Data available until]
GV758Q001 Restore SUCCESSFUL Wed 2020-04-08 03:00:00 EAT
- [Cart Name] [Restore current State] [Restored Data available until]
- After the restore is done, import carts using the following command:
vtl --import_cart --name <container-name> --barcode <comma-separated-barcodes>
You can provide multiple carts during the VTL import operation.
- To view the status of the selected carts moving from the cloud to the storage_slot of the VTL tape drive, use the following command:
vtl --show --verbose
- To rescan the media and update the VTL, perform an Inventory Robot operation.
NOTE: Before you attempt to restore to a local disk, bring the newly added media online.