[PATCH][smbinfo cifsutils]
Steve French
smfrench at gmail.com
Thu Mar 28 10:05:35 UTC 2019
Patch to smbinfo tool (in cifs-utils) to allow listing previous
versions (snapshots) of an SMB3 mounted share. Note that cifs.ko has
a mount option "snapshot=" which can be used to mount the previous
version of a share.
Sample output:
$ ./smbinfo list-snapshots /mnt/file
Number of snapshots: 5 Number of snapshots returned: 5
Snapshot list:
1) @GMT-2019.03.27-20.52.19
2) @GMT-2019.03.27-20.50.20
3) @GMT-2019.03.16-22.25.54
4) @GMT-2019.03.16-22.22.28
5) @GMT-2018.10.12-08.30.11
--
Thanks,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smbinfo-Add-ability-to-query-snapshots-previous-vers.patch
Type: text/x-patch
Size: 3681 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190328/2174d4ad/0001-smbinfo-Add-ability-to-query-snapshots-previous-vers.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smbinfo-Add-ability-to-query-snapshots-previous-vers.patch
Type: text/x-patch
Size: 3681 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190328/2174d4ad/0001-smbinfo-Add-ability-to-query-snapshots-previous-vers-0001.bin>
More information about the samba-technical
mailing list