Commit Graph

350 Commits

Author SHA1 Message Date
Erik Westrup
4e6afce8d2 Add stale action 2023-10-03 19:17:23 +02:00
Erik Westrup
2873f6a315 rename var for clarity 2023-09-25 18:34:47 +02:00
Erik Westrup
3cdf1503ae Revert "Allow extra args for non-backup commands (#115)"
This reverts commit 2406f078ef.

As of #120
2023-09-25 18:33:33 +02:00
Erik Westrup
3f05091edb Revert "Update README.md: add $RESTIC_EXTRA_ARGS (#118)" (#119)
This reverts commit 6d154890e7.
2023-08-02 09:28:39 +02:00
Sven Gottwald
6d154890e7 Update README.md: add $RESTIC_EXTRA_ARGS (#118)
Add `$RESTIC_EXTRA_ARGS` to all restic calls.
2023-08-02 09:26:47 +02:00
Erik Westrup
a870259eb2 Debug scripts with TRACE envvar 2023-06-02 22:32:09 +02:00
nettnikl
2406f078ef Allow extra args for non-backup commands (#115)
* Allow extra args for non-backup commands

* Add example in doc

* Include global args in backup command

* Fix indent

* Restore set

* Modified: CHANGELOG.md

---------

Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
2023-06-02 22:28:52 +02:00
nettnikl
e072b6db14 Fix invalid syntax (#114) 2023-05-24 18:42:55 +02:00
Erik Westrup
184e426ec8 Allow spaces in extra args (#112)
* Allow spaces in extra args

Fixes #111

* Fix linter

* Preserve space by iterating
2023-05-21 23:19:43 +02:00
Erik Westrup
20b5fd301e Modified: CHANGELOG.md 2023-05-21 10:32:10 +02:00
Erik Westrup
0dcb315296 Make check work with 'set -u' 2023-05-21 10:31:19 +02:00
nettnikl
e7fe75ca47 Make one env optional and warn about optional missing envs (#110)
* Make one env optional and warn about optional missing envs

* Restrict visibility of var

* Fix warning

* Dont print empty warning list
2023-05-21 10:31:11 +02:00
Erik Westrup
085d722747 Add lang shield 2023-03-26 23:45:15 +02:00
Erik Westrup
91ddab850b Clean up linter.yml 2023-03-08 12:06:38 +01:00
Erik Westrup
46ed2e4af8 Ignore resticw from linter 2023-03-08 11:49:14 +01:00
Erik Westrup
620acf82cf Ignore resticw from linter 2023-03-08 11:45:54 +01:00
Erik Westrup
803f5605a7 Ignore resticw from linter 2023-03-08 11:43:29 +01:00
Erik Westrup
987bc39d00 Ignore resticw from linter 2023-03-08 11:39:13 +01:00
Erik Westrup
7bc0e33779 Update CHANGELOG.md v7.4.0 2023-03-08 11:26:48 +01:00
Erik Westrup
86d841a72b Modified: CHANGELOG.md 2023-03-08 10:55:39 +01:00
Erik Westrup
4fba6a3f10 Fix comment 2023-03-08 10:54:31 +01:00
Ante de Baas
347322d9c9 pre_backup commands (#107)
* pre_backup list

* add $INSTALL_PREFIX

* make it executable

* remove pre_backup.txt

* fix quotes

Co-authored-by: Erik Westrup <erik.westrup@gmail.com>

---------

Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
2023-03-08 10:53:20 +01:00
Matt
f5c50a18ad Update install.ps1 (#103)
Fixed typo that kept restic_check from running
2022-11-16 15:38:14 +01:00
Erik Westrup
eee3c4659b Update README.md
Fixes #100
2022-09-18 11:44:03 +02:00
Erik Westrup
ef58c46fde nm after service
Fixes #100
2022-09-18 11:43:09 +02:00
Erik Westrup
3aa88ebb45 nm after needed
Fixes #100
2022-09-18 11:42:22 +02:00
Erik Westrup
9e60df6caa Update README.md
Relates to #99
2022-08-16 21:47:56 +02:00
Erik Westrup
1b4d5ea24e Remove trailing space 2022-07-27 18:19:59 +02:00
Erik Westrup
b7f250f345 Modified: CHANGELOG.md 2022-07-27 18:19:21 +02:00
Mikhail
fc6bd5a0be Add support saving hourly snapshots (#98) 2022-07-27 18:19:05 +02:00
Patrick Decat
9fa01a10f7 Fix instructions for using multiple profiles (#97)
Systemd service sources `$INSTALL_PREFIX/etc/restic/%I.env.sh`: 
https://github.com/erikw/restic-automatic-backup-scheduler/blob/main/usr/lib/systemd/system/restic-backup%40.service#L16
2022-07-23 18:40:31 +02:00
Erik Westrup
811a5c3c8c Full path /bin/bash in systemd services
Fixes #96
2022-06-07 09:25:27 +02:00
Aditya Dalal
49cc054eeb README: add note about location for macOS (#95)
* README: add note about location for macOS

* README: swap to brew --prefix for macOS directions
2022-05-31 08:04:35 +02:00
Erik Westrup
a35a9977f3 Update README.md 2022-05-13 13:57:19 +02:00
Erik Westrup
f17848bed2 Fix notification stats bug with more than 2 latest snapshots v7.3.4 2022-04-29 20:11:49 +02:00
Erik Westrup
d5497b04b4 Add missing $INSTALL_PREFIX in help text 2022-04-29 17:57:33 +02:00
Erik Westrup
855997d7d7 Update CHANGELOG.md v7.3.3 2022-04-14 09:35:27 +02:00
Erik Westrup
77b5a2c653 Update CHANGELOG.md v7.3.2 2022-04-11 21:09:18 +02:00
Erik Westrup
489046c603 Modified: README.md 2022-04-11 18:07:03 +02:00
Erik Westrup
6a43b95222 Fix systemd service OnFailure
Fixes #86
v7.3.1
2022-04-11 17:48:00 +02:00
Erik Westrup
329fa40c30 Rename master branch to main 2022-04-05 08:28:16 +02:00
Matteo Mardegan
7c64d861ae correct the environtment file name 2022-03-22 09:27:26 +01:00
Erik Westrup
7ebeb00761 chmod a-x bin/*
The source files won't execute util after the build step. Remove
execution bit to not invite users to try to run these files.

Fixes #89
2022-02-27 22:14:21 +01:00
Erik Westrup
041d3374cc Fix service names in README.md
Fixes #88
2022-02-27 22:11:52 +01:00
Erik Westrup
5ed72bb87f Command for copy cron.d to crontab 2022-02-24 11:20:08 +01:00
Erik Westrup
9797543231 Update README.md 2022-02-24 05:50:10 +01:00
Erik Westrup
7e5496d00a Update README.md 2022-02-24 05:49:18 +01:00
Gerard Bosch
22d6af802f Update README: Metered connection check (#87)
* Update README: Metered connection check

Add a single command to copy and paste to install the metered connection
check.

* Reformat to be consistent with DIY style of optionals

Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
2022-02-16 19:31:46 +01:00
Gerard Bosch
38b3243b4c Redirect stderr to systemd journal (#86)
Errors were not written to the journal as systemd-cat was only reading
stdin. Now, errors printed by restic are shown in the journal.
2022-02-16 13:51:28 +01:00
Erik Westrup
d5a141fc9a Modified: CHANGELOG.md 2022-02-16 12:23:59 +01:00