Background
Errors when taking a snapshot may lead to incomplete snapshots (status shown as "WITH ERRORS !"),

There is currently no way to retry/continue the same snapshot which would be more efficient
than starting a complete new backup again since only the failed files must be retried.
Since BiT release v1.4.0 the rsync exit codes are now also evaluated and logged (part of #489)
which improves the error recognition but also leads to more visible errors.
Before v1.4.0 errors that were silently ignored (not recognized) by BiT let the user uninformed about files not backed-up.
The user could recognize the not backed-up files only when explicitly looking into the full snapshot log details but the
errors are not marked as [E] but [I] there because it requires to know and parse all possible rsync error messages - see #1587). Example:
[I] Take snapshot (rsync: symlink has no referent: "/home/user/Documents/dead-link")
Feature request
Introduce a new "retry feature" to BiT:
- Allow users to configure for which
rsync exit codes an automatic retry shall be done (directly in the config file and via the GUI)
- Optional: The max number of retries shall be configurable (even though more than "1" would not make much sense except eg. in case of temporal connection/network issues)
- Optional: A retry waiting time in seconds shall be configurable (before the retry shall start). This value should not be allowed to be too high because it blocks (via lock files) the BiT process and also all other BiT process that start during that.
I would suggest a maximum of 120 seconds.
- The retry shall try to transfer only the missing files (via suitable
rsync options, probably --append and perhaps also --partial) to minimize the execution time and data transfer.
- The retry shall be logged into the same snapshot log file
See also
Follow up of #1573
Background
Errors when taking a snapshot may lead to incomplete snapshots (status shown as "WITH ERRORS !"),
There is currently no way to retry/continue the same snapshot which would be more efficient
than starting a complete new backup again since only the failed files must be retried.
Since BiT release v1.4.0 the
rsyncexit codes are now also evaluated and logged (part of #489)which improves the error recognition but also leads to more visible errors.
Before v1.4.0 errors that were silently ignored (not recognized) by BiT let the user uninformed about files not backed-up.
The user could recognize the not backed-up files only when explicitly looking into the full snapshot log details but the
errors are not marked as
[E]but[I]there because it requires to know and parse all possiblersyncerror messages - see #1587). Example:[I] Take snapshot (rsync: symlink has no referent: "/home/user/Documents/dead-link")Feature request
Introduce a new "retry feature" to BiT:
rsyncexit codes an automatic retry shall be done (directly in the config file and via the GUI)I would suggest a maximum of 120 seconds.
rsyncoptions, probably--appendand perhaps also--partial) to minimize the execution time and data transfer.See also
Follow up of #1573