Comments (5)
At least when it fails.
from borg_ynh.
It seems that there are now mails when the backup succeed, but even if it fails, the mail says it succeeded.
(I made many tests yesterday and today, I have not checked the mails specifically on time, so I am not 100% sure, but I had one error mail, due to a password error while accessing borg, and 2 success mails, even if I am pretty sure one of them is linked to a failed backup due to a repo path change)
About the success mail, there are a few things that can be improved :
Title : [borg] Backup succeed from myserver.fr onto
There is something missing. (That's why I can not be sure if I had a success mail for an error or if it is a success for another backup on the wrong path)
In the content : size: 314902911805
Is it possible to have something more readable ? (maybe readable and exact ?)
from borg_ynh.
I would really prefer an email ONLY when the backup fails (i.e. there should be an option to not receive success e-mail).
In my experience, after the initial setup phase, automated backups usually work reliably for months or years in a row. If you receive an e-mail whether the result is good or bad you unavoidably get bored and stop reading these reports, meaning you won't react when something goes wrong.
Also I suggest that these messages concerning backups eventually get integrated in yunohost's diagnosis.
from borg_ynh.
About the success mail, there are a few things that can be improved :
Title :[borg] Backup succeed from myserver.fr onto
There is something missing. (That's why I can not be sure if I had a success mail for an error or if it is a success for another backup on the wrong path)
This one has been fixed
In the content :
size: 314902911805
Is it possible to have something more readable ? (maybe readable and exact ?)
I think this size has been improve in 4.2. It's a core issue anyway.
(I made many tests yesterday and today, I have not checked the mails specifically on time, so I am not 100% sure, but I had one error mail, due to a password error while accessing borg, and 2 success mails, even if I am pretty sure one of them is linked to a failed backup due to a repo path change)
I think this commit should fix this issue : 6b25303
In my experience, after the initial setup phase, automated backups usually work reliably for months or years in a row. If you receive an e-mail whether the result is good or bad you unavoidably get bored and stop reading these reports, meaning you won't react when something goes wrong.
I suggest you to use filters. And to not treat success and failure in the same way (i personally move success in a dir with a read status, and failed message are in a separated dir or in inbox directly).
What if it doesn't work at all anymore ? You won't get failure email... So you need to know the last backup status.
Also I suggest that these messages concerning backups eventually get integrated in yunohost's diagnosis.
As all backup logic could be in core too ^^
from borg_ynh.
I close this topic as notifs are available now (oin both side borgserver_ynh and borg)
from borg_ynh.
Related Issues (20)
- The backup miserably failed to backup HOT 4
- Borg fails after migration to bullseye HOT 4
- Add a "Manual backup" option" / Possibilité de lancer la sauvegarde manuellement HOT 1
- Updating repo path with config panel does not update domain in backup hook
- Borg not sending app data HOT 15
- [Enhancement] Cache TTL environment variable
- Implement auto-updater
- [Enhancement] Borg keep processing unchanged files as new files HOT 2
- config panel broken HOT 3
- Feature request : Prune in config panel HOT 1
- Seems to fail to backup wireguard app HOT 7
- Memo in case of upgrade >= 1.2.5 HOT 1
- Architecture: Ability to host multiple versions side-by-side
- Add multiple destinations
- Documentation innacurate HOT 5
- Multiple backup-with-borg instances
- Config panel not showing despite working app HOT 8
- Please document the use of backup-with-borg HOT 1
- /var/log/backup_borg.err should be rotated HOT 2
- Borg fails when file changes on disk during archive creation HOT 8
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 borg_ynh.