Giter VIP home page Giter VIP logo

Comments (5)

JocelynDelalande avatar JocelynDelalande commented on July 18, 2024

At least when it fails.

from borg_ynh.

supermamie avatar supermamie commented on July 18, 2024

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.

slowphil avatar slowphil commented on July 18, 2024

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.

zamentur avatar zamentur commented on July 18, 2024

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.

zamentur avatar zamentur commented on July 18, 2024

I close this topic as notifs are available now (oin both side borgserver_ynh and borg)

from borg_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.