This is an automated email from the ASF dual-hosted git repository. djwang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry-site.git
commit 3cb590c9c452d6e0b05f75e7639dd4e4ba5b0bcf Author: Dianjin Wang <[email protected]> AuthorDate: Wed Oct 15 14:38:17 2025 +0800 Add Go PATH env variable set --- .../backup-and-restore/perform-full-backup-and-restore.md | 10 ++++++++-- .../backup-and-restore/perform-full-backup-and-restore.md | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/docs/sys-admin/backup-and-restore/perform-full-backup-and-restore.md b/docs/sys-admin/backup-and-restore/perform-full-backup-and-restore.md index a2ea6462b0..b9b3ef5839 100644 --- a/docs/sys-admin/backup-and-restore/perform-full-backup-and-restore.md +++ b/docs/sys-admin/backup-and-restore/perform-full-backup-and-restore.md @@ -12,8 +12,14 @@ The backup metadata files contain all of the information that `gprestore` needs ## Install the `gpbackup` and `gprestore` utilities -Before installing the `gpbackup` and `gprestore` utilities, make sure that you have the [Golang](https://golang.org/doc/) (v1.11 or later) installed and that you have set the [Go `PATH` environment -variable](https://go.dev/doc/install). +Before installing the `gpbackup` and `gprestore` utilities, make sure that you have the [Golang](https://golang.org/doc/) (v1.21 or later) installed and that you have set the [Go `PATH` environment +variable](https://go.dev/doc/install): + + ``` + ## Set the Go `PATH` environment variable + export GOPATH=$HOME/go + export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin + ``` 1. Pull the `apache/cloudberry-backup` GitHub repository to the target machine. diff --git a/versioned_docs/version-2.x/sys-admin/backup-and-restore/perform-full-backup-and-restore.md b/versioned_docs/version-2.x/sys-admin/backup-and-restore/perform-full-backup-and-restore.md index a2ea6462b0..b9b3ef5839 100644 --- a/versioned_docs/version-2.x/sys-admin/backup-and-restore/perform-full-backup-and-restore.md +++ b/versioned_docs/version-2.x/sys-admin/backup-and-restore/perform-full-backup-and-restore.md @@ -12,8 +12,14 @@ The backup metadata files contain all of the information that `gprestore` needs ## Install the `gpbackup` and `gprestore` utilities -Before installing the `gpbackup` and `gprestore` utilities, make sure that you have the [Golang](https://golang.org/doc/) (v1.11 or later) installed and that you have set the [Go `PATH` environment -variable](https://go.dev/doc/install). +Before installing the `gpbackup` and `gprestore` utilities, make sure that you have the [Golang](https://golang.org/doc/) (v1.21 or later) installed and that you have set the [Go `PATH` environment +variable](https://go.dev/doc/install): + + ``` + ## Set the Go `PATH` environment variable + export GOPATH=$HOME/go + export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin + ``` 1. Pull the `apache/cloudberry-backup` GitHub repository to the target machine. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
