Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Backups from customer environments follow this naming convention:
daily<<customername>>prod_YYYYMMDDHHmmSS
Object\Namespace Included
...
This document outlines a comprehensive backup and restore strategy for AC4 cloud environments, ensuring minimal downtime and efficient recovery in case of failures.
Storage Backup & Restore
The process demonstrates how Velero is utilized to manage backups and restore PVCs within an Azure cloud setting. This guarantees that data is securely backed up and can be easily restored in situations of data loss or migration requirements.
...
Sample Test Cases:
Use Case ID: UC01_Recover_Adeptia Objects
Use Case Scenario: Recover Adeptia Connect activities in Azure Kubernetes
Description: Details a scenario where a user has deleted some Adeptia activities and needs to recover them.
Pre-requisite: Access to the Azure portal and Kubernetes cluster is required.
TC ID | Test Case | Steps | Planned date | Execution Date | Executed By | Expected Result | Actual Result |
UC01_TC01 | Verify that the copy of below activities are created
| Log in to acdemo-sandbox.adeptia.com | mm/dd/yyyy | mm/dd/yyyy | John Smith | Copy of the activites are created | Pass |
UC01_TC02 | Verify if database backup is getting created successfully till the specified date. | Login to portal.azure.com with required credentials. | mm/dd/yyyy | mm/dd/yyyy | John Smith | Database backup should be created. | Pass |
UC01_TC03 | Verify that the activities are deleted. | Log in to acdemo-sandbox.adeptia.com | mm/dd/yyyy | mm/dd/yyyy | John Smith | Activities should be deleted. | Pass |
UC01_TC04 | Verify if the backup database is able to restore the deleted activities. | Change the database value in the yaml file | mm/dd/yyyy | mm/dd/yyyy | John Smith | The deleted activities should be now present | Pass |
UC01_TC05 | Verify that the restored activities data is consistent with the original data (e.g., timestamp, content). | Log in to acdemo-sandbox.adeptia.com | mm/dd/yyyy | mm/dd/yyyy | John Smith | The restored activities data is consistent with the original data. | Pass |
UC01_TC06 | Verify that Adeptia Connect is able to access and use the restored activities data correctly. | Log in to acdemo-sandbox.adeptia.com | mm/dd/yyyy | mm/dd/yyyy | John Smith | Adeptia Connect is able to access and use the restored activities data correctly. | Pass |
UC01_TC07 | Check for any errors or inconsistencies in the Adeptia Connect logs or database logs. | Log in to acdemo-sandbox.adeptia.com | mm/dd/yyyy | mm/dd/yyyy | John Smith | There are no errors or inconsistencies in the Adeptia Connect logs or database logs. | Pass |
UC01_TC08 | Perform any necessary configuration changes to the application to ensure that it is using the restored database instance. | Open any existing transaction. | mm/dd/yyyy | mm/dd/yyyy | John Smith | The application is able to function normally after the database recovery. | Pass |
UC01_TC09 | Create a new activity and cross check if it is getting saved in the new database correctly. | Create a new transaction from Adeptia Connect. | mm/dd/yyyy | mm/dd/yyyy | John Smith | Newly crated transaction and it's properties stored in the new database correctly. | Pass |
Conclusion:
The activities were successfully recovered in Adeptia Connect running in Azure Kubernetes through the database backup.
...
Use Case ID: UC02_Recover_Custom_Jar_or_PVC
Use Case Scenario: Recover a custom file or JAR from PVC or the whole PVC
Description: Describes a scenario where a user has deleted some custom files or JARs and wants to recover them.
Pre-requisite: A Kubernetes cluster is set up and running, with access to the Azure portal.
TC ID | Test Case | Steps | Planned Date | Execution Date | Executed By | Expected Result | Actual Result |
UC02_TC01 | Verify that the copy of the custom jar file is getting created. | Login to http://portal.azure.com with required credentials. | dd/mm/yyyy | dd/mm/yyyy | John Smith | Custom Jar copied successfully into share drive. | Pass |
UC02_TC02 | Verify that latest PVC backup is getting created successfully. | Take the latest backup of PVC through Velero backup command using command line. | dd/mm/yyyy | dd/mm/yyyy | John Smith | PVC backup should be created successfully. | Pass |
UC02_TC03 | Verify that the Namespace is getting deleted through command line. | Delete the namespace from the cluster using the command: | dd/mm/yyyy | dd/mm/yyyy | John Smith | Namespace should be deleted without any error | Pass |
UC02_TC04 | Verify that user is able to restore the Namespace PVC OR the jar file from Velero backup. | Restore the Namespace PVC through Velero restore command using command line | dd/mm/yyyy | dd/mm/yyyy | John Smith | The jar file and Namespace should be successfully recovered and accessible from its restored location. | Pass |
UC02_TC05 | Verify that if a user add a new jar then it is working fine with restored namespace PVC. | Add the new jar file(mapping functions) in shared drive and then login to application and check new methods or functions in data mapper. | dd/mm/yyyy | dd/mm/yyyy | John Smith | New mapping methods and functions should be added in datamapping activity with the restored Namespace PVC. | Pass |
UC02_TC06 | Verify that deleted namespace or jar file has been restored along with the PVC restore. | Check if the jar file OR Namespace has been restored by accessing it from the shared drive through command using the command line. | dd/mm/yyyy | dd/mm/yyyy | John Smith | The jar file should be accessible from the shared drive and located in the same directory where it was originally stored. | Pass |
UC02_TC07 | Verify that the custom functions are accesible through the Adeptia application once a jar file is recovered from storage. | Log in to acdemo-sandbox.adeptia.com | dd/mm/yyyy | dd/mm/yyyy | John Smith | Custom function should be accessible | Pass |
Conclusion:
The PVC and jar files was successfully recovered in Adeptia Connect running in Azure Kubernetes through the PVC backup.