Is there a tool to copy a folder using shadow copy?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle
--
Chapters
00:00 Is There A Tool To Copy A Folder Using Shadow Copy?
00:34 Accepted Answer Score 10
01:28 Answer 2 Score 9
01:37 Answer 3 Score 1
01:52 Thank you
--
Full question
https://superuser.com/questions/394296/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #filemanagement #shadowcopy
#avk47
ACCEPTED ANSWER
Score 10
What I'd like to achieve are consistent copies of folders that might be currently in use.
Please understand that applications must actually be compatible with VSS. While you can create the shadow copy, it is possible the applications with in-use files may not respond to the event and do what is required to make sure you get a consistent copy.
What you almost certainly want to do is to use the Diskshadow command to create a shadow copy, and then temporarily mount it as a volume. Once you do that you can use robocopy/teracopy or favorite tool to make a copy. Here is the set of files that I use to make a backup using VSS of one of my systems. There is another example that is part of the MS docs I linked to.
shadowbackup.bat
@echo off
o:
cd \shadow
del o:\shadow\*.cab
diskshadow -s diskshadow_script.txt
robocopy /mir S:\data\ \\srv-backup\backupshare\srv01\
diskshadow_script.txt
delete shadows exposed s:
set context persistent nowriters
set verbose on
add volume o: alias Backup
create
expose %Backup% S:
ANSWER 2
Score 9
Try Hobocopy from Wangdera Tools and Utilities.
ANSWER 3
Score 1
For the sake of completeness as I stumbled upon this. There is also a WBAdmin tool that can backup folders on Windows 7 using VSS. See TechNet for details. It works out of the box and no 3rd party tool needs to be installed.