From 9c972cb0e59b9d73a83b7bc2f6736042b8fa065d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 29 Jun 2021 21:38:53 -0700 Subject: [PATCH] Add documentation note about systemd configuration with alternate install methods (#428). --- docs/how-to/set-up-backups.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index 06440b831..0db1e684b 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -262,11 +262,19 @@ You can modify the cron file if you'd like to run borgmatic more or less frequen ### systemd -If you're using systemd instead of cron to run jobs, download the [sample -systemd service +If you're using systemd instead of cron to run jobs, you can still configure +borgmatic to run automatically. + +(If you installed borgmatic from [Other ways to +install](https://torsion.org/borgmatic/docs/how-to/set-up-backups/#other-ways-to-install), +you may already have borgmatic systemd service and timer files. If so, you may +be able to skip some of the steps below.) + +First, download the [sample systemd service file](https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.service) and the [sample systemd timer file](https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.timer). + Then, from the directory where you downloaded them: ```bash