<html><body><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div><br></div><div>Windows has a feature called shadow copy. This is widely used by all</div><div>windows users to view the previous versions of a file.<br>For shadow copy to work with glusterfs backend, the problem was that </div><div>the clients expect snapshots to contain some format<br>of time in their name.<br><div><br></div>After evaluating the possible ways(asking the user to create<br>snapshot with some format of time in it and have rename snapshot<br>for existing snapshots) the following method seemed simpler.<br><div><br></div>If the USS is enabled, then the creation time of the snapshot is<br>appended to the snapname and is listed in the .snaps directory.<br>The actual name of the snapshot is left unmodified. i.e. the&nbsp; snapshot<br>list/info/restore etc. commands work with the original snapname.</div><div>The patch for the same can be found @<a href="http://review.gluster.org/#/c/9371/">http://review.gluster.org/#/c/9371/</a><br></div><div><br></div><div>The impact is that, the users would see the snapnames to be different in the ".snaps" folder<br></div><div>than what they have created. Also the current patch does not take care of the scenario where<br></div><div>the snapname already has time in its name.<br></div><div><div><br></div>Eg:<br>Without this patch:<br>drwxr-xr-x 4 root root 110 Dec 26 04:14 snap1<br>drwxr-xr-x 4 root root 110 Dec 26 04:14 snap2<br><div><br></div>With this patch<br>drwxr-xr-x 4 root root 110 Dec 26 04:14 snap1@GMT-2014.12.30-05.07.50<br>drwxr-xr-x 4 root root 110 Dec 26 04:14 snap2@GMT-2014.12.30-23.49.02<div><br></div></div><div>Please let me know if you have any suggestions or concerns on the same.<br></div><div><br></div><div>Thanks,<br></div><div>Poornima<br></div></div></body></html>