1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 18:28:42 +00:00

docs: add brew bundle instructions (macOS)

This commit is contained in:
Stephen 2021-11-16 08:38:42 -08:00 committed by Thomas Waldmann
parent 5c5df6458a
commit 438f1ddef7
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -245,16 +245,10 @@ Alternatively, you can enumerate all build dependencies in the command line::
macOS macOS
+++++ +++++
When installing via Homebrew_, dependencies are installed automatically. To install When installing borgbackup via Homebrew_, the basic dependencies are installed automatically.
dependencies manually::
brew install python3 openssl zstd lz4 xxhash For FUSE support to mount the backup archives, you need macFUSE, which is available
brew install pkg-config via `github <https://github.com/osxfuse/osxfuse/releases/latest>`__, or Homebrew::
pip3 install virtualenv pkgconfig
For FUSE support to mount the backup archives, you need at least version 3.0 of
macFUSE, which is available via `github
<https://github.com/osxfuse/osxfuse/releases/latest>`__, or Homebrew::
brew install --cask macfuse brew install --cask macfuse
@ -264,6 +258,13 @@ the installed ``openssl`` formula, point pkg-config to the correct path::
PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install borgbackup[llfuse] PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install borgbackup[llfuse]
When working from a borg git repo workdir, you can install dependencies using the
Brewfile::
brew install python@3.11 # can be any supported python3 version
brew bundle install # install requirements from borg repo's ./Brewfile
pip3 install virtualenv pkgconfig
Be aware that for all recent macOS releases you must authorize full disk access. Be aware that for all recent macOS releases you must authorize full disk access.
It is no longer sufficient to run borg backups as root. If you have not yet It is no longer sufficient to run borg backups as root. If you have not yet
granted full disk access, and you run Borg backup from cron, you will see granted full disk access, and you run Borg backup from cron, you will see