Comments (4)
Fixed in 58febd1
from raspibackup.
Hi @framps ,
thanks for the change, but to toggle is, I think, not a good solution.
Working with command line alone will lead to an unpredictible result if -z toggles.
I'm working on a sort of web interface for raspiBackup (it's a plugin for https://github.com/mschlenstedt/Loxberry) - it does not run standalone.
If I call raspiBackup.sh by command line (cron), toggling would first need me to parse the default config to know if -z enables or disables compression. A dedicated switch would be preferable, and -z (and the default config) should be ignored on rsync backup-type.
Cool backup tool. You'll be credited in my interface when it's done.
cu, Christian
from raspibackup.
Hello @christianTF ,
I thought you're another raspiBackup user and didn't know you have a special use case :-)
It makes sense to be able to toggle options via commandline. That's why I immediately fixed the logic. Actually it would make sense to change the option handling in raspiBackup to be able to set or unset an option. Maybe I'll work on this at some point in time.
There is another undocumented way to override the config options: raspiBackup parses 3 config files in following sequence:
- /usr/local/etc/raspiBackup.conf
- /home/$USER/.raspiBackup.conf
- $PWD/.raspiBackup.conf
If you just create either (2) or (3) and insert
DEFAULT_ZIP_BACKUP=0
the parameter in (1) will be overridden and you're fine.
Let me know if this is a valid option for you. We'll find a solution for you. Don't hesitate to create new issues if there is any missing feature for you in raspiBackup. But then it will be helpful to explain your use case in more detail ;-)
Cu framp
from raspibackup.
Hi framp,
thanks for this info, I will check that. I think this is my solution :-)
Cu, Christian
from raspibackup.
Related Issues (20)
- Restore on Raspberry Pi 5 Bookworm - /boot/firmware/ empty HOT 3
- Add check for normal backup HOT 1
- Backup aborts to changed files HOT 3
- raspiBackupRestore2Image.sh bricht mit Fehler ab. Fortschrittsanzeige fehlt bei Restore. HOT 6
- "Operation not supported" after finishing backup HOT 17
- Add Spanish and Italian language HOT 12
- Unable to run regular backup (manual run ok) HOT 15
- Ignore the ugly vanished source file error HOT 1
- Installer hangs very long if there is no internetconnection when some config should be updated
- raspiBackup Hangs on 'du -s' HOT 5
- Support external mounted partitions HOT 8
- Allow to specify for partition oriented backup which partitions should be restored
- Shrink last partition when a partition oriented backup was restored HOT 4
- No UUID updated in /boot/cmdline.txt & /etc/fstab HOT 5
- Regression test of Ubuntu 24-04 desktop and server HOT 1
- Enable to restore a backup into a loop device HOT 1
- Not working on Ubuntu 24.04 LTS - Raspberry Pi 4 and 5 HOT 11
- Error trying to save configuration for scheduled backup HOT 14
- Backup fails with error message RBK0164E HOT 4
- raspiBackup tar backup operation hangs in ls on Bookworm using cifs HOT 66
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 raspibackup.