@Deprecated
  public void setPersistBackup(boolean persistBackup) {
    if (persistBackup) {
      if (!regionAttributes.getDataPolicy().withPersistence()) {
        if (regionAttributes.getDataPolicy().withPartitioning()) {
          setDataPolicy(DataPolicy.PERSISTENT_PARTITION);
        } else {
          setDataPolicy(DataPolicy.PERSISTENT_REPLICATE);
        }
      }
    } else {
      // It is less clear what we should do here for backwards compat.
      // If the current data policy is persist then we need to change it
      // otherwise just leave it alone
      if (regionAttributes.getDataPolicy().withReplication()) {
        setDataPolicy(DataPolicy.REPLICATE);
      } else if (regionAttributes.getDataPolicy().withPartitioning()) {
        setDataPolicy(DataPolicy.PARTITION);
      }
    }
  }
Sets whether or not a persistent backup should be made of the region.

@param persistBackup boolean specifying if a persistent backup should be made of the region

@since GemFire 3.2
@deprecated as of GemFire 5.0, use {@link DataPolicy#PERSISTENT_REPLICATE} instead
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java