I've got a RoboCopy backup script that mirrors my portable external hard drive excluding some folders that don't need to be backed up.
Here's the code:
I know the exclusion of $RECYCLE.BIN, RECYCLER etc. is probably not necessary now that I have XA:SH in there, but I've left it for now just in case (could someone confirm that excluding them isn't necessary when I use XA:SH?).
Anyway, once the mirror backup has been complete the destination folder disappears, I have to show both hidden folders and system files to find it again.
Any ideas why?
Thanks,
Craig.
Here's the code:
Code:
robocopy /MIR G:\ D:\PortableExternalBackup\Files\ /R:50 /W:10 /XA:SH /XD "$RECYCLE.BIN" "RECYCLER" "System Volume Information" "Cisco Apps" "Software"
I know the exclusion of $RECYCLE.BIN, RECYCLER etc. is probably not necessary now that I have XA:SH in there, but I've left it for now just in case (could someone confirm that excluding them isn't necessary when I use XA:SH?).
Anyway, once the mirror backup has been complete the destination folder disappears, I have to show both hidden folders and system files to find it again.
Any ideas why?
Thanks,
Craig.