From 4bf59e6edc2f819b886afc2785bca407c251f45f Mon Sep 17 00:00:00 2001 From: devome <93664269+devome@users.noreply.github.com> Date: Thu, 18 Apr 2024 00:44:36 +0800 Subject: [PATCH] chore: add arch linux installation instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 244f019f..6495b281 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,20 @@ services: ## Running on Linux +### Arch Linux + +> Note: [Backrest on AUR](https://aur.archlinux.org/packages/backrest) is not maintained by the backrest official and has made minor adjustments to the recommended services. Please refer to [here](https://aur.archlinux.org/cgit/aur.git/tree/backrest@.service?h=backrest) for details. In [backrest@.service](https://aur.archlinux.org/cgit/aur.git/tree/backrest@.service?h=backrest), use `restic` from the Arch Linux official repository by setting `BACKREST_RESTIC_COMMAND`. And for information on enable/starting/stopping services, please refer to [Systemd#Using_units](https://wiki.archlinux.org/title/Systemd#Using_units). + +```shell +## install backrest from AUR +paru -Sy backrest # or: yay -Sy backrest + +## enable backrest service for current user +sudo systemctl enable --now backrest@$USER.service +``` + +### Download release + Download a release from the [releases page](https://github.com/garethgeorge/backrest/releases) #### Using systemd with the install script (Recommended)