Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ENABLE_JSON_LOGGING #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeankhawand
Copy link

This change adds the ENABLE_JSON_LOGGING option to export restic metadata in JSON format. The goal is to improve accessibility by allowing users to utilize tools like jq to process the metadata. This enables users to create external scripts for extracting metadata and sending notifications using run_commands.

update doc and include notify script as sample to send backup metadata via apprise

Export LOG_FILE and create docker-compose for contributing

  • export LOG_FILE so it will be available for subprocess executed via run_commands
  • Add docker-compose.contribute.yml facilitate contributing process
  • make notify executable and copy it to /usr/local/bin
  • notify: update content to only include summary and errors for now. jq was complaining on payload too large when using verbose mode.
  • update doc

This change adds the `ENABLE_JSON_LOGGING` option to export restic metadata in JSON format. The goal is to improve accessibility by allowing users to utilize tools like `jq` to process the metadata. This enables users to create external scripts for extracting metadata and sending notifications using `run_commands`.

update doc and include notify script as sample to send backup metadata via apprise

Export `LOG_FILE` and create docker-compose for contributing

- export `LOG_FILE` so it will be available for subprocess executed via `run_commands`
- Add docker-compose.contribute.yml facilitate contributing process
- make `notify` executable and copy it to /usr/local/bin
- notify: update content to only include summary and errors for now. jq was complaining on payload too large when using verbose mode.
- update doc
@nprime496
Copy link

Hi @jeankhawand please any idea why it is still not deployed ?

@jeankhawand
Copy link
Author

@djmaze that's will also make it easy to restore snapshots in the futur
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants