Skip to content

Commit

Permalink
revert backups changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GokceGK committed Mar 18, 2024
1 parent f364936 commit 9beb9fe
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 1,327 deletions.
1 change: 0 additions & 1 deletion docs/stackit_postgresflex.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ stackit postgresflex [flags]
### SEE ALSO

* [stackit](./stackit.md) - Manage STACKIT resources using the command line
* [stackit postgresflex backups](./stackit_postgresflex_backups.md) - Provides functionality for PostgreSQL Flex instance backups
* [stackit postgresflex instance](./stackit_postgresflex_instance.md) - Provides functionality for PostgreSQL Flex instances
* [stackit postgresflex options](./stackit_postgresflex_options.md) - Lists PostgreSQL Flex options
* [stackit postgresflex user](./stackit_postgresflex_user.md) - Provides functionality for PostgreSQL Flex users
Expand Down
34 changes: 0 additions & 34 deletions docs/stackit_postgresflex_backups.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/stackit_postgresflex_backups_describe.md

This file was deleted.

45 changes: 0 additions & 45 deletions docs/stackit_postgresflex_backups_list.md

This file was deleted.

39 changes: 0 additions & 39 deletions docs/stackit_postgresflex_backups_update-schedule.md

This file was deleted.

14 changes: 7 additions & 7 deletions docs/stackit_postgresflex_instance_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Clones a PostgreSQL Flex instance

### Synopsis

Clones a PostgreSQL Flex instance from a selected point in time.
Clones a PostgreSQL Flex instance from a selected point in time. The new cloned instance will be an independent instance with the same settings as the original instance unless the flags are specified.

```
stackit postgresflex instance clone INSTANCE_ID [flags]
Expand All @@ -13,23 +13,23 @@ stackit postgresflex instance clone INSTANCE_ID [flags]
### Examples

```
Clone a PostgreSQL Flex instance with ID "xxx" . The recovery timestamp should be specified in UTC time following the format provided in the example.
Clone a PostgreSQL Flex instance with ID "xxx" from a selected recovery timestamp.
$ stackit postgresflex instance clone xxx --recovery-timestamp 2023-04-17T09:28:00+00:00
Clone a PostgreSQL Flex instance with ID "xxx" from a selected recovery timestamp and specify storage class. If not specified, storage class from the existing instance will be used.
Clone a PostgreSQL Flex instance with ID "xxx" from a selected recovery timestamp and specify storage class.
$ stackit postgresflex instance clone xxx --recovery-timestamp 2023-04-17T09:28:00+00:00 --storage-class premium-perf6-stackit
Clone a PostgreSQL Flex instance with ID "xxx" from a selected recovery timestamp and specify storage size. If not specified, storage size from the existing instance will be used.
Clone a PostgreSQL Flex instance with ID "xxx" from a selected recovery timestamp and specify storage size.
$ stackit postgresflex instance clone xxx --recovery-timestamp 2023-04-17T09:28:00+00:00 --storage-size 10
```

### Options

```
-h, --help Help for "stackit postgresflex instance clone"
--recovery-timestamp string Recovery timestamp for the instance, in a date-time with the layout format, e.g. 2024-03-12T09:28:00+00:00
--storage-class string Storage class
--storage-size int Storage size (in GB)
--recovery-timestamp string Recovery timestamp for the instance, specified in UTC time following the format, e.g. 2024-03-12T09:28:00+00:00
--storage-class string Storage class. If not specified, storage class from the existing instance will be used.
--storage-size int Storage size (in GB). If not specified, storage size from the existing instance will be used.
```

### Options inherited from parent commands
Expand Down
29 changes: 0 additions & 29 deletions internal/cmd/postgresflex/backups/backups.go

This file was deleted.

140 changes: 0 additions & 140 deletions internal/cmd/postgresflex/backups/describe/describe.go

This file was deleted.

Loading

0 comments on commit 9beb9fe

Please sign in to comment.