Questions tagged [shadow-copy]

Shadow copying enables assemblies that are used in an application domain to be updated without unloading the application domain. This is particularly useful for applications that must be available continuously, such as ASP.NET sites.

From MSDN

Shadow copying enables assemblies that are used in an application domain to be updated without unloading the application domain. This is particularly useful for applications that must be available continuously, such as ASP.NET sites.

The common language runtime locks an assembly file when the assembly is loaded, so the file cannot be updated until the assembly is unloaded. The only way to unload an assembly from an application domain is by unloading the application domain, so under normal circumstances, an assembly cannot be updated on disk until all the application domains that are using it have been unloaded.

When an application domain is configured to shadow copy files, assemblies from the application path are copied to another location and loaded from that location. The copy is locked, but the original assembly file is unlocked and can be updated.

89 questions
0
votes
1 answer

Shadow copy disabled detection in powershell

I am looking for a script in Powershell, which list information about VSS shadow copy on Windows Server 2016. I need to detect if shadow copy on specific volumes is Enabled or Disabled. In GUI (This PC > Right click on (C:) > Configure Shadow…
user17200221
0
votes
3 answers

Use two different versions of a .lib file in one C++ project?

I'm working on a Volume Shadow Copy program. I have just found out that I need to use a different set of .h files (vsbackup.h) and associated .lib files (vssapi.lib) to compile the project for Windows XP (in comparison to Vista and 7). This is due…
Felix Dombek
  • 13,664
  • 17
  • 79
  • 131
0
votes
1 answer

Getting a runtime error "procedure entry not found in vssapi.dll" when trying to run Volume Shadow Copy

The code compiles fine and I have included the vssapi.lib in the additional dependencies for the linker. I get this error saying "CreatevssbackupcomponentsInternal procedure entry point could not be found in vssapi.dll" And I get this error only…
0
votes
0 answers

Can you backup cached memory of an open file using Shadow Copy (VSS)?

If I wanted to create a backup of a MS Word document that was open, I would need to close the file before any backup was possible. With Shadow Copy, I can backup an open file, but would the unsaved changes be backed up with the snapshot of the Word…
0
votes
1 answer

Unable to take differential backup using SQL Server VSS Writer

I have been trying to develop a tool to do backup/restore of MS SQL Server using SQL Server VSS Writer. I can not get the differntial backup working! I am just curious as to whether anyone ever made differential backup using VSS. Here is what I have…
aby paul
  • 21
  • 3
0
votes
0 answers

System Drives to Disk Cloning

I am trying to find a way to clone an active Windows system disk to another disk without forcing the user to take the disk offline, like Clonezilla requires. I am thinking of Microsoft Volume Shadow Copy Service (VSS) for at least part of the…
Sarah Weinberger
  • 15,041
  • 25
  • 83
  • 130
0
votes
1 answer

Shadow copy to clone system volume on Windows XP

I am looking for a program that uses shadow copy to copy the contents of a Windows XP system volume that is running. I.e. I want to clone the system volume with the following snags: (1) I want to be able to select which files to copy (i.e. not the…
ARF
  • 7,420
  • 8
  • 45
  • 72
0
votes
1 answer

Trouble with InStr - Shadow-Copy Script with logging and error check

I am trying to develop a VBS script which creates backups with shadowcopy.exe and copies them with rsync to a specific destination. There are log files which will be created for the rsync copy procedure by the same script and getting checked for…
0
votes
0 answers

Powershell and previous folder versions

I have a problem in powershell when iam trying to copy Previous Versions from a folder, Frankly, I do not really know how to do. Scenario: In Device D, I have enabled shadow copies, in this device, I have multiple folders. FolderA FolderB FolderC If…
Fardin Barashi
  • 54
  • 3
  • 11
0
votes
1 answer

How can TortoiseSVN move files to development server during commit to repository?s

I'm very new to Tortoise SVN and have previously used Microsoft Visual SourceSafe. With VSS I can "Shadow" a file when I check it into source control. This means that when the updated file goes to the repository it also physically is moved to the…
user565556
  • 107
  • 1
  • 8
0
votes
0 answers

Shadow copy of .ost file

I use .ost file and try to create shadow copy for 2…
Kirill
  • 429
  • 1
  • 6
  • 18
0
votes
1 answer

Compute engine snapshots with VSS does not work

I have a Compute engine that runs windows 2016. I want to snapshot this boot-disk for backup purposes. As far as I can see VSS (shadow copy) is prefered for data consistency. However, when I tick VSS when creating the snapshot everything seems to…
Rickard Liljeberg
  • 966
  • 1
  • 12
  • 39
0
votes
1 answer

App Resources breaking in unit tests, due to uncontrollable shadow copying from ReSharper

Background: On an application I am working on, I am writing tests using a mixture of Visual Studio 2015, SpecFlow, and ReSharper 2016.3 (I'll abbreviate this as R#, because I'm lazy.) The application I am working on sends HTML-formatted emails,…
Andrew Gray
  • 3,756
  • 3
  • 39
  • 75
0
votes
1 answer

Is there an open source alternative to Windows Volume Shadow Copy

Is there an open source alternative to Windows Volume Shadow Copy? I need to keep previous versions of files in a directory automatically without having to use a check in / check out process or a traditional version control system. Additionally, the…
user78706
0
votes
2 answers

vssadmin and powershell object to array

I have been thinking to pull some data of the on a regular basis from our servers. I have done some researches and to find out which server is running VSS on what disk I found it challenging - or just hasn't found the right command. The closes I…
TryHarder
  • 750
  • 1
  • 9
  • 22