openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

Backups not deleted #61

Closed Baumi1245 closed 7 years ago

Baumi1245 commented 7 years ago

After installing 2.1.0.004-SNAPSHOT-DSM6 older backups are not deleted:

screenshot 71

Baumi1245 commented 7 years ago

by the way....

what sense makes updating OH instead of a fresh installation? all my settings are gone anyway and backups are spamming my ds.

cniweb commented 7 years ago

You are right, the old backups should be deleted after the restore.

Baumi1245 commented 7 years ago

@cniweb @SchoppAx Still got a problem here... there is no data restored - is this correct?

Why use a timestamp? Why don´t you just create the folder openhab-backup and delete it, before a new update/backup is made?

cniweb commented 7 years ago

Good question. It is not deleted and is equipped with a timestamp so that you can access older backups

Baumi1245 commented 7 years ago

But this way it is not possible to make an automated restore....

if i write a shell script ore someone writes an .sbk just to restore data, it can´t be found with a timestamp. it´s really hard to start with every installtion from nearly zero.

why is there no "backup/restore" in the ui???

SchoppAx commented 7 years ago

The issue is resolved.

SchoppAx commented 7 years ago

Closed #61.