Skip to content

Commit a0e9ccc

Browse files
pallsamaCopilotmchammer01Copilot
authored
Version entire Backup and restore section for GHES > 3.21 (#62232)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent dd21f9c commit a0e9ccc

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,8 @@ To show the full hook payload, result, and any exceptions for the delivery:
679679
ghe-webhook-logs -g DELIVERY_GUID
680680
```
681681

682+
{% ifversion ghes > 3.21 %}
683+
682684
## Backup and restore
683685

684686
### ghe-backup-prune-snapshots
@@ -689,8 +691,6 @@ This utility prunes old or invalid backup snapshot directories.
689691
ghe-backup-prune-snapshots
690692
```
691693

692-
{% ifversion ghes > 3.21 %}
693-
694694
### ghe-backup-healthcheck
695695

696696
This utility quickly confirms that GHES backups are being written, are recent, and that the backup disk is not in a risky state. For example, if usage is 90% or higher, it reports an error because the backup disk may be close to full. Setting `-no-color` gives plain text output, for example in logs or monitoring systems.

content/admin/backing-up-and-restoring-your-instance/backup-service-settings-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ You can configure the following options in the "Backup Service" section of the {
1717

1818
* **Number of snapshots**: Sets how many backup snapshots to retain (default: `10`). Older snapshots are automatically pruned after each successful backup.
1919

20+
{% ifversion ghes > 3.21 %}
2021
> [!NOTE]
2122
> You can run the `ghe-backup-prune-snapshots` utility to prune old and invalid snapshots manually.
23+
{% endif %}
2224

2325
## Restore options
2426

0 commit comments

Comments
 (0)