Skip to content

ref 644868 - server backup subcommands #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/stackit_beta_server_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ stackit beta server backup [flags]
### SEE ALSO

* [stackit beta server](./stackit_beta_server.md) - Provides functionality for Server
* [stackit beta server backup create](./stackit_beta_server_backup_create.md) - Creates a Server Backup.
* [stackit beta server backup delete](./stackit_beta_server_backup_delete.md) - Deletes a Server Backup.
* [stackit beta server backup describe](./stackit_beta_server_backup_describe.md) - Shows details of a Server Backup
* [stackit beta server backup disable](./stackit_beta_server_backup_disable.md) - Disables Server Backup service
* [stackit beta server backup enable](./stackit_beta_server_backup_enable.md) - Enables Server Backup service
* [stackit beta server backup list](./stackit_beta_server_backup_list.md) - Lists all server backups
* [stackit beta server backup restore](./stackit_beta_server_backup_restore.md) - Restores a Server Backup.
* [stackit beta server backup schedule](./stackit_beta_server_backup_schedule.md) - Provides functionality for Server Backup Schedule
* [stackit beta server backup volume-backup](./stackit_beta_server_backup_volume-backup.md) - Provides functionality for Server Backup Volume Backups

46 changes: 46 additions & 0 deletions docs/stackit_beta_server_backup_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
## stackit beta server backup create

Creates a Server Backup.

### Synopsis

Creates a Server Backup. Operation always is async.

```
stackit beta server backup create [flags]
```

### Examples

```
Create a Server Backup with name "mybackup"
$ stackit beta server backup create --server-id xxx --name=mybackup

Create a Server Backup with name "mybackup" and retention period of 5 days
$ stackit beta server backup create --server-id xxx --name=mybackup --retention-period=5
```

### Options

```
-h, --help Help for "stackit beta server backup create"
-b, --name string Backup name
-d, --retention-period int Backup retention period (in days) (default 14)
-s, --server-id string Server ID
-i, --volume-ids strings Backup volume IDs, as comma separated UUID values. (default [])
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup

40 changes: 40 additions & 0 deletions docs/stackit_beta_server_backup_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta server backup delete

Deletes a Server Backup.

### Synopsis

Deletes a Server Backup. Operation always is async.

```
stackit beta server backup delete BACKUP_ID [flags]
```

### Examples

```
Delete a Server Backup with ID "xxx" for server "zzz"
$ stackit beta server backup delete xxx --server-id=zzz
```

### Options

```
-h, --help Help for "stackit beta server backup delete"
-s, --server-id string Server ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup

43 changes: 43 additions & 0 deletions docs/stackit_beta_server_backup_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta server backup describe

Shows details of a Server Backup

### Synopsis

Shows details of a Server Backup.

```
stackit beta server backup describe BACKUP_ID [flags]
```

### Examples

```
Get details of a Server Backup with id "my-backup-id"
$ stackit beta server backup describe my-backup-id

Get details of a Server Backup with id "my-backup-id" in JSON format
$ stackit beta server backup describe my-backup-id --output-format json
```

### Options

```
-h, --help Help for "stackit beta server backup describe"
-s, --server-id string Server ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup

44 changes: 44 additions & 0 deletions docs/stackit_beta_server_backup_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## stackit beta server backup list

Lists all server backups

### Synopsis

Lists all server backups.

```
stackit beta server backup list [flags]
```

### Examples

```
List all backups for a server with ID "xxx"
$ stackit beta server backup list --server-id xxx

List all backups for a server with ID "xxx" in JSON format
$ stackit beta server backup list --server-id xxx --output-format json
```

### Options

```
-h, --help Help for "stackit beta server backup list"
--limit int Maximum number of entries to list
-s, --server-id string Server ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup

45 changes: 45 additions & 0 deletions docs/stackit_beta_server_backup_restore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## stackit beta server backup restore

Restores a Server Backup.

### Synopsis

Restores a Server Backup. Operation always is async.

```
stackit beta server backup restore BACKUP_ID [flags]
```

### Examples

```
Restore a Server Backup with ID "xxx" for server "zzz"
$ stackit beta server backup restore xxx --server-id=zzz

Restore a Server Backup with ID "xxx" for server "zzz" and start the server afterwards
$ stackit beta server backup restore xxx --server-id=zzz --start-server-after-restore
```

