How to Log events on remote side?
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 875
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 192
Description
Hi,
I'm developing currently an application for managing a borg backup server based on django. it's inspired from borgbackupserver and borgbase, but it should be open source. I wanted to make something to manage the borgbackups at home for my devices and servers in a central place with the option of selfhosting and satisfy my needs to stay informed if all my devices are backuped :smile:
it will be open source when its usuable. Currently, the account/repo creation with access over ssh works. some features are missing, like logs/events, storage informations and notifications.
For this to happen: I would like to display/record when a repository is last backuped (or archive created), and display some historized storage usage informations.
If possible, also the logs of interaction with the "serve" and if some backups are failed.
is there a way to get these informations from `borg serve` or from the repository itself?
The only option I'm playing around is with a borg logging config, but with low yields. Accessing the repository with `borg info` requires a password in repokey mode, as every thing is encrypted.
a simple but not very efficient way is to regurarly `du` the repository for its size and get the last access or backup time from the last modifications of `index.x` or `hints.x`
Any ideas?
Contributor guide
Assessment
This issue has not been assessed yet.