Hybrid cloud based protection for applications and virtual machines
Methods and systems for applications and/or virtual machines (“VM”) are provided. As an example, one method includes registering a storage system configured to store data for a VM; creating a policy for the VM for generating a VM backup by a storage management system interfacing with the storage system and a cloud-based microservice; storing, by the cloud-based micro-service, a copy of the VM backup at a cloud-based storage; receiving, by the cloud-based micro-service, an indication from the storage management system of a successful execution of a pre-restore operation upon unregistering the VM from a VM management system; and copying, by the cloud-based micro-service, VM data from the VM backup stored at the cloud-based storage to the storage system for executing a restore operation to restore the VM backup at the storage system.
1 . A method, comprising:
identifying, by a processor executable, cloud-based micro-service, a working environment used by an application to store data for an application, the working environment including a non-cloud based, storage system managed by a storage management system;
associating, by the cloud-based micro-service, a policy to protect the application and the data;
in response to the policy, storing, by the cloud-based micro-service, a copy of a backup of the application and the data stored at a first volume location by the storage system to a cloud-based storage separate from storage of the storage system;
providing, by the cloud-based micro-service, application data from the cloud-based backup to a second volume location managed by the storage system, wherein the providing the application data comprises:
interfacing, by the cloud-based micro-service, with the storage management system for a restore operation to restore and recover the application and the data from the second volume location of the storage system;
receiving, by the cloud-based micro-service, a job object, wherein the job object monitors a status of the restore operation;
polling, by the cloud-based micro-service, the job object for tracking the restore operation to restore and recover the application; and
in response to the job object indicating that the status of the restore operation is complete, providing access to the restored application and the data.
2 . The method of claim 1 , further comprising:
generating, by the storage management system, the job object for tracking the restore operation.
3 . The method of claim 1 , further comprising:
notifying, by the cloud-based micro-service, a client system upon determining from the job object completion of the restore operation.
4 . The method of claim 1 , wherein the application is a database.
5 . The method of claim 4 , further comprising:
receiving, by the cloud-based micro-service, a notification from a database plugin executed by the storage management system of successful execution of the restore operation.
6 . The method of claim 5 , further comprising:
updating, by the cloud-based micro-service, the job object upon receiving the notification.
7 . The method of claim 1 , further comprising:
presenting, by the cloud-based micro-service, an interface to a client system for adding a working environment for the application.
8 . The method of claim 1 , wherein the policy enables hybrid protection of the application and the data at both an on-premise data center and the cloud-based storage.
9 . A non-transitory machine readable storage medium having stored thereon instructions for performing a method, comprising machine executable code which when executed by at least one machine, causes the machine to:
identify, by a cloud-based microservice, a working environment used by an application to store data for an application, the working environment including a non-cloud based, storage system managed by a storage management system;
associate, by the cloud-based micro-service, a policy to protect the application and the data;
in response to the policy, store, by the cloud-based micro-service, a copy of a backup of the application and the data stored at a first volume location by the storage management system to a cloud-based storage separate from storage of the storage system;
provide, by the cloud-based micro-service, application data from the cloud-based backup to a second volume location managed by the storage system, wherein providing the application data comprises further causes the machine to:
interface, by the cloud-based micro-service, with the storage management system for a restore operation to restore and recover the application and the data from the second volume location of the storage system;
receive, by the cloud-based micro-service, a job object, wherein the job object monitors a status of the restore operation;
poll, by the cloud-based micro-service, a job object for tracking the restore operation to restore and recover the application; and
in response to the job object indicating that the status of the restore operation is complete, providing access to the restored application and the data.
10 . The non-transitory machine readable storage medium of claim 9 , wherein the application is a database.
11 . The non-transitory machine readable storage medium of claim 10 , wherein the machine executable code further causes the machine to:
generate, by the storage management system, the job object for tracking the restore operation.
12 . The non-transitory machine readable storage medium of claim 9 , wherein the machine executable code further causes the machine to:
notify, by the cloud-based micro-service, a client system upon determining from the job object completion of the restore operation.
13 . The non-transitory machine readable storage medium of claim 11 , wherein the machine executable code further causes the machine to:
receive, by the cloud-based micro-service, a notification from a database plugin executed by the storage management system of successful execution of the restore operation; and
update, by the cloud-based micro-service, the job object upon receiving the notification.
14 . The non-transitory machine readable storage medium of claim 13 , wherein the machine executable code further causes the machine to:
present, by the cloud-based micro-service, an interface to a client system for adding a working environment for the application.