### Options

```
-h, --help Help for "stackit beta server backup restore"
-s, --server-id string Server ID
-u, --start-server-after-restore Should the server start after the backup restoring.
-i, --volume-ids strings Backup volume IDs, as comma separated UUID values. (default [])
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup

2 changes: 1 addition & 1 deletion docs/stackit_beta_server_backup_schedule_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stackit beta server backup schedule create [flags]
-b, --backup-name string Backup name
-d, --backup-retention-period int Backup retention period (in days) (default 14)
-n, --backup-schedule-name string Backup schedule name
-i, --backup-volume-ids string Backup volume ids, as comma separated UUID values.
-i, --backup-volume-ids strings Backup volume IDs, as comma separated UUID values. (default [])
-e, --enabled Is the server backup schedule enabled (default true)
-h, --help Help for "stackit beta server backup schedule create"
-r, --rrule string Backup RRULE (recurrence rule) (default "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1")
Expand Down
2 changes: 1 addition & 1 deletion docs/stackit_beta_server_backup_schedule_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stackit beta server backup schedule update SCHEDULE_ID [flags]
-b, --backup-name string Backup name
-d, --backup-retention-period int Backup retention period (in days) (default 14)
-n, --backup-schedule-name string Backup schedule name
-i, --backup-volume-ids string Backup volume ids, as comma separated UUID values.
-i, --backup-volume-ids strings Backup volume IDs, as comma separated UUID values. (default [])
-e, --enabled Is the server backup schedule enabled (default true)
-h, --help Help for "stackit beta server backup schedule update"
-r, --rrule string Backup RRULE (recurrence rule) (default "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1")
Expand Down
34 changes: 34 additions & 0 deletions docs/stackit_beta_server_backup_volume-backup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## stackit beta server backup volume-backup

Provides functionality for Server Backup Volume Backups

### Synopsis

Provides functionality for Server Backup Volume Backups.

```
stackit beta server backup volume-backup [flags]
```

### Options

```
-h, --help Help for "stackit beta server backup volume-backup"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup
* [stackit beta server backup volume-backup delete](./stackit_beta_server_backup_volume-backup_delete.md) - Deletes a Server Volume Backup.
* [stackit beta server backup volume-backup restore](./stackit_beta_server_backup_volume-backup_restore.md) - Restore a Server Volume Backup to a volume.

41 changes: 41 additions & 0 deletions docs/stackit_beta_server_backup_volume-backup_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## stackit beta server backup volume-backup delete

Deletes a Server Volume Backup.

### Synopsis

Deletes a Server Volume Backup. Operation always is async.

```
stackit beta server backup volume-backup delete VOLUME_BACKUP_ID [flags]
```

### Examples

```
Delete a Server Volume Backup with ID "xxx" for server "zzz" and backup "bbb"
$ stackit beta server backup volume-backup delete xxx --server-id=zzz --backup-id=bbb
```

### Options

```
-b, --backup-id string Backup ID
-h, --help Help for "stackit beta server backup volume-backup delete"
-s, --server-id string Server ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup volume-backup](./stackit_beta_server_backup_volume-backup.md) - Provides functionality for Server Backup Volume Backups

42 changes: 42 additions & 0 deletions docs/stackit_beta_server_backup_volume-backup_restore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## stackit beta server backup volume-backup restore

Restore a Server Volume Backup to a volume.

### Synopsis

Restore a Server Volume Backup to a volume. Operation always is async.

```
stackit beta server backup volume-backup restore VOLUME_BACKUP_ID [flags]
```

### Examples

```
Restore a Server Volume Backup with ID "xxx" for server "zzz" and backup "bbb" to volume "rrr"
$ stackit beta server backup volume-backup restore xxx --server-id=zzz --backup-id=bbb --restore-volume-id=rrr
```

### Options

```
-b, --backup-id string Backup ID
-h, --help Help for "stackit beta server backup volume-backup restore"
-r, --restore-volume-id string Restore Volume ID
-s, --server-id string Server ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta server backup volume-backup](./stackit_beta_server_backup_volume-backup.md) - Provides functionality for Server Backup Volume Backups

Loading