Skip to content

Commit 0814558

Browse files
1 parent e5bfcdd commit 0814558

1 file changed

Lines changed: 18 additions & 16 deletions

File tree

src/Backupdr/StandardSchedule.php

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,17 @@ class StandardSchedule extends \Google\Collection
6565
*/
6666
public $daysOfWeek;
6767
/**
68-
* Optional. Specifies frequency for hourly backups. A hourly frequency of 2
69-
* means jobs will run every 2 hours from start time till end time defined.
68+
* Optional. Specifies frequency for hourly backups. A hourly frequency of 1
69+
* means jobs will run every 1 hour from start time till end time defined.
7070
* This is required for `recurrence_type`, `HOURLY` and is not applicable
7171
* otherwise. A validation error will occur if a value is supplied and
72-
* `recurrence_type` is not `HOURLY`. Value of hourly frequency should be
73-
* between 4 and 23. Reason for limit : We found that there is bandwidth
74-
* limitation of 3GB/S for GMI while taking a backup and 5GB/S while doing a
75-
* restore. Given the amount of parallel backups and restore we are targeting,
76-
* this will potentially take the backup time to mins and hours (in worst case
77-
* scenario).
72+
* `recurrence_type` is not `HOURLY`. The supported values for each resource
73+
* type are as follows: * `compute.googleapis.com/Instance`: 4-23 *
74+
* `compute.googleapis.com/Disk`: 1-23 * `sqladmin.googleapis.com/Instance`:
75+
* 6-23 * `alloydb.googleapis.com/Cluster`: 1-23 *
76+
* `file.googleapis.com/Instance`: 1-23 Refer to link
77+
* https://cloud.google.com/backup-disaster-
78+
* recovery/docs/concepts/cloud_best_practices for more details.
7879
*
7980
* @var int
8081
*/
@@ -163,16 +164,17 @@ public function getDaysOfWeek()
163164
return $this->daysOfWeek;
164165
}
165166
/**
166-
* Optional. Specifies frequency for hourly backups. A hourly frequency of 2
167-
* means jobs will run every 2 hours from start time till end time defined.
167+
* Optional. Specifies frequency for hourly backups. A hourly frequency of 1
168+
* means jobs will run every 1 hour from start time till end time defined.
168169
* This is required for `recurrence_type`, `HOURLY` and is not applicable
169170
* otherwise. A validation error will occur if a value is supplied and
170-
* `recurrence_type` is not `HOURLY`. Value of hourly frequency should be
171-
* between 4 and 23. Reason for limit : We found that there is bandwidth
172-
* limitation of 3GB/S for GMI while taking a backup and 5GB/S while doing a
173-
* restore. Given the amount of parallel backups and restore we are targeting,
174-
* this will potentially take the backup time to mins and hours (in worst case
175-
* scenario).
171+
* `recurrence_type` is not `HOURLY`. The supported values for each resource
172+
* type are as follows: * `compute.googleapis.com/Instance`: 4-23 *
173+
* `compute.googleapis.com/Disk`: 1-23 * `sqladmin.googleapis.com/Instance`:
174+
* 6-23 * `alloydb.googleapis.com/Cluster`: 1-23 *
175+
* `file.googleapis.com/Instance`: 1-23 Refer to link
176+
* https://cloud.google.com/backup-disaster-
177+
* recovery/docs/concepts/cloud_best_practices for more details.
176178
*
177179
* @param int $hourlyFrequency
178180
*/

0 commit comments

Comments
 (0)