Comments (5)
Hey, you're right that there was a behavior change here -- which isn't great. I did some work prior to the last release to downgrade warnings to not trigger error hooks but you're right in noticing that there currently isn't a good way to get notified of IO errors.
This will be fixed in the v1.0.0 release by adding the warning condition hook (I do want users to have the option to ignore warnings if they see them commonly -- e.g. backing up big directories of constantly changing sqlite databases (if a user isn't inclined to setup hooks to properly stop the applications doing writes).
Specifically addressed in f0ee20f
from backrest.
Hey, forgot to leave a comment on this thread. tl;dr is that warnings don't trigger error hooks at the moment. I plan to add a CONDITION_SNAPSHOT_WARNING
to capture these cases.
from backrest.
These warnings already triggered the Discord hook with the error conditions. This example was from April 4th:
Maybe something changed in these latest versions. The last trigger for me was on April 10th, so if there was any change in Backrest it was after this date. I don't have these warnings all the time, they are sporadic.
For me it's ok to capture these errors with the existing error conditions, but having a new warning condition will be fine as well. This latest may be useful for other people.
from backrest.
Thanks for sharing your point of view.
I can wait for the next release to have the warning condition.
Is there a way we can stop a docker container from within Backrest running on another docker container?
from backrest.
Added the new backup warning hook type in 1.0.0 which should address this
from backrest.
Related Issues (20)
- Update to restic 0.17.0
- Use restic 0.17.0 snapshot size reporting to augment snapshot details
- Add Support for --skip-if-unchanged HOT 4
- Add Prometheus `/metrics` support HOT 1
- backrest fails to identify the created-by tag from other host, displayed as "unassociated" HOT 6
- On 1.4.0, getting "time bucketed policy must specify a non-empty bucket" error HOT 2
- Ability to change Base URL HOT 2
- Cron Options missing after Update HOT 2
- Graceful handling of forget with append-only REST repository HOT 1
- Successful backup only partially clears error history.
- Backrest representation of sizes reported by restic may be misleading HOT 2
- [REQ] Add option to fecth snapshot listings recursively HOT 1
- Repo policy allows invalid negative values
- Is there no way to simply restore a file? HOT 2
- Implement way to upload local repo remotely on success HOT 1
- Implement startup delay for scheduled tasks
- Check Policy cron has only months - Add more crons options HOT 2
- Restore percentage incorrect
- Allow additional flags when pruning, etc.
- Restoring Files and Folders to Original Location and Respect Original Permissions and Ownership HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backrest.