search for: snapprefix

Displaying 20 results from an estimated 39 matches for "snapprefix".

2018 Feb 16
4
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...amba 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 snapshots... I did not succeed to do it ; nothing is displayed in windows previous versions when "shadow:snapprefix" and "shadow:delimiter" are set. My snapshots are with the following format, e.g. for dai...
2018 Feb 17
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi (+mailing list again for the archives) My config which does show previous versions: # /usr/local/samba/sbin/smbd --version Version 4.6.11 To avoid having this config block within in each share, I define the following within the [global] section:   shadow:snapprefix = ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$   shadow: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:base...
2018 Feb 16
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi, As per the list.samba.org link, did you try including the delimiter within the format, ie as shown in the following? shadow:snapprefix = ^d[A-Za-z0-9]*y$ shadow:delimiter = _IPG_ shadow:format = _IPG_%Y.%m.%d-%H.%M.%S Regards, Mike On 16/02/2018 16:50, Edouard Guigné via samba wrote: > 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 snaps...
2018 Feb 19
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...igné wrote: > Hi, > > So I tried with a similar config to yours : > >   vfs objects = acl_xattr streams_xattr shadow_copy2 >   shadow:snapdir = /data/datashared/.snapshots >   shadow:basedir = /var/datashared >   shadow:sort = desc >   shadow:localtime = yes >   shadow:snapprefix = > ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$ >   shadow:delimiter =  _UTC_ >   shadow:format = _UTC_%Y.%m.%d-%H.%M.%S >   shadow:fixinodes = yes > > (I change IPG by UTC in case...) > > This does not work better... > I notice you put btrfs in vfs objects &gt...
2018 Aug 15
1
vfs_shadow_copy2 with snapprefix & delimiter options
...fully configured shadow copy service without a delimiter and regex. But as soon as I try to get this to work with regex, nothing shows up on the win client. My config looks like this: [global] shadow: localtime = yes shadow: sort = desc shadow: format = _%FT%T shadow: delimiter = _ shadow: snapprefix = ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$ [someshare] path = /mnt/share/User hide dot files = No follow symlinks = Yes wide links = Yes vfs objects = shadow_copy2 shadow: mountpoint = /mnt/share shadow: snapdir = .zfs/snapshot shadow: snapsharepath = User The content of snaps...
2019 Aug 10
2
vfs_shadow_copy2 not working
...s are being stored at /test/.zfs/snapshot The snapshots are being named like so: autosnap_2019-08-10_21:00:00_frequently autosnap_2019-08-10_21:00:00_monthly autosnap_2019-08-10_22:00:00_hourly This is in my smb.conf: [test] vfs objects = shadow_copy2 shadow:snapdir = /test/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} #shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I've also tried it with the delimiter line uncommented (and then removing the underscore from the snapprefix),...
2020 May 18
1
Shadow Copy2 & zfs Snapshots
...x, so that daily and hourly snapshots would be included, it won't work (no previous old versions being shown in Windows file properties): vfs objects = shadow_copy2 shadow:snapdir = .zfs/snapshot shadow:sort = desc shadow:localtime = yes shadow:format = _%Y-%m-%d-%H-%M-UTC shadow:snapprefix = ^easysnap-\(hourly\)\{0,1\}\(daily\)\{0,1\} shadow:delimiter = _ Any suggestions why it won't work with the BRE? sjau
2017 Apr 02
2
vfs_shadow_copy2 delimiter not working
...an additional line of code is needed in vfs_shadow_copy2.c as shown in the patch below (some comment updates are included too for code readability). Without the below patch, previous versions were not being returned by Samba when using a shadow:delimiter. I was using a sample config of shadow:snapprefix = ^Snap shadow:delimiter = _._ shadow:format = %Y.%m.%d-%H.%M.%S with sample snapshots named: Snap_testing1_._2016.11.01-01.00.01 Snap_prerelease_._2016.12.01-01.00.02 Snap_postrelease_._2017.01.01-01.00.01 Is anyone able to use a custom shadow:delimiter successfully without any modifications to...
2019 Sep 01
3
vfs_shadow_copy2 not working
...1_13:44:09_frequently And this is currently in my smb.conf file: [shadowtest] path = /pool/shadowtest valid users = user1 read only = no writeable = yes guest ok = no create mode = 770 directory mode = 770 vfs objects = shadow_copy2 shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I do not see the snapshots listed in the Windows Previous Version tab, so it doesn't work, but I can't fi...
2023 May 22
1
vfs_shadow_copy2 cannot read/find snapshots
Hi Sebastian, why are you using shadow:snapprefix if this is just ?snap?? Does it work using ONLY shadow:format = snap_GMT-%Y.%m.%d-%H.%M.%S ? If you use snapprefix you also need to use shadow:delimiter (in your case this would be ?_?). However, I never managed to get it working with snapprefix on my machines. Alexander > On Monday, May 22,...
2023 May 22
2
vfs_shadow_copy2 cannot read/find snapshots
Hi Alexander # net conf delparm projects shadow:snapprefix does not change a thing. The error persists. (I killed my smb session before trying again). log still says: [2023/05/22 15:23:23.324179,? 1] ../../source3/modules/vfs_shadow_copy2.c:2222(shadow_copy2_get_shadow_copy_data) ? shadow_copy2_get_shadow_copy_data: SMB_VFS_NEXT_OPEN failed for '/...
2019 Feb 12
1
Sama + Windows Shadow Copies
...ath = /srv/userdata/%U  <--- I think this is the problem guest ok = no public = yes browseable = yes create mode = 0700 create mask = 0700 directory mask = 0700 valid users = %U vfs objects = shadow_copy2 shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = -%Y-%m-%d-%H%M shadow: snapprefix = ^zfs-auto-snap_(frequent){0,1}(hourly){0,1}(daily){0,1}(monthly){ 0,1} shadow: delimiter = -20 This configuration in /etc/samba/smb.conf runs. I get the "Previous Versions" on my windows Client. [Eigene_Dateien2] comment = Eigene Dateien2 path = /srv/userdata/ <--- here´s the diff...
2018 Apr 04
0
Shadow_copy2 and exposing multiple levels of snapshots
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, bu...
2019 Sep 01
0
vfs_shadow_copy2 not working
...nf file: > > [shadowtest] > path = /pool/shadowtest > valid users = user1 > read only = no > writeable = yes > guest ok = no > create mode = 770 > directory mode = 770 > vfs objects = shadow_copy2 > shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot > shadow:snapprefix = ^autosnap_ > shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} > shadow:delimiter = _ > shadow:sort = desc > shadow:localtime = no > > I do not see the snapshots listed in the Windows Previous Version tab, so it doesn'...
2023 May 22
3
vfs_shadow_copy2 cannot read/find snapshots
...ects] ??????? path = /srv/glvol_samba/admin/projects ??????? comment = ARC Projekte ??????? guest ok = no ??????? read only = no ??????? shadow:snapdir = /srv/glvol_samba/admin/projects/.snaps ??????? shadow:basedir = /srv/glvol_samba/admin/projects ??????? shadow:sort = desc ??????? shadow:snapprefix = ^snap$ ??????? shadow:format = _GMT-%Y.%m.%d-%H.%M.%S ??????? vfs objects = acl_xattr shadow_copy2 glusterfs_fuse I can go to a shared directory on the samba server and enter the .snaps subdirectory, in there I can see: root at XXX:~# cd /srv/glvol_samba/admin/projects/.snaps root at XXX:/...
2019 Aug 12
0
vfs_shadow_copy2 not working
...s are being named like so: > > autosnap_2019-08-10_21:00:00_frequently > autosnap_2019-08-10_21:00:00_monthly > autosnap_2019-08-10_22:00:00_hourly > > This is in my smb.conf: > > [test] > vfs objects = shadow_copy2 > shadow:snapdir = /test/.zfs/snapshot > shadow:snapprefix = ^autosnap_ > shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} > #shadow:delimiter = _ > shadow:sort = desc > shadow:localtime = no > > I've also tried it with the delimiter line uncommented (and then removing the und...
2016 Jul 28
0
[Announce] Samba 4.5.0rc1 Available for Download
...s" command that has "master", "list" and "status" subcommands. See the LVS sections in ctdb(7) and ctdbd.conf(5) for details, including configuration changes. * Improved sample NFS Ganesha call-out New shadow_copy2 options ------------------------ shadow:snapprefix With growing number of snapshots file-systems need some mechanism to differentiate one set of snapshots from other, e.g. monthly, weekly, manual, special events, etc. Therefore these file-systems provide different ways to tag snapshots, e.g. provide a configurable way to name snapshots, wh...
2016 Jul 28
0
[Announce] Samba 4.5.0rc1 Available for Download
...s" command that has "master", "list" and "status" subcommands. See the LVS sections in ctdb(7) and ctdbd.conf(5) for details, including configuration changes. * Improved sample NFS Ganesha call-out New shadow_copy2 options ------------------------ shadow:snapprefix With growing number of snapshots file-systems need some mechanism to differentiate one set of snapshots from other, e.g. monthly, weekly, manual, special events, etc. Therefore these file-systems provide different ways to tag snapshots, e.g. provide a configurable way to name snapshots, wh...
2023 May 26
1
vfs_shadow_copy2 cannot read/find snapshots
...n not. > > Using Windows I wasn't able to access the privious version, but > remembering Alexanders comment I could fix that aswell! Hm.. that would require your snapshots to always start with "snap" and not "snap1" or "snap101" etc. But I do think 'snapprefix' option to vfs_shadow_copy2 module is working as expected(at least for me). > Now I have to test if the missing acl options has any influence on > the windows acls. Since you have also stacked 'acl_xattr' vfs module, windows ACLs should not get affected as they are stored as &qu...
2016 Aug 10
0
[Announce] Samba 4.5.0rc2 Available for Download
...b lvs' command that has 'master', 'list' and 'status' subcommands. See the LVS sections in ctdb(7) and ctdbd.conf(5) for details, including configuration changes. * Improved sample NFS Ganesha call-out. New shadow_copy2 options ------------------------ * shadow:snapprefix With growing number of snapshots file-systems need some mechanism to differentiate one set of snapshots from other, e.g. monthly, weekly, manual, special events, etc. Therefore, these file-systems provide different ways to tag snapshots, e.g. provide a configurable way to name snapshots, w...