Skip to content

Commit 9d19b46

Browse files
authored
[GHES 3.17.4 patch release] Update script instructions for bug that is fixed in GHES 3.17.4 (#56712)
1 parent a399a86 commit 9d19b46

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/admin/backing-up-and-restoring-your-instance/backup-service-for-github-enterprise-server/configuring-the-backup-service.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,29 @@ If you're using a dedicated block device as your backup target, you need to init
6262
6363
>[!WARNING] This command will permanently erase all data on the specified device. Double-check the device name and back up any important data before proceeding.
6464
65+
{% ifversion ghes > 3.17 %}
66+
67+
```shell
68+
ghe-storage-init-backup /dev/YOUR_DEVICE_NAME
69+
```
70+
71+
{% else %}
72+
6573
```shell
6674
/usr/local/share/enterprise/ghe-storage-init-backup /dev/YOUR_DEVICE_NAME
6775
```
6876
77+
{% endif %}
78+
6979
This command:
7080
* Formats the device (erases all data).
7181
* Prepares it for use by the backup service.
7282
* Sets it to mount automatically at `/data/backup` on boot.
7383
84+
{% ifversion ghes = 3.17 %}
85+
From {% data variables.product.prodname_ghe_server %} 3.17.4 onward, the script is installed in PATH so you can run it directly using: `ghe-storage-init-backup /dev/YOUR_DEVICE_NAME`.
86+
{% endif %}
87+
7488
#### Reusing a previously initialized disk
7589
7690
If the device was already initialized using `ghe-storage-init-backup`, you can reuse it without reformatting:

0 commit comments

Comments
 (0)