2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-13 08:46:33 +00:00
restic/doc
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
..
_static docs: switch to gopher favicon 2020-02-13 00:09:37 +01:00
images/aws_s3 Update AWS S3 tutorial, fixing #1593 2018-01-29 20:47:27 +01:00
logo Update logo 2018-02-05 20:48:48 +01:00
man Remove broken --allow-root from restic mount 2020-03-17 23:35:06 +01:00
.gitignore Document the build and release processes 2018-10-13 13:48:03 +02:00
010_introduction.rst Update docs 2018-04-28 22:08:11 +02:00
020_installation.rst Update doc excerpts for --help 2020-04-03 19:49:06 +02:00
030_preparing_a_new_repo.rst Update 030_preparing_a_new_repo.rst 2020-04-23 09:24:19 +02:00
040_backup.rst backup: Return exit status code 3 when failing to read source data 2020-07-20 22:19:01 +02:00
045_working_with_repos.rst doc: Improve check documentation 2019-12-10 21:15:59 +01:00
050_restore.rst Fix typos 2020-05-16 14:05:26 +08:00
060_forget.rst --hostname flag is deprecated 2020-06-29 12:53:57 -06:00
070_encryption.rst Update docs 2018-04-28 22:08:11 +02:00
075_scripting.rst Update docs 2018-04-28 22:08:11 +02:00
080_examples.rst Update 080_examples.rst 2020-06-26 00:01:30 +02:00
090_participating.rst Remove -mod=vendor from all documentation and code 2020-03-01 19:32:35 +01:00
100_references.rst doc: Split references out into smaller files 2018-06-18 22:17:48 +02:00
110_talks.rst Update docs 2018-04-28 22:08:11 +02:00
bash-completion.sh Remove broken --allow-root from restic mount 2020-03-17 23:35:06 +01:00
cache.rst Prefer https:// links in the documentation 2018-12-29 15:57:44 +01:00
conf.py Update docs 2018-04-28 22:08:11 +02:00
design.rst Prefer https:// links in the documentation 2018-12-29 15:57:44 +01:00
developer_information.rst Remove -mod=vendor from all documentation and code 2020-03-01 19:32:35 +01:00
faq.rst Add hint abouth absolute sftp paths for Synology NAS 2020-01-06 21:37:57 +01:00
index.rst doc: Add developer information 2018-10-11 22:37:25 +02:00
Makefile Document the build and release processes 2018-10-13 13:48:03 +02:00
manual_rest.rst Update 040_backup.rst 2020-07-12 00:31:56 +02:00
requirements.txt Documentation: Refactor and switch to Sphinx 2017-04-17 20:53:38 +02:00
REST_backend.rst doc: Split references out into smaller files 2018-06-18 22:17:48 +02:00
test_irreducibility.gap chunker: Require a random irreducible polynomial 2015-04-05 22:52:43 +02:00
zsh-completion.zsh Update manpages and auto-completion 2019-01-06 21:40:32 +01:00