[Restore] Only diff status timestamp is updated in *status log
Closed this issue · 4 comments
Hello @HappyBasher
I have a group with qdiff image, and when restoring/renewing the system, only the timestamp of the qdiff is updated:
$ tail /var/log/linuxmuster/linbo/client1_image.status
202207311309 applied: ubuntu.qcow2 202108291622
202302271527 applied: focal.qcow2 "202212102248"
202311261543 applied: data.qcow2 "202212102254"
202311261604 applied: focal.qdiff "202302271550"
The timestamp of focal.qcow2
stays unchanged. Did I miss something, or do the function restore()
need an fix ?
Thanks
Arnaud
Did focal.qcow2 change or is it the current version? Then I think it is the desired behaviour.
It was the current version. But I think I don't understand how it works. The base image focal.qcow2
should be sync too if thee partition is formated, am I wrong ?
I don't get how the qdiff can be sufficient to sync the partition, I always thought it was the combination base + diff which should be sync, and not the diff alone.
I'm asking, because I'm using this *status log to display the last synchronisation date in the Webui, and it seems that I'm displaying wrong informations in the case of the use of a qdiff file.
Thanks!
Arnaud
Sure the basic qcow2 image is involved when the qdiff is synced. The qcow2 entry in the status file shows the timestamp when the qcow2 was synced alone. The qdiff entry shows the timestamp of the qdiff sync.
Ok, thanks for the explanation.