Skip to content
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

Add the OH version number to the filename for backups created with openhab-cli #1682

Open
nelsonaponte opened this issue Sep 3, 2024 · 0 comments

Comments

@nelsonaponte
Copy link

To help the user easily identify the openHAB version backed up within a backup file, the filename of the file generated by the command openhab-cli backup should be as follows:

Current Format: openhab-backup-MM_DD_YY-HH_mm_ss.zip (e.g. openhab-backup-24_08_23-07_48_03.zip)
Suggested Format: openhab-backup-OHversion-MM_DD_YY-HH_mm_ss.zip (e.g., openhab-backup-4_1_3-24_08_23-07_48_03.zip), where the subdivisions of the openHAB version should be separated by the underscore ( _ ) character, e.g. 4.1.3 --> 4_1_3

https://github.com/openhab/openhab-distro/blob/main/distributions/openhab/src/main/resources/bin/backup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant