docs: document error handling in borg create, fixes #4912

This commit is contained in:
TW 2026-05-13 09:48:34 +02:00 committed by GitHub
parent 1d420a9a61
commit 0e94055d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3748,6 +3748,20 @@ class Archiver:
Therefore, when using ``--one-file-system``, you should double-check that the backup works as intended.
Error handling
++++++++++++++
When Borg encounters a file or directory it cannot read (e.g., due to permission
denied, or another process holding an exclusive lock on Windows), it will:
- Log a warning message.
- Skip that file or directory and continue backing up the remaining files.
- Exit with a Warning RC at the end of the operation.
This ensures that a single problematic file does not abort your entire backup.
You should check your logs for these warnings to ensure that all important data
is being backed up.
.. _list_item_flags:
Item flags