Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow creation of persistent shadow copies #13

Open
candera opened this issue Sep 19, 2011 · 1 comment
Open

Allow creation of persistent shadow copies #13

candera opened this issue Sep 19, 2011 · 1 comment

Comments

@candera
Copy link
Owner

candera commented Sep 19, 2011

Background

A user requests on this thread that ShadowSpawn have a way to create persistent shadow copies.

Acceptance Criteria

  • ShadowSpawn allows you to mount a shadow copy on a drive letter that will remain available even after shadowspawn exists.
  • ShadowSpawn provides a way to clean up drive letters so mounted.
@candera
Copy link
Owner Author

candera commented Sep 19, 2011

I'm not inclined to do this one at this point. It would require specifying what are called persistent shadow copies. Persistent shadow copies are only possible against NTFS, and don't work on Windows XP, so that would break our cross-OS support story, or at least require us to document the different behaviors.

If I were going to do this, I would probably take the approach of splitting ShadowSpawn into a library for working with shadow copies and two executables: one that would be what shadowspawn is now, and one to do what you want. I tend to prefer tools that just do one thing.

There are two ways to achieve this with existing tools:

  1. Launch cmd.exe instead of robocopy, and use the /c switch to specify a batch file. The batch file can have as many commands as you want in it.
  2. Use vshadow.exe - I'm pretty sure it does this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant