OT: Any Robocopy users here?

  • Thread starter Thread starter No I'm Spartacus
  • Start date Start date
N

No I'm Spartacus

Hi,

I was just wondering if anyone here uses Robocopy to do their backups.
I have the XP version of Robocopy (XP010) that comes with the Server
2003 Resource Kit you can download from Microsoft, and I was wondering
if anyone could tell me if the /purge switch can be modified by say
the /minage or /maxage switches, so that you can tell Robocopy to
purge from the destination only if the files are a week old (for
example). Basically, I wanted to leave the files in the destination
for a week after they have been deleted from the source, just to
protect against an accidental deletion from the source.

I've had a bit of a play around with Robocopy, and when I use the
/purge switch, everything not in the source is purged from the
destination, regardless of age, and regardless of what I had used in
the /minage or /maxage switch. I did also read a post on Google groups
from a Microsoft MVP that as far as he knew, the /purge switch could
not be modified. I then read a second post that seemed to indicate
that maybe /minage would work. If anyone knows for certain, please let
me know.

The post that said it probably wasn't possible was here:
<http://groups.google.com/group/micr...robocopy++purge&rnum=1&hl=en#538004cf9a9dbfb8>

The post that said that /minage might work was here:
<http://groups.google.com/group/micr...robocopy++purge&rnum=6&hl=en#2af06aca96fda45d>
 
No said:
Hi,

I was just wondering if anyone here uses Robocopy to do their backups.

Yes. I think it's excellent. I use it to copy files daily (well, in
theory daily ;) ) from my hard drive to a Linux box running Samba.

My typical command line is:
robocopy.exe /purge /e /R:0 C:\dir1k:\dir1

Other than that I can't help you with your question. Sorry :(
 
Yes. I think it's excellent. I use it to copy files daily (well, in
theory daily ;) ) from my hard drive to a Linux box running Samba.

My typical command line is:
robocopy.exe /purge /e /R:0 C:\dir1k:\dir1

Other than that I can't help you with your question. Sorry :(

Hi Mark,

Yes, it is a handy tool. XXCOPY is nice too, but it has far more
switches than Robocopy, and when you just have a simple folder to
folder backup to do, Robocopy is a lot faster to work out the switches
for.
 
Back
Top