Link to home
Create AccountLog in
Avatar of Damian Gardner
Damian Gardner

asked on

Can you mount a local shared folder as a drive on a server?

Can you mount a local shared folder as a drive on a server?  I am needing to enable shadow copies (version control) on a specific folder on my Windows 2016 Server, and do not want to have to enable that for the entire volume of the C drive - but just for single folder.  Since shadow copies is only available for "volumes only", I need to figure out how to mount my target folder as a separate "volume" on the machine.  Possible to do?
Avatar of Hello There
Hello There

Have you seen this guide?
https://social.technet.microsoft.com/Forums/en-US/de4fcc2a-8924-44ea-89ca-cc938aa14264/shadow-copies-for-a-single-folder?forum=winserver8setup
This is how on Windows Server 2012 (very similar on 2008 R2):
  1. Open up Computer Management and select Disk Management under Storage.
  2. Right-click the Volume in which you'd like a folder with Shadow Copies.
  3. Click Shrink Volume.
  4. Select an amount to shrink that's big enough for your folder and small enough to leave enough for the original Volume.
  5. Click Shrink.
  6. Right-click the new unallocated space and select New Simple Volume.
  7. Click Next twice.
  8. Select Mount in the following empty NTFS folder and click Browse.
  9. Select the Volume in which you'd like to place the folder.
  10. Click New Folder and give it a name.
  11. click OK and Next.
  12. Name the Volume Label the same as your Folder name (makes it easier to administer) and click Next.
  13. Click Finish.
  14. In order for the restoring of previous files to work, you will need to assign this new volume a drive mapping as well.
  15. Right-click the new Volume and click Change Drive Letter and Paths.
  16. Click Add and choose a drive letter and click OK.
  17. Close the Computer Management.
  18. You can now share the folder on the original Volume.
  19. Right-click the drive letter you chose for the folder Volume and select Configure Shadow Copies.
  20. Enable Shadow Copies for the drive letter found in the list of volume.
  21. Configure the settings as you like.
  22. One important note is that in order to restore previous versions of a file, you need to do it from the drive letter; it doesn't work from the folder.

ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Damian Gardner

ASKER

"Hello There" - thanks for that.  I did see that, and wasn't sure about it.  let me take another look at it.

"Kevin" - thanks for your input.  This will be used on a networked share for some of our users, but am looking to enable the shawing on the local drive OF that networked share - in other words, the "C drive" of the network server.  And the reason for only doing a single vilume, is because they do warn that shadowing "takes up space" and I wouldn't want EVERYTHING being shadowed, when I only need the 1 folder.  so I'm just seeing if this is possible, because I may as well be frugal.  know what I mean?

anyway thanks 
Don't worry about being frugal. I set about 200 GB of shadow copy space for my branch file servers, which protects the OS and user documents for 10-50 users. That generally covers me for 64 copies. Being frugal here is increases chance of data loss.

You really need to put shadow copies on a volume other than the parent data. Add physical disks if you need to.
Gotcha.  Ok thanks Kevin
Looks like the method for doing it with a single folder (shown above) has a caveat - you can only enable shadow copies for drives with a drive letter - which there appears you can't assign drive letters to mounted folders...atleast not from what i'm experiencing.  I think I'm just going to have to go with enabling the entire drive.  Thanks for your help guys.