CPC G06F 16/1844 (2019.01) | 20 Claims |
1. A computer program product for replicating a file to remote storages in a network, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause operations, the operations comprising:
in response to receiving a replication request to replicate a file and determining that available remote storages do not satisfy both a geographical location requirement at which to replicate the file and a replication requirement indicating a minimum number of remote storages at which to replicate the file, performing:
determining a number of new remote storages at one or more geographical locations that are not yet available for immediate replication and that satisfy the geographical location requirement;
configuring the number of new remote storages at the one or more geographical locations to be available remote storages for immediate replication; and
replicating the file to available remote storages comprising the minimum number of storages at the one or more geographical locations, wherein the available remote storages to which the file is replicated include at least one of the configured number of new remote storages; and
providing file metadata including a unique identifier for the file and a repository location indicating locations in remote storages where the file is replicated.
|