similar to: vfs_shadow_copy2: unmount snapshot while user is restoring from it

Displaying 20 results from an estimated 700 matches similar to: "vfs_shadow_copy2: unmount snapshot while user is restoring from it"

2016 Feb 10
1
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Hi Jeremy, The use case is that we want to automatically rotate the snapshots. For example, we want to keep 24 hourly snapshots, and every hour we create a new snapshot and unmount the oldest one. But since customers can be restoring from the oldest snapshot right now, it is not deterministic when we will be able to unmount the oldest snapshot. So at that moment we want all active restore
2016 Feb 10
0
vfs_shadow_copy2: unmount snapshot while user is restoring from it
On Mon, Feb 08, 2016 at 06:33:25PM +0200, Alex Lyakas wrote: > Greetings, > > I am trying to use vfs_shadow_copy2 with samba samba-4.2.7. > > I have a share exported at /export/smb400/. A snapshot of the share is on a > separate block device, which is mounted at > /export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba > configuration for the share is: > >
2016 Feb 10
0
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Hi Uri, Thanks for your response. We do not want to delete the share in smb.conf and later to reconfigure it without the shadow copy. We want to keep the shadow copy and rotate the snapshots. For example, we want to keep 24 hourly snapshots, and every hour we create a new snapshot and unmount the oldest one. But since customers can be restoring from the oldest snapshot right now, it is not
2014 Jan 24
2
vfs_shadow_copy2 with different snapshot format
Hi all, Does anyone have vfs_shadow_copy2 working with an alternate snapshot directory format? My snapshots look like this : drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140113_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140114_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140115_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140116_12:00 drwxr-xr-x 55 root root 32768 Jan 10
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
2017 Apr 02
2
vfs_shadow_copy2 delimiter not working
Hi I could not get a custom "shadow:delimiter" for the vfs shadow_copy2 module to work successfully for me with Samba 4.6.2. I did not try previous versions. Based on my testing it seems that 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
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
Hi all, I'm using the VFS sbadow_copy2 module, and I think I've hit a bug. This config works: mattcen at adam:SambaTest$ cat works3/smb.conf [SambaTest] comment = SambaTest writable = yes path = /srv/SambaTest/share #vfs objects = shadow_copy vfs objects = shadow_copy2 shadow:snapdir = /mnt/dates shadow:basedir = /srv mattcen
2018 Feb 19
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi, I notice you're using 4.6.2 and I'm using 4.6.11. I made the following comment at some point within [global]:   #disable "unix extensions" to avoid using "allow insecure wide links"   #  for access to ../xxxx_SNAPS for BTRFS "previous versions" snapshots   #  --it seems to have reverted once more to not need the below two settings   ##unix
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 =
2018 Aug 15
1
vfs_shadow_copy2 with snapprefix & delimiter options
Hello all, I already successfully 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\}$
2023 May 25
1
vfs_shadow_copy2 cannot read/find snapshots
> Does it make a difference if you re-mount the volume without 'acl' > option? Even otherwise can you try listing the snapshot contents from > the server as a user(and not super user) who in reality tries to list > previous versions from Windows? I feel like it has something to do with > permissions setup for the user accessing the share. It does make a difference! First
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
Hi all, At some point recently my customers can no longer see GPFS snapshots under the Windows Previous Versions tab. It simply says "No previous versions available". If a fileset is exported with the flag "force user = root" then Previous Versions *are* displayed. [2016/07/06 10:07:35.602080, 3] ../source3/smbd/vfs.c:1322(check_reduced_name) check_reduced_name:
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 at 2:52 PM, Sebastian Neustein via samba
2023 May 22
3
vfs_shadow_copy2 cannot read/find snapshots
Hi I am trying to get shadow_copy2 to read gluster snapshots and provide the users with previous versions of their files. Here is my smb.conf: [global] ??????? security = ADS ??????? workgroup = AD ??????? realm = AD.XXX.XX ??????? netbios name = A32X ??????? log file = /var/log/samba/%m ??????? log level = 1 ??????? idmap config * : backend = tdb ??????? idmap config * : range =
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
2022 May 02
1
[Announce] Samba 4.16.1 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.16 release series. Changes since 4.16.0 -------------------- o? Jeremy Allison <jra at samba.org> ?? * BUG 14831: Share and server swapped in smbget password prompt. ?? * BUG 15022: Durable handles won't reconnect if the leased file is written ???? to. ?? * BUG 15023: rmdir silently
2022 May 02
1
[Announce] Samba 4.16.1 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.16 release series. Changes since 4.16.0 -------------------- o? Jeremy Allison <jra at samba.org> ?? * BUG 14831: Share and server swapped in smbget password prompt. ?? * BUG 15022: Durable handles won't reconnect if the leased file is written ???? to. ?? * BUG 15023: rmdir silently
2017 Apr 19
0
vfs_shadow_copy2 delimiter not working
On Sun, 2017-04-02 at 22:42 +0100, Michael Miller via samba wrote: > Hi > > I could not get a custom "shadow:delimiter" for the vfs shadow_copy2  > module to work successfully for me with Samba 4.6.2. I did not try  > previous versions. Based on my testing it seems that an additional line  > of code is needed in vfs_shadow_copy2.c as shown in the patch below  >
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)
2023 May 22
1
vfs_shadow_copy2 cannot read/find snapshots
On Mon, May 22, 2023 at 9:32?AM Sebastian Neustein via samba <samba at lists.samba.org> wrote: > > 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] >