ogi Posted September 12, 2014 Share Posted September 12, 2014 I am far from super knowledgeable on these sorts of things, so I have no idea on the feasibility of this feature request but I am wonder if it is possible. The request is for Shadow Copies to be supported in Samba Shares. What this would allow for is that Windows users can access/restore previous versions of a file from the right click menu -> Properties -> Previous Versions Tab -> <select how far back you want to go to restore the file>. All windows users could potentially benefit from this feature. Thanks, Ogi 1 Quote Link to comment
jonp Posted September 14, 2014 Share Posted September 14, 2014 So is this like file by file time capsule service for Windows? Quote Link to comment
ogi Posted September 14, 2014 Author Share Posted September 14, 2014 So is this like file by file time capsule service for Windows? I hadn't thought of it that way, but that sounds about right. I'm on my phone so pardon the lack of formatting. Here is an instructional guide showing its use: http://www.engineering.uiowa.edu/ecs/support/previous-version From the wikipedia page it says this feature is available on LVM based storage (for samba servers that aren't windows) https://en.m.wikipedia.org/wiki/Shadow_Copy Quote Link to comment
ogi Posted October 15, 2014 Author Share Posted October 15, 2014 So is this like file by file time capsule service for Windows? Since making this post, you guys have had a lot on your plate (especially w/ the reiserFS corruption issue, etc), just wondering if there is any other data I can provide relevant to enable this feature. I found some "guides" to get the shadow copy volumes setup on a linux server: http://www.linuxtopia.org/online_books/network_administration_guides/samba_reference_guide/30_VFS_13.html Here is some actual documentation on the samba module: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html I would be happy to seek out more information, but again, I am unaware of the technical challenges of such an implementation. Thanks, Ogi Quote Link to comment
jonp Posted October 15, 2014 Share Posted October 15, 2014 So is this like file by file time capsule service for Windows? Since making this post, you guys have had a lot on your plate (especially w/ the reiserFS corruption issue, etc), just wondering if there is any other data I can provide relevant to enable this feature. I found some "guides" to get the shadow copy volumes setup on a linux server: http://www.linuxtopia.org/online_books/network_administration_guides/samba_reference_guide/30_VFS_13.html Here is some actual documentation on the samba module: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html I would be happy to seek out more information, but again, I am unaware of the technical challenges of such an implementation. Thanks, Ogi Ogi, thanks for your patience with us. I want to explore this further but we are about to go on a feature freeze for 6.0. Need to clamp down what we have first before we can add any more. That said, this sounds like something we for sure would want to look into for our windows users. Quote Link to comment
ogi Posted October 15, 2014 Author Share Posted October 15, 2014 So is this like file by file time capsule service for Windows? Since making this post, you guys have had a lot on your plate (especially w/ the reiserFS corruption issue, etc), just wondering if there is any other data I can provide relevant to enable this feature. I found some "guides" to get the shadow copy volumes setup on a linux server: http://www.linuxtopia.org/online_books/network_administration_guides/samba_reference_guide/30_VFS_13.html Here is some actual documentation on the samba module: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html I would be happy to seek out more information, but again, I am unaware of the technical challenges of such an implementation. Thanks, Ogi Ogi, thanks for your patience with us. I want to explore this further but we are about to go on a feature freeze for 6.0. Need to clamp down what we have first before we can add any more. That said, this sounds like something we for sure would want to look into for our windows users. Thanks for the fast reply! I know you guys are approaching the RC phase of v6.0 (and with that comes a feature freeze), don't worry, I have my expectations in check. I guess I would just like to have an idea of what kind of difficulty implementation of the volume shadow copy module would be (is this a minor undertaking, major undertaking?). From what I've read it looks like it just leverages existing snapshots (BTRFS supported feature if I understand correctly). That said, I'm glad you're able to see the value in a feature such as this, I know at work being able to quickly recover a network file (going to a "previous version") has gotten me out of a jam more than once. Thanks again Jon Quote Link to comment
sirKitKat Posted January 3, 2018 Share Posted January 3, 2018 Any news on how to configure Shadow Copies on unRaid? And sorry to open this thread again (this was the top result of the google search 'unraid shadow copies' ) 1 Quote Link to comment
Parax Posted January 15, 2018 Share Posted January 15, 2018 (edited) Is Shadow copy supported? I'm about to upgrade my nas, I like nearly everything about unraid but shadowcopy for win shares is a highly desired item on my list.. native or via pluggin.. Edited January 26, 2018 by Parax Quote Link to comment
172pilot Posted January 20, 2018 Share Posted January 20, 2018 I too found this old thread based on a basic google search.. I have been relying on Crashplan for backup and have been thinking about what I'm going to do now that the whole "unlimited backup for cheap" world is changing for me. I had already bought 2 copies of Unraid, so my answer thus far has been to just have a mirrored Unraid, potentially off site, or at least in a far part of the house (I already had a house fire, so I'm sensitive to both eggs in one flammable house) but I was thinking that for versioning, I'd need to have some kind of script to manage keeping each day's backup separate from yesterdays, and then I thought of shadow copies.. IF there's any chance this might be something on the horizon for UnRaid, it would sure influence my plans.. I've got a few months 'till crashplan goes away, but by that time I want to have something at least in the works! Thanks for an awesome product!! 1 Quote Link to comment
Guest Posted February 12, 2019 Share Posted February 12, 2019 +1 to this. My family is a bit accident-prone and frequently overwrites important files with mistakes (such as a wrong cell in an Excel spreadsheet.) Would be nice if they could restore it themselves without bugging me to manually log onto the server and restore the correct file. Quote Link to comment
eek Posted February 12, 2019 Share Posted February 12, 2019 (edited) https://github.com/zfsonlinux/zfs-auto-snapshot/wiki/Samba has a nice outline for what is required to do this with instructions for Debian. It doesn't look that difficult if the drives are configured for ZFS (as I suspect is most people's arrays will be nowadays) and the files are written directly to the array - cache drives would add a lot of additional complexity... Edited February 12, 2019 by eek Added thoughts on issues due to cache drives. Quote Link to comment
itimpi Posted February 12, 2019 Share Posted February 12, 2019 37 minutes ago, eek said: https://github.com/zfsonlinux/zfs-auto-snapshot/wiki/Samba has a nice outline for what is required to do this with instructions for Debian. It doesn't look that difficult if the drives are configured for ZFS (as I suspect is most people's arrays will be nowadays) and the files are written directly to the array - cache drives would add a lot of additional complexity... UnRAID does not support ZFS as a standard feature Perhaps you were getting confused with XFS which what I would expect most people are using for array drives. Quote Link to comment
JorgeB Posted February 12, 2019 Share Posted February 12, 2019 Looks like btrfs can also be used for shadow copies with Samba, but never tried it: https://forum.openmediavault.org/index.php/Thread/7331-GUIDE-Windows-Previous-Versions-and-Samba-Btrfs-Atomic-COW-Volume-Shadow-Copy/ Quote Link to comment
eek Posted February 12, 2019 Share Posted February 12, 2019 13 minutes ago, itimpi said: UnRAID does not support ZFS as a standard feature Perhaps you were getting confused with XFS which what I would expect most people are using for array drives. Yes - my mistake as I'm not at home to look at the portal. Without ZFS and as btrfs is really not ready for Array use it's not really a goer... Quote Link to comment
JorgeB Posted February 12, 2019 Share Posted February 12, 2019 7 minutes ago, eek said: and as btrfs is really not ready for Array use I've been using it for years now on all my Unraid servers, though won't dispute that is not as stable as xfs, but for anyone with backups (and you should always have backups), a stable server and an UPS, there's no reason not to use it. Quote Link to comment
neruve Posted November 6, 2021 Share Posted November 6, 2021 I hate to revive an old thread, BUT. I would also LOVE to see a shadow copy. Parody is awesome, but being able to set a certain directory to be shadow copied to all drives would be awesome. Or maybe even let you pick how may/which drives to copy too. I know you can do some hacky stuff with rsync and user scripts but its a lot of moving parts for something that can probably be build in without too much trouble. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.