From db26c4e5176db8211179ce59900134168d751100 Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Mon, 7 Feb 2022 18:12:26 +0100 Subject: [PATCH] Launch instructions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e9113fa..f90d9bc 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ Tip: use the Section icon in the top left of this document to navigate the secti # Setup Depending on your system, the setup will look different. Choose one of * [Linux + Systemd](#setup-linux-systemd) +* [macOS + LaunchAgent](#setup-macos-launchagent) * [Cron](#setup-cron) - for any system having a cron daemon. Tested on FreeBSD and macOS. ## Setup Linux Systemd @@ -260,6 +261,12 @@ straightforward (it needs to run with sudo to read environment). Just run: | `resticw stats` / `resticw stats snapshot-id ...` | Show the statistics for the whole repo or the specified snapshots | | `resticw mount /mnt/restic` | Mount your remote repository | +## Setup macOS LaunchAgent + +```console +$ sudo PREFIX=/usr/local make install-launchagent +$ launchctl load -w /Library/LaunchAgents/com.github.erikw.restic-automatic-backup.plist +``` ## Setup Cron If you want to run an all-classic cron job instead, do like this: