Comments (5)
As of current NPBackup version, logfile path is not configurable.
New version of NPBackup is comming soon, and the workflow will look like:
- If --logfile= then create logfile in
- else if
/var/log
exists and is writable, then create logfile there - else if current directory is writable, then create logfile there
- else create logfile in tmpdir
Is that behavior something you'd expect ?
from npbackup.
yes this behaviour makes sense to me.
Can you elaborate on how to handle the situation if the --logfile= location cannot be written to? I would expect to throw an error and abort as the user explicitly/deliberately wants to override the logfile location.
But (as you already described) without --logfile= provided I would expect it to try /var/log
then currentdir
then tmpdir
.
from npbackup.
IMO, even with --logfile=/some/unwritable/path, I prefer the backups to run.
Imagine being stuck because your log partition is full, and no backup is run anymore.
from npbackup.
Fair enough, and I think either way will be an improvement!
Do you want to keep this issue open for tracking of the feature?
Else it can be closed as my question is answered.
from npbackup.
Thanks for the "housekeeping", but yes, I'll keep that open until everything is implemented.
I've rewritten the logging code after the CLI/GUI split, and it's not writing to /var/log
by default right now.
from npbackup.
Related Issues (20)
- Retention policy HOT 11
- building macOS application bundle HOT 7
- Windows x64 Executable Flagged by Virus Scanner HOT 8
- Remote usage on headless Linux NAS server? HOT 2
- Can't change hostname HOT 2
- Alert on backup smaller than HOT 1
- Error in opening rest-server repository HOT 3
- Windows install doesn't install -- Errno 22 Invalid argument HOT 4
- Bad return code when trying to create remote rest repo HOT 1
- Allow post-script to be executed on interruption
- rest-server returns bogus result when remote connection sends html error page
- pre and post-script execution errors should be prometheus metrics HOT 2
- Add a --api output parameter to CLI HOT 1
- Suggestion to improve Backup in progress bar HOT 5
- Suggestion to improve dealing with file errors during backup HOT 4
- Allow pipe in data in CLI mode HOT 3
- NPBACKUP cannot connect repo when it has already initialized HOT 4
- Latest restic version HOT 1
- Investigate usage of alternative GUI HOT 5
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 npbackup.