-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide folder USERDATA as well in \public\openHAB2\. #103
Comments
The folder USERDATA should also be linked via |
@cniweb tell me if I'm wrong, but i think the "innovation" of the openhab2 config files (userdata) are, that they can be full managed with the PaperUI. So the user doesn't need to change the config files itselfs. |
@SchoppAx The issue is not changing the files, but backing up the files. In OH2 there are indeed 2 ways of configuration:
Hence to (easily) backup the configuration that was made through the PaperUI (and stored in JSONDB) you also need easy access to /openhab2/userdata/ |
While the PaperUI can make several things easier, it is far from being that powerful to replace manual editing of config files. But the config files are already linked in the public folder so it is no issue at all editing them from DSM. |
Another case would be the update. Because the update does not work, but only an uninstall and install. The data will be deleted. |
Signed-off-by: Christian Häussler <[email protected]> (github: @cniweb)
@loovanloon and @aurelio1 I add the userdata folder, is this ok (see my commit)? |
@cniweb Great, thank you! I just wondered why it is necessary to remove the single userdata subdirectories such as tmp, log, logs and cache. Why didn't you do it at once, as with the conf directory that includes all subdirectories? I did it manually up to now and moved the directory and linked to it in one operation. |
@aurelio1 Because the directories: |
@cniweb Christian, Where can I download the SPK that contains the change? I'm quite new to Github. |
I think I have time this sunday... |
@loovanloon New version is released: |
ENHANCEMENT:
For backup and restore purposes of the installation configured through the paper UI I think it is usefull to provide access to the USERDATA folder as well in the \public\openHAB2\ folder
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: