Comments (12)
@pchristod On this page I described how a configuration update can be done. Would you please check whether the instructions and the helper script help to make the upgrade convenient?
from raspibackup.
Great π Thank you very much.
Well, the script downloads the current config from my website which is still the config for 0.6.4.3. So you will not get the config on 0.6.5-beta upgraded. There is no support to download the beta config. But as soon as the 0.6.5 beta will be published the script will download the 0.6.5 config and everything will work as expected.
I can change the script so it downloads the beta config and uses this one for upgrade instead of downloading the current config. Then you can upgrade to beta and merge the beta config.
But frankly - I'm just interested to get some feedback about the usability of the script and whether my doc how to merge is OK. So you also can just follow the description and generate an updated config and manually update it according my instructions. But finally you don't copy it in /usr/local/etc because it should look like the one you have active right now π .
Just let me know whether you want to install the beta. I then will enable the script to download the beta config instead of the current config.
from raspibackup.
That's ok, good that I asked :)
I will do the dry run with my current stable version I have installed and the script just to get a feeling for it. Then I can upgrade to final 0.6.5 when that is out. Will let you know if everything worked and is understandable.
from raspibackup.
Thank you for testing and your feedback π
Only thing I would probably add (just a suggestion) would be this info to the page that you can do this before the upgrade since the helpfer script fetches the most recents config file. That wasn't clear to me at a first glance, thats why I asked.
Makes sense. I will add this information.
from raspibackup.
Current format of the config is unstructured (no JSON, XML or other structured format). Therefore it's not easy to merge configs. Therefore I'll put this issue in the backlog.
There is a workaround available:
Install raspiBackup again with curl -s -L -O https://www.linux-tips-and-tricks.de/raspiBackupInstall.sh && sudo bash raspiBackupInstall.sh
. The installer will save the old config file by appending the version number of raspiBackup to the filename. Then use a diff tool (I suggest meld on Linux) and compare and merge the old and new config files.
from raspibackup.
raspiBackup v0.6.5 will be published soon and has code freeze. There are new and changed options with 0.6.5 and the config file version changes from 0.1.3 to 0.1.4. In order to make the config merge as comfortable as possible create a bash script which merges the old an new config files by adding the 0.1.4 config statements prefixed with #
to the corresponding statements in the old config file. That way a user can go through the config file and merge the config statements.
from raspibackup.
I just decided to add a new option --mergeConfigs
into 0.6.5 beta. It will use a complete new code path and not influence other code thus it's added even the beta code is frozen already.
from raspibackup.
Unfortunately there is no way to get the merge enhancement added without to change base code.
In order not to break any existing code I created a helper script which merges the new config file with the current local config definitions as good as possible.
from raspibackup.
@pchristod On this page I described how a configuration update can be done. Would you please check whether the instructions and the helper script help to make the upgrade convenient?
Can do that π
Just to be clear, first step is to Upgrade to current 0.6.5 Beta, then following the steps described in the link you provided using the Helper script?
from raspibackup.
I just tested that. Everything worked fine. Explanations on the Page were pretty clear and easy to follow. I also find that this is a quite clever solution of the whole config mismatch (even if manual work is involved) as you can do that before upgrading which makes the upgrade a smooth experience overall.
Only thing I would probably add (just a suggestion) would be this info to the page that you can do this before the upgrade since the helpfer script fetches the most recents config file. That wasn't clear to me at a first glance, thats why I asked.
Pretty good work, thank you!
from raspibackup.
Upgrade process documented here. Helper script is in 0.6.5 beta branch right now and will be merged into master when 0.6.5 will be published.
from raspibackup.
I decided to add the config update functionality in 0.6.5 and reopened #104. It's uggly to call a helper script just to update the config.
from raspibackup.
Related Issues (20)
- 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
- Support external partitions in installer
- Refactor special device handling HOT 1
- Fehlercode: RBI0021E: Es kann nicht auf www.linux-tips-and-tricks.de zugegriffen werden. wget RC: 4 HOT 29
- Restore bricht mit Fehler " ??? RBK0137E: Rootbackupdatei fΓΌr den Typ tgz nicht gefunden" ab HOT 5
- Add a progress bar for backup processing
- backup.img RC 1 wenn Backup-Storage leer HOT 8
- Fehler bei Backup HOT 6
- systemd file is marked executable
- Support automatic job for restoring HOT 2
- Device full message from dd backup only visible in debug log but not as a raspiBackup message
- Request: Support for compressing /boot image HOT 1
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.