restic/changelog/unreleased
David Sommer 5729d967f5 backup: Return exit status code 3 when failing to read source data
The backup command used to return a zero exit code as long as a snapshot
could be created successfully, even if some of the source files could not
be read (in which case the snapshot would contain the rest of the files).

This made it hard for automation/scripts to detect failures/incomplete
backups by looking at the exit code. Restic now returns the following exit
codes for the backup command:

 - 0 when the command was successful
 - 1 when there was a fatal error (no snapshot created)
 - 3 when some source data could not be read (incomplete snapshot created)
2020-07-20 22:19:01 +02:00
..
.gitkeep changelog: Add .gitkeep to persist the unreleased/ folder. 2019-11-22 17:14:17 +01:00
issue-551 Add changelog for #2709 2020-06-13 18:13:36 +02:00
issue-1570 Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
issue-2072 Display respective snapshot date when using restic find 2019-12-17 07:51:12 +01:00
issue-2277 Add support for ppc64le 2019-12-15 22:52:13 -03:00
issue-2281 Add changelog file. 2020-02-15 01:32:43 +01:00
issue-2298 Add changelog 2020-04-12 22:27:09 +02:00
issue-2389 Add changelog entry 2020-02-13 21:14:20 +01:00
issue-2390 Create issue-2390 2019-12-10 23:20:18 +01:00
issue-2429 fix backup --json total_bytes_processed output 2020-02-09 02:02:45 +01:00
issue-2469 diff: Fix wrong bytes reported in diff stats (#2469) 2019-11-22 17:26:01 +01:00
issue-2482 Add entry to changelog 2020-03-01 19:32:35 +01:00
issue-2518 Minor speling corection. 2020-02-13 00:47:09 +01:00
issue-2531 Correct #2531 (stats restore-size calculates hard links incorrectly) 2020-02-15 19:34:22 +01:00
issue-2537 Correct #2537 (cmd_stats file counting issue) 2020-02-15 19:34:16 +01:00
pull-2195 restorer: Allow writing target file blobs out of order 2020-02-26 16:14:45 +01:00
pull-2423 changelog: add pull-2423 2019-12-19 13:15:37 +01:00
pull-2546 backup: Return exit status code 3 when failing to read source data 2020-07-20 22:19:01 +02:00
pull-2576 Add entry to changelog 2020-02-12 21:29:26 +01:00
pull-2592 Changelog entry for SFTP w/ IPv6 addresses 2020-03-01 11:04:06 +01:00
pull-2600 Add changelog file 2020-02-26 20:55:12 +01:00
pull-2607 Honor RESTIC_CACHE_DIR on Mac and Windows 2020-02-28 15:44:32 +01:00
pull-2668 stats: Fix crash in blobs-per-file mode on missing blob 2020-03-27 22:17:54 +01:00
pull-2773 disable index uploads for prune command 2020-06-12 09:24:38 +02:00
pull-2781 add changelog, benchmark, memory calculation 2020-06-14 07:50:15 +02:00
pull-2786 Loop over index files for 'list blobs' 2020-06-14 17:25:34 +02:00
pull-2790 Changelog entry for subquadratic reading in mount 2020-07-12 18:27:16 +02:00