Comments (3)
Same here, I also have no logs in /var/log/backup_borg.log while there are some in /var/log/backup_borg.err
from borg_ynh.
Looking a bit deeper in borg_ynh code and borg documentation. It seems to make sense that there are no logs in /var/log/backup_borg.log
.
From borg manpage:
Borg writes all log output to stderr by default. But please note that something showing up on stderr does not indicate an error condition just because it is on stderr.
Please check the log levels of the messages and the return code of borg for determining error, warning or success conditions.
If you want to capture the log output to a file, just redirect it:
borg create repo::archive myfiles 2>> logfile
Output level can be customized via the BORG_LOGGING_CONF environment variable, but it doesn't seem to allow to change where the logs are actually sent.
So it doesn't seem useful to have the >> $LOGFILE
part in borg [init/create/prune/mount] ... >> $LOGFILE 2>> $ERRFILE
lines.
Also, for the second thing mentioned by @BCITMike, the timestamps, I didn't find anything in borg documentation that would enable that. But this can be achieved with a bit of bash syntax.
I proposed a patch to solve those two issues #55.
from borg_ynh.
I guess this issue can be closed now that #55 has been merged.
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 4
- 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 6
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.