Editing an archive tier restore mode using the command line interface
If you create an archive tier after an upgrade to 7.1, the default mode of restores is Lambda. If the archive tier was been created prior to a 7.1 upgrade, the upgrade switches the restores from Batch operations to Lambda. You can change this option using the command line interface (CLI) or the user interface (UI).
To edit an archive tier restore mode using the command line interface
- From the CLI, enter the following commands:
Commands for editing restore mode
cloud_tier --update [--cloud_password] |
[--cloud_archive] |
[--archive_retention_in_warm <1 to 365 days>] |
[--archive_role_arn <archive role arn>] |
[--archive_restore_type <Batch|Lambda>] |
|
[root@qorestor-ol82-tst1 ~]# cloud_tier --update --archive_role_arn arn:aws:iam::177436582181:role/IAMLambdaOps_Restrictive --archive_restore_type Lambda --cloud_archive |
Validating Role-arn string format for group name DefaultCloudArchiveTier ... |
Role-arn string format is valid We do basic format validation for the role ARN string. We cannot validate permissions at the time of addition/update – AWS does that during restore operation itself. |
Archive Tier updated successfully. |
[root@jayant-ol82-tst1 ~]# |
|
[root@qorestor-ol82-tst1 ~]# cloud_tier --show --verbose --cloud_archive |
Cloud_tier Entry ID : 8 |
Cloud_tier Name : DefaultCloudArchiveTier |
Cloud_tier Compression Type : Fast |
Cloud_tier Encryption Set : On |
Cloud_tier Encryption Type : Static |
Cloud_tier Rotate Period : 0 |
Cloud_tier Passphrase set : Yes |
Cloud_tier Type : Cloud |
Cloud_tier Cloud container name : jayantcloud1 |
Cloud_tier Cloud provider name : AWS-S3 |
Cloud_tier Cloud archive service name : S3-Glacier |
Cloud_tier Archive retention in warm : 2 days |
Cloud_tier Archive role ARN string : arn:aws:iam::177436582181:role/IAMLambdaOps_Restrictive |
Cloud_tier Archive Restore Type : Lambda Function |
Cloud_tier Cloud connection string : loglevel=trace;region=us-east-1; |
Cloud_tier Created On : Mon Aug 9 14:29:07 2021 PDT |
Cloud_tier Created Bld : 24E2B069 |
Cloud_tier status : Online |
Storage_group Is Storage Agent Group : No |
DefaultCloudArchiveTier's Containers |
------------------------------------ |
None |
Deleting an archive tier
Before deleting a archive tier, review the details below:
- The metadata for the files archived to the cloud will be removed locally. This makes those files unrecoverable.
- Data in the cloud bucket has to be deleted manually.
- Archive policy settings on the source containers are unaffected.
Deleting an archive tier from the GUI
To delete an archive tier, complete the following steps.
- In the navigation menu, click Cloud Storage to expand the menu, then click Archive Tier.
- Click Delete.
- When prompted to confirm, click Delete.
- In the Passphrase field, enter the passphrase used for Archive Tier encryption. This provides validation that the person deleting the archive tier has the appropriate authorization.
- Review the containers linked to the archive tier and confirm that data in these containers can be deleted.
- Click Delete.
Deleting an archive tier from the CLI
- Access the QoreStor CLI. Refer to Using the QoreStor command line for more information.
- Delete your archive tier using the command below. Refer to the QoreStor Command Line Reference Guide for more information.
cloud_tier --delete --cloud_archive
- At the prompt, enter y for yes and press [Enter].
Creating an archive tiering schedule
After you create an archive tier, you can schedule when you want data to transfer to the tier.
To add an archive tiering schedule
- In the navigation menu, expand Cloud Storage, and then click Archive Tier.
The Archive Tier page displays.
- On the Archive Tier page, to reveal the scheduling options, click Schedule.
- For each day of the week, select a time range by completing the following steps:
- Click the From box, select a time to begin the schedule, and then click Set.
- Click the To box, select a time for the schedule to end, and then click Set.
- When finished, click Save.
- To hide the schedule options, click Schedule.
Editing an archive tiering schedule
After you create an archive tiering schedule, you can edit the schedule by completing the following steps.
To edit an archive tiering schedule
- In the navigation menu, expand Cloud Storage, and then click Archive Tier.
The Archive Tier page displays.
- On the Archive Tier page, to reveal the scheduling options, click Schedule.
- For each time you want to change, do either of the following steps:
- To delete a time, click the trash can symbol.
- To change a time, click the box, select a new time, and then click Set.
- When finished, click Save.
- To hide the schedule options, click Schedule.