Intelligent recovery from multiple clouds copies
Data protection operations including recovery operations are disclosed. A recovery operation is performed by downloading the backup to be recovered from multiple identical copies of the backup. Based on factors such as throughput, an optimal amount of data can be downloaded from each of the multiple copies. The portions downloaded from the multiple copies are rebuild or reassembled once downloaded. The assembled backup is then presented to a target for recovery.
1. A method, comprising:
receiving a request to perform a recovery operation;
determining a plan for recovering a backup from multiple copies of the backup, wherein each of the multiple copies is identical;
downloading, in parallel, a portion of the backup from each of the multiple copies in accordance with the plan, wherein a different portion of the backup is downloaded from each of the multiple copies;
rebuilding the backup from the portions downloaded from the multiple copies; and
recovering the rebuilt backup.
2. The method of claim 1 , further comprising connecting to each location that stores one of the multiple copies of the backup and performing a speed test for each location to determine a throughput for each location.
3. The method of claim 2 , further comprising storing a history of speed test results for each location.
4. The method of claim 3 , wherein the plan is based on a throughput of each location or based on an average throughput associated with the history.
5. The method of claim 1 , further comprising identifying the locations of the multiple copies of the backup.
6. The method of claim 1 , further comprising downloading different data amounts from at least some of the multiple copies.
7. The method of claim 1 , wherein the multiple copies are stored as objects or files, further comprising formulating the plan such that the portions include whole objects or files.
8. The method of claim 7 , wherein at least some of the portions are less than or greater than an assigned amount.
9. The method of claim 1 , wherein each of the multiple copies is associated with a throughput, wherein the portion of the backup retrieved from each of the multiple copies is based on the size of the backup and a ratio of a corresponding throughput to a sum of all throughputs.
10. A non-transitory storage medium having stored therein instructions that are executable by one or more hardware processors to perform operations comprising:
receiving a request to perform a recovery operation;
determining a plan for recovering a backup from multiple copies of the backup, wherein each of the multiple copies is identical;
downloading, in parallel, a portion of the backup from each of the multiple copies in accordance with the plan, wherein a different portion of the backup is downloaded from each of the multiple copies;
rebuilding the backup from the portions downloaded from the multiple copies; and
recovering the rebuilt backup.
11. The non-transitory storage medium of claim 10 , further comprising connecting to each location that stores one of the multiple copies of the backup and performing a speed test for each location to determine a throughput for each location.
12. The non-transitory storage medium of claim 11 , further comprising storing a history of speed test results for each location.
13. The non-transitory storage medium of claim 12 , wherein the plan is based on a throughput of each location or based on an average throughput associated with the history.
14. The non-transitory storage medium of claim 10 , further comprising identifying the locations of the multiple copies of the backup.
15. The non-transitory storage medium of claim 10 , further comprising downloading different data amounts from at least some of the multiple copies.
16. The non-transitory storage medium of claim 10 , where the multiple copies are stored as objects or files, further comprising formulating the plan such that the portions include whole objects or files.
17. The non-transitory storage medium of claim 16 , wherein at least some of the portions are less than or greater than an assigned amount.
18. The non-transitory storage medium of claim 10 , wherein each of the multiple copies is associated with a throughput, wherein the portion of the backup retrieved from each of the multiple copies is based on the size of the backup and a ratio of a corresponding throughput to a sum of all throughputs.