Deduplication and robocopy

Mario 240 Reputation points
2024-09-14T21:23:13.8566667+00:00

Hi guys. Unfortunately I was migrating an FS server and I ran a robocopy on its FS disk.

robocopy //server\x$ x: /e /copyall no more parameters...

I didn't use /XD "System Volume Information" which I now know is necessary...

What I didn't realize was that the original server had deduplication.

This made it not copy anything. And all the files on the original disk disappeared. (But the disk manager shows me that there is used space, and when I go to share //server\share I see all the content.) But when I explore the disk, although I see used space, I don't see the files or folders...

I need to solve this problem. Today I'm going to leave the original server still working. Then I need to leave it as it was before my robocopy.

It occurs.. to me and if I lower the deduplication service will I see the files again? The share dies and I will stop seeing the files?

What other option do I have, to back up with a backup? But since the deduplication is in the middle, I don't know...

I didn't do a snapshot at VWWARE level either..

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,957 questions
0 comments No comments
{count} votes

Accepted answer
  1. Karlie Weng 18,111 Reputation points Microsoft Vendor
    2024-09-18T07:26:41.74+00:00

    Hello,

    Check if the below workarounds help.

    Disable Data Deduplication Service:

    You can use the Disable-DedupVolume PowerShell cmdlet to disable further data deduplication activity on one or more volumes. This will not remove the existing deduplicated data, but it will stop the server from running further data deduplication jobs, and new data will not be deduplicated. However, this might not immediately make the files visible as the deduplication metadata remains intact. To undo data deduplication on a volume, you should use the Start-DedupJob cmdlet with the Unoptimization type parameter. After disabling data deduplication, you can still perform read-only deduplication cmdlet operations on the volume, but you won't be able to use job-related cmdlets or the Update-DedupStatus cmdlet for operations on the volume.

    Start a Deduplication Job:

    The Start-DedupJob cmdlet can be used to manually start a data deduplication job for one or more volumes. You can specify the type of job, such as Optimization, GarbageCollection, Scrubbing, or Unoptimization. This cmdlet allows you to control the deduplication process, including the amount of memory and CPU cores the job can use. For example, to start an unoptimization job on a volume, you would use a command like the following:

    Start-DedupJob -Type Unoptimization -Volume "D:"

    This command initiates an unoptimization job on the D: volume, which will revert the data back to its pre-deduplication state. Please note that this process may require a significant amount of storage space and time to complete.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mario 240 Reputation points
    2024-09-17T02:26:07.35+00:00

    Before I wrote my problem and they helped me... Anyone there?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.