You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stackit_mongodbflex_backup_restore.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ Restores a MongoDB Flex instance from a backup
4
4
5
5
### Synopsis
6
6
7
-
Restores a MongoDB Flex instance from a backup of an instance or clones a MongoDB Flex instance from a point-in-time snapshot.
8
-
The backup is specified by a backup ID and the point-in-time snapshot is specified by a timestamp.
7
+
Restores a MongoDB Flex instance from a backup of an instance or clones a MongoDB Flex instance from a point-in-time backup.
8
+
The backup can be specified by a backup ID or a timestamp.
9
9
You can specify the instance to which the backup will be applied. If not specified, the backup will be applied to the same instance from which it was taken.
--backup-instance-id string Instance ID of the target instance to restore the backup to
33
33
-h, --help Help for "stackit mongodbflex backup restore"
34
34
--instance-id string Instance ID
35
-
--timestamp string Timestamp of the snapshot to use as a source for cloning the instance in a date-time with the RFC3339 layout format, e.g. 2024-01-01T00:00:00Z
35
+
--timestamp string Timestamp to restore the instance to, in a date-time with the RFC3339 layout format, e.g. 2024-01-01T00:00:00Z
-h, --help Help for "stackit mongodbflex backup update-schedule"
30
30
--instance-id string Instance ID
31
-
--save-daily-snapshot-days int Number of days to retain daily snapshots. Should be less than or equal to the number of days of the selected weekly or monthly value.
32
-
--save-monthly-snapshot-months int Number of months to retain monthly snapshots
33
-
--save-snapshot-days int Number of days to retain snapshots. Should be less than or equal to the value of the daily backup.
34
-
--save-weekly-snapshot-weeks int Number of weeks to retain weekly snapshots. Should be less than or equal to the number of weeks of the selected monthly value.
35
31
--schedule string Backup schedule, in the cron scheduling system format e.g. '0 0 * * *'
32
+
--store-daily-backup-days int Number of days to retain daily backups. Should be less than or equal to the number of days of the selected weekly or monthly value.
33
+
--store-for-days int Number of days to retain backups. Should be less than or equal to the value of the daily backup.
34
+
--store-monthly-backups-months int Number of months to retain monthly backups
35
+
--store-weekly-backup-weeks int Number of weeks to retain weekly backups. Should be less than or equal to the number of weeks of the selected monthly value.
Short: "Restores a MongoDB Flex instance from a backup",
41
41
Long: fmt.Sprintf("%s\n%s\n%s",
42
-
"Restores a MongoDB Flex instance from a backup of an instance or clones a MongoDB Flex instance from a point-in-time snapshot.",
43
-
"The backup is specified by a backup ID and the point-in-time snapshot is specified by a timestamp.",
42
+
"Restores a MongoDB Flex instance from a backup of an instance or clones a MongoDB Flex instance from a point-in-time backup.",
43
+
"The backup can be specified by a backup ID or a timestamp.",
44
44
"You can specify the instance to which the backup will be applied. If not specified, the backup will be applied to the same instance from which it was taken.",
cmd.Flags().Var(flags.UUIDFlag(), backupInstanceIdFlag, "Instance ID of the target instance to restore the backup to")
143
143
cmd.Flags().String(backupIdFlag, "", "Backup ID")
144
-
cmd.Flags().String(timestampFlag, "", "Timestamp of the snapshot to use as a source for cloning the instance in a date-time with the RFC3339 layout format, e.g. 2024-01-01T00:00:00Z")
144
+
cmd.Flags().String(timestampFlag, "", "Timestamp to restore the instance to, in a date-time with the RFC3339 layout format, e.g. 2024-01-01T00:00:00Z")
cmd.Flags().String(scheduleFlag, "", "Backup schedule, in the cron scheduling system format e.g. '0 0 * * *'")
124
-
cmd.Flags().Int64(snapshotRetentionDaysFlag, 0, "Number of days to retain snapshots. Should be less than or equal to the value of the daily backup.")
125
-
cmd.Flags().Int64(dailySnapshotRetentionDaysFlag, 0, "Number of days to retain daily snapshots. Should be less than or equal to the number of days of the selected weekly or monthly value.")
126
-
cmd.Flags().Int64(weeklySnapshotRetentionWeeksFlag, 0, "Number of weeks to retain weekly snapshots. Should be less than or equal to the number of weeks of the selected monthly value.")
127
-
cmd.Flags().Int64(monthlySnapshotRetentionMonthsFlag, 0, "Number of months to retain monthly snapshots")
124
+
cmd.Flags().Int64(snapshotRetentionDaysFlag, 0, "Number of days to retain backups. Should be less than or equal to the value of the daily backup.")
125
+
cmd.Flags().Int64(dailySnapshotRetentionDaysFlag, 0, "Number of days to retain daily backups. Should be less than or equal to the number of days of the selected weekly or monthly value.")
126
+
cmd.Flags().Int64(weeklySnapshotRetentionWeeksFlag, 0, "Number of weeks to retain weekly backups. Should be less than or equal to the number of weeks of the selected monthly value.")
127
+
cmd.Flags().Int64(monthlySnapshotRetentionMonthsFlag, 0, "Number of months to retain monthly backups")
0 commit comments