Bug 14145 - shadow_copy2 module "Previous Version" not working in Windows with prefix and delimeter
Summary: shadow_copy2 module "Previous Version" not working in Windows with prefix an...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 4.9.5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-27 18:30 UTC by Tibor Egyed
Modified: 2019-09-27 18:33 UTC (History)
0 users

See Also:


Attachments
wrong.log (17.00 KB, text/plain)
2019-09-27 18:30 UTC, Tibor Egyed
no flags Details
good.log (20.70 KB, text/plain)
2019-09-27 18:31 UTC, Tibor Egyed
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tibor Egyed 2019-09-27 18:30:17 UTC
Created attachment 15498 [details]
wrong.log

If my config is :

shadow: format = most_et-backup_%Y.%m.%d-%H.%M.%S

then everything is ok, but if I use this:

shadow: snapprefix = ^\(most\)\{0,1\}$
shadow: delimiter = _et-backup_
shadow: format = _et-backup_%Y.%m.%d-%H.%M.%S

then the win can't see then previous versions. In the log files every two versions looks good:

FSCTL_GET_SHADOW_COPY_DATA: 2 volumes for path[GDBS.his].
  Label[0]: '@GMT-2019.09.26-16.45.07'
  Label[1]: '@GMT-2019.09.26-16.16.51'


but the second not work. I attach the good and bad log files.
Comment 1 Tibor Egyed 2019-09-27 18:31:53 UTC
Created attachment 15499 [details]
good.log
Comment 2 Tibor Egyed 2019-09-27 18:33:17 UTC
I use ZFS file system.