From b6c7922df5b315c4e22a71f1a52d56fcda45bb31 Mon Sep 17 00:00:00 2001 From: David Boles Date: Mon, 26 Apr 2021 16:22:32 -0700 Subject: [PATCH] Recommend a consistent config location --- docs/markdown/location/cron.md | 4 ++-- docs/markdown/quick.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/markdown/location/cron.md b/docs/markdown/location/cron.md index 3d623c1..695b395 100644 --- a/docs/markdown/location/cron.md +++ b/docs/markdown/location/cron.md @@ -30,14 +30,14 @@ First, open your crontab in edit mode crontab -e ``` -Then paste this at the bottom of the file and save it. Note that in this specific example the `.autorestic.yml` is located in `/srv/`. You need to modify that part of course to fit your config file. +Then paste this at the bottom of the file and save it. Note that in this specific example the config file is located at one of the default locations (e.g. `~/.autorestic.yml`). If your config is somewhere else you'll need to specify it using the `-c` option. ```bash # This is required, as it otherwise cannot find restic as a command. PATH="/usr/local/bin:/usr/bin:/bin" # Example running every 5 minutes -*/5 * * * * autorestic -c /srv/.autorestic.yml --ci cron +*/5 * * * * autorestic --ci cron ``` > The `--ci` option is not required, but recommended diff --git a/docs/markdown/quick.md b/docs/markdown/quick.md index d3d62dd..0ed9bd4 100644 --- a/docs/markdown/quick.md +++ b/docs/markdown/quick.md @@ -9,7 +9,7 @@ curl -s https://raw.githubusercontent.com/CupCakeArmy/autorestic/master/install. ## Write a simple config file ```bash -vim .autorestic.yml +vim ~/.autorestic.yml ``` For a quick overview: