Compile BR¶
For now, the BR is not provided as a package. You can compile the BR.
NOTE: If you want to store the backup files locally, we recommend that you compile the BR on one meta server of the target Nebula Graph cluster where you will perform data restoration. For more information, see Restore data from backup files.
Prerequisites¶
To compile the BR, do a check of these:
- Go 1.14 or a later version is installed.
- make is installed.
Procedure¶
To compile the BR, follow these steps:
-
Clone the
nebula-storage
repository to your machine.git clone https://github.com/vesoft-inc/nebula-storage.git
-
Change to the
br
diretory.cd nebula-storage/util/br
-
Compile the BR.
make build && make test
When the BR is compiled successfully, you can find the br
binary file under the nebula-storage/util/br/bin/
directory.
Last update: January 5, 2021