Hi all
I am not sure if this is an issue or this is the correct behavior for rockstor dealing with snapshots when the rollback is used. I have scheduled snapshots for my shares, shadow copies are also enabled. When I select the share and go to previous versions I find all my snapshots and I can open any of them grab the data I want, but if I use the rollback feature from the web interface I get into problems.
Example: I delete my samba share, go to my snapshots and select the one I need to rollback to. It works perfectly fine.
I go back and create the samba share to browse the data, all the data is there which is perfect, If I check the snapshots in the previous version tab.
1st: There is no snapshots after the snapshot I selected, so if I selected something on the 10th of March 7:30am “doing hourly snapshots” every snapshot after this date/time is erased.
2nd: I check the previous versions tab on the share, I can see snapshots prior the date/time I selected, if I click and open any, they are empty no data is there.
3rd: I check from the webui the snapshots, there is no snapshots at all for this share.
The rollback basically restore to the point of time you select which is understandable but can be risky if someone not sure which snapshot they should rollback to, once it’s done it’s done. It erases any newer data/snapshots. The question is; was this the intentional design for the rollback? What happen if someone rolled back to a wrong snapshot? Data is gone!!!.
Hopefully someone look at this one, and let me if I am doing/understanding something wrong.