Program that copies files to another drive

I'm looking for a program that will copy the contents of a folder when they change to my secondary drive. I tried some software backup solutions but they all use proprietary formats.

rsync

5 Likes

thanks - exactly what I was looking for (even though I did not create this thread^^)

1 Like

Yep rsync is tried true and tested.

A scheduled xcopy script with the /d conditional will do that fine. Just create a .bat that's like

xcopy `92.168.1.150\NetworkLocation "C:Users\Desktop\Downloads\Waifu" /d /s

I prefers Robocopy with the /mir mirror flag to xcopy but the principle is the same.

1 Like

Ok so I looked up xcopy and tried this:
xcopy "C:\Users\Blaž\Desktop\Test" "E:\" /d /s
in cmd and it works. However it doesn't work in a .bat file. I tried running .bat from cmd and it says "File not found - Test". Any advice?

yep robocopy is they way to go if you are on windows and want something built in

1 Like

Try this

If you have files in use

1 Like

Here is copy of my backup.CMD file that dumps my Users folder to a USB stick.

robocopy C:\Users\USERNAME\ D:\Users_Backup\USERNAME /MIR /XA:SH /W:0 /R:1 /REG /XJ > C:\Users\USERNAME\externalbackup.log

I usually manually run this at the start of the day; In the past I used to insert a date into the destination, I can't find the syntax I used now but the above is great to completely mirror the contents of a folder.

2 Likes

Thank you for your help. At first robocopy threw out an error saying it cant find the directory. It turns out that xcopy and robocopy may support only 8-bit ascii characters for directories.

robocopy?