[PATCH] vfs_shadow_copy2: add snapsharepath parameter
Michael Adam
obnox at samba.org
Mon Jan 25 10:05:48 UTC 2016
On 2016-01-22 at 12:08 +0200, Uri Simchoni wrote:
>
>
> On 01/21/2016 10:44 PM, Michael Adam wrote:
> >I don't see yet that the snapsharepath really gains anything. Will follow
> >up with details. Michael
> The use case is as follows:
>
> In the original volume we have:
> /mount/
> +dir1
> |
> +dir2/
> +subdir
>
> And we have 2 shares:
> [share1]
> path = /mount/dir1
>
> [share2]
> path = /mount/dir2/subdir
>
> Now suppose we have a backup system that backs up not the whole volume, just
> the shares, and exposes snapshots to the user according to the logical
> structure as follows (this is the file-system view of the snapshots):
>
> /snapshots/
> + at GMT-XXX/
> | +share1
> | |
> | +share2
> |
> + at GMT-YYY/
> +share1
> |
> +share2
Ah, I originally confused it from share1 and share2 being
above the GMT- dir, not below. And that would have been
achieved with combinations of basedir and snapdir. :-)
Thanks for the explanation, pushed.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160125/89426640/signature.sig>
More information about the samba-technical
mailing list