Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Moving Shadow Copy files to new drive in 2003 Server

Posted on 2006-07-19
Medium Priority
Last Modified: 2013-11-15
I have enabled shadow copies on one of the drive on our windows 2003 Server that keeps our data. We are planning to purchase a SAN storage device and want to move the files to the SAN. The same 2003 server will be connected to the new SAN. I am assuming that I can enable shadow copy on the SAN because it will be like an external hard drive. right?  More importantly, if I were to copy the files to the SAN, would I loose all the shadow copy information? Also,  I am thinking of replicating the files from the SAN to another server, would the shadow copies be also replicated.

Question by:netcomp
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 96

Accepted Solution

Lee W, MVP earned 1200 total points
ID: 17142736
SAN space is seen as local hard disk space so Shadow Copies should work on a SAN.

You cannot move Volume Shadow Copies from one drive to another.  You would need to DISABLE the service, which clears out the existing shadow copies, then change the shadow copy storage drive and reenable them.

Replicating the copies would be dependant upon exactly how you replicate.  If you put the copies on another drive letter (as I would recommend) and do not replicate that drive, then the copies would not be replicated.


Author Comment

ID: 17143571
What if I am replicating to the folder that has shadow copies enabled. Would it creat shadow copies of the files that are being replicated?

How about when backing up? If I need to restore from backup to the same server? I heard that I need to restoer sytem state also if I am restoring from backup and want to have the shadow copies information?

Leew, I know this is abou Shadow copies , but if we get a SAN and we get a SAN switch, can two servers access the same folder at the same time?

Thank you
LVL 96

Expert Comment

by:Lee W, MVP
ID: 17143636
As I understand the technology, when the file is first placed there, no shadow copy is created (it's the first and so far only version).  As soon as an edit occurs to the file and data changes, thats when the copy is created.

So, if you replicate TO a drive with Shadow copy enabled, the initial copy/replication will NOT create copies.  Subsequent "replications" if your replication technology does "all or nothing" type of replication, then I'm not sure how it will behave.  The technology SHOULD look for changes, essentially looking at a checksum which in theory only changes when the file changes, so that SHOULD be ok.

I've never be in a position to test this backup theory.  In practice you should have various backups and should also realize that shadow copies are a temporary thing and they WILL be overwritten over time which you don't necessarily have any specific control over.  Shadow copies are great, but I don't view them as a primary method of backup and though they are kept in the system volume folder, I don't know if a system state backup would back them up.  I would suspect not and frankly, I wouldn't want to do a system state restore unless the server crashed.  And since your data should be on a seperate disk from the OS, if the OS disk crashes, then the data is fine and vice versa.

In most (if not all) circumstances, you CANNOT access a SAN volume from two servers at the same time.  SANs are often clustered and they will have connections to two servers that can use the same volumes, but only one at a time has access to a given volume. If both could write at the same time, you could potentially corrupt (seriously) your data as there is no native locking mechanism to protect you from access or even writing to the same space at the same time.

LVL 18

Assisted Solution

carl_legere earned 800 total points
ID: 17157802
Shadow copies are not made based on realtime changes.  They are created according to a schedule, look in scheduled tasks you will see a call to: C:\WINDOWS\system32\vssadmin.exe
The defaults are 7am and midnight or somesuch.  The vssadmin creates a new version by comparing a cache of changes and essentially writes the changes out to a file.

I agree with Leew generally with this exception.

My site with 14 geogrpahically diverse locations all using DFS and shadow copies are configured in such a way that one of the DFS targets has 1.0 terrabyte or so free.  shadow copy service is told to use all the space it wants, leaving 5% free or so.  When you want to restore or view shadow copies you have a choice of going to your local server and view the snapshots it has OR go via the WAN to the 'backup server' who has much free space.  It will have more snapshots, an thus more flexibility for user self restores.  

The backup server also uses tradional backup technologies to multiply the redundancy.  Indeed DO NOT trust shadow copy service.

Sorry I can't comment on SAN to two servers feasibility.

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question