What to Do After a Power Outage During Robocopy?

0
30
Asked By DataDynamo89 On

I was in the process of copying a large amount of data to a new data structure on the same drive using Robocopy because of some required changes in the data structure and access rights. I used the command: `robocopy "D:" "D:" /E /MOVE`. Initially, everything went smoothly — it copied some folders, moved the files, and didn't copy the access rights, which was perfect. However, during the transfer of a large folder (around 250 GB), we experienced a power outage. Now I see that the new location has about 213 GB transferred while the old one still has 37 GB left. My question is, can I just rerun the same command? From what I gather, using `/MOVE` in Robocopy means it won't delete the original files if the new ones weren't successfully created. Is there anything else I should be cautious about? I did make a checkpoint of the VM beforehand, but I really want to avoid starting the entire 1.5 TB transfer from scratch.

5 Answers

Answered By TechSavvyBeagle On

Instead of moving files, you might want to consider copying them and then deleting the source after. This way, if anything fails mid-transfer (like with the power outage), your original files are still safe until you confirm everything transferred successfully.

Answered By BackupBrigade On

Make sure the data is still intact. If you don’t have any backups and the original files were deleted, you could end up missing data. If your VM snapshot is a full copy, you might need to start over to ensure nothing's missing. Going forward, it's best to copy first and validate before deleting anything.

Answered By CautiousCat33 On

It's a good idea to do some research on Robocopy before proceeding. It's super powerful but can be destructive if you’re not careful, especially since you might lose data without a complete copy. You should also ensure your essential files are backed up, just in case.

Answered By ResourceRaccoon On

You should check out this handy resource: https://ss64.com/nt/robocopy.html. For significant moves, I recommend using the `/MIR` flag for copying first and then delete later, rather than relying on the `/MOVE` flag for large data.

Answered By LearningLlama On

You might face some challenges here. Remember, moving files across a disk works differently than copying; it’s safer to copy first, especially for large transfers. If an issue occurs, your original files remain until you're sure everything's right.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.