1
0
mirror of https://github.com/restic/restic.git synced 2024-06-28 08:00:52 +02:00
restic/internal
Sebastian Hoß c133065a9f Check command result before snapshotting
Return with an error containing the stderr of the given command in case it fails. No new snapshot will be created and future prune operations on the repository will remove the unreferenced data.

Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
2023-10-27 23:58:51 +02:00
..
archiver Check command result before snapshotting 2023-10-27 23:58:51 +02:00
backend convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache move Backend interface to backend package 2023-10-25 23:00:18 +02:00
checker convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
crypto Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
debug Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
dump dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
fuse Merge pull request #4499 from MichaelEischer/modular-backend-code 2023-10-27 20:19:20 +02:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
migrations move Backend interface to backend package 2023-10-25 23:00:18 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack move Backend interface to backend package 2023-10-25 23:00:18 +02:00
repository Merge pull request #4499 from MichaelEischer/modular-backend-code 2023-10-27 20:19:20 +02:00
restic Merge pull request #4499 from MichaelEischer/modular-backend-code 2023-10-27 20:19:20 +02:00
restorer restorer: Make hardlink index generic 2023-10-27 23:40:42 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test test: use standard logging methods from testing for the test helpers 2023-05-26 19:34:57 +02:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui Tweak restore summary 2023-09-20 10:59:55 +02:00
walker Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00