[Samba] Shadow_copy2 and exposing multiple levels of snapshots
Terry Bennett
tb.buss at gmail.com
Wed Apr 4 16:24:42 UTC 2018
Hello Group,
Looking for a little assistance on this as I have been unsuccessful is
getting the shadow: snapprefix, shadow:delimiter and shadow:format to work
as I expect.
I have no issue with getting previous versions in Windows to show me either
hourly, daily or weekly, etc snapshots as previous versions. But I owuld
like to be able to expose all.
The shadow:snapprefix, etc seems to be the way to do it, but I am unable to
get it to work.
When I setup the prefix, etc, I get know previous versions at all.
My setup in Smb.conf is below, and my directories are named as follows:
shadow:snapprefix =
^\(zfs-auto-snap_dai\)\{0,1\}\(zfs-auto-snap_hour\)\{0,1\}$
shadow:delimiter = ly-
shadow:format = ly-%Y-%m-%d-%H%M
Directories :
zfs-auto-snap_daily-2018-01-01-1235
zfs-auto-snap_daily-2018-03-15-1135
zfs-auto-snap_daily-2018-03-29-1135
zfs-auto-snap_hourly-2018-04-03-1817
zfs-auto-snap_hourly-2018-04-04-0817
zfs-auto-snap_weekly-2018-01-17-1240
Etc, etc, etc
When I do something like : shadow: format =
zfs-auto-snap_hourly-%Y-%m-%d-%H%M
in the smb.conf, without the prefix, etc, there is no issues. I see the
hourlys appear in my previous versions.
I am using the latest version of Samba, and Ubuntu 16.04
Any help would be appreciated.
Regards
--
Terry Bennett
More information about the samba
mailing list