New
#1
Backing up files using Robocopy
The default copy switch of robocopy is /COPYAT if you don't specify any copy options. This is the code I'm using:
robocopy C:\ D:\Backup RAMDisk.img /copyall /R:5 /W:15 /V /log:\Users\Kevin\Desktop\robocopy_log.txt
The RAMDisk.img file that I'm copying is a compressed image file. Now with that syntax /COPYAT will be used which means that it will copy all attributes of that file. Whenever I run this, I successfully copy the file but it doesn't retain the compression attribute of that file.
What could be wrong with this? Both source and destination are NTFS-formatted.