0

Consider I have two Storage account i,e. Storage 1, Storage 2. When there is an entry to the Storage 1, the entry should be automatically synced to Storage 2 in Azure for all(table, file, blob). Is there anyway?

4
  • Bidirectional? What is the purpose, backup?
    – Peter Bons
    Commented Jul 18, 2018 at 13:25
  • yes for backup purpose
    – CSk
    Commented Jul 18, 2018 at 13:43
  • sync is different than backup. You can use options in answer below, however, if data gets deleted by authorized user, then you also loose data on replica. What do you exactly want? Commented Jul 19, 2018 at 19:39
  • @csk Was the answer provided helpful to you ? Commented Jul 26, 2018 at 17:55

2 Answers 2

1

As Gaurav mentioned, Redundancy doesn't mean backup, if data is deleted from the original data location, it will replicate and will be deleted from the other locations. If you are specifically looking for backup solutions, I'd recommend checking the following documentation

Below are some of the available backup options:

enter image description here

0

If the purpose of your backup is to make sure you always have data available even in case of a rack/datacenter/region level failure(azure infrastructure failure) then we have an option to select a replication strategy when we create a storage account. In this case you would not have access to the backup copy rather these copes are used by Microsoft to recover when a failure is identified. These are -

  1. Locally redundant storage (LRS)
  2. Zone-redundant storage (ZRS)
  3. Geo-redundant storage (GRS)
  4. Read-access geo-redundant storage (RA-GRS)

For option 1, 2 and 3 the replica is not available unless Microsoft initiates failover.

Option 4 provides read-only access to the data in the secondary location, in addition to geo-replication( GRS Option 3.)

Not sure if you had a different purpose for taking a backup.

1
  • 1
    Replication is not backup! If the data from primary is deleted, it will be deleted from secondary as well. Commented Jul 19, 2018 at 10:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.