Displaying 3 results from an estimated 3 matches for "someshare_snap".
Did you mean:
someshare_snaps
2018 Feb 16
4
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hello Dear Samba Users,
I have sucessfully set a samba share on a centos 7 box (samba 4.6.2) and
succeeded into make work snapshots (vfs_shadow_copy2 with xfs and lvm).
The snapshots appears well in windows previous versions.
However, I expected to go further with snapshots and use the options
"shadow:snapprefix" and "shadow:delimiter"in order to filter daily,
weekly
2018 Feb 17
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...adow:delimiter = _UTC_
shadow:format = _UTC_%Y.%m.%d-%H.%M.%S
And then in the config of the shares, I define:
[someshare]
vfs objects = acl_xattr btrfs shadow_copy2
writable = yes
path = /store/samba/someshare
shadow:basedir = /store/samba/someshare
shadow:snapdir = /store/samba/someshare_SNAPS
shadow:sort = desc
shadow:fixinodes = yes
Within /store/samba/someshare_SNAPS are the snapshot directories themselves:
# ls -1f /store/samba/someshare_SNAPS |tail -20
weekly_UTC_2018.01.29-01.00.01
daily_UTC_2018.01.30-01.00.01
daily_UTC_2018.01.31-01.00.02
monthly_UTC_2018.02.01-01.00.02...
2018 Feb 19
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...>> And then in the config of the shares, I define:
>>
>> [someshare]
>> vfs objects = acl_xattr btrfs shadow_copy2
>> writable = yes
>> path = /store/samba/someshare
>> shadow:basedir = /store/samba/someshare
>> shadow:snapdir = /store/samba/someshare_SNAPS
>> shadow:sort = desc
>> shadow:fixinodes = yes
>>
>> Within /store/samba/someshare_SNAPS are the snapshot directories
>> themselves:
>>
>> # ls -1f /store/samba/someshare_SNAPS |tail -20
>> weekly_UTC_2018.01.29-01.00.01
>> daily_UTC_2018...