Giter Club home page Giter Club logo

Comments (3)

saltydk avatar saltydk commented on August 25, 2024

If you take a regular bundle of notifications from one backup and then label them like you suggest what would they look like?

from saltbox.

DomGrieco avatar DomGrieco commented on August 25, 2024

Is this what you're looking for?

INFO/DEBUG : "Saltbox Backup: Started (snapshot-enabled) backup task."
DEBUG : "Saltbox Backup: Stopped Docker containers."
DEBUG : "Saltbox Backup: Started Docker containers."
DEBUG : "Saltbox Backup: Backup created with total size of"
DEBUG : "Saltbox Backup: Rclone uploaded backup to"
DEBUG : "Saltbox Backup: Rsync uploaded backup to"
INFO/DEBUG : "Saltbox Backup: Finished Saltbox (snapshot-enabled) backup task in"
INFO/DEBUG/ERROR: "Saltbox Backup: Backup terminated due to an error."

Some examples of new notifications could be error codes for each of the above info and/or debug notifications when they fail instead of the general catch all error message. Ideally, this allows people the option to only have notifications be sent when something is wrong. Also, people who opt into the "INFO" setting would get far less notifications but still at the same frequency as their backup schedule.

An interesting idea as well is to have a "heartbeat" notification configured to send a notification every X days that just conveys that the notification system is still working. This would be beneficial to people who are set to ERROR logging only but would like a "check in" notification from time to time to validate the notification system is still functional.

Here is a suggestion of new apprise accounts configuration:
image

from saltbox.

saltydk avatar saltydk commented on August 25, 2024

nothing prevents you from setting a heartbeat type thing in cron. I don't see the relevance to adding something like that in Saltbox itself though as it doesn't always run.

I get the general idea of the info/debug format but I guess I just don't see the point personally as one of the benefits is to track the size of the backup to catch size issues as well.

I am not opposed to implementing stuff at some point but not sure how to go about it exactly right now.

from saltbox.

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.