Ajax_Undone
16th August 2008, 06:25
As you all know by now I blew my computer to crap and lost a lot of information I been looking into automated backup solutions but all cost way to much and are all based on a time frame rather then a per file change situation...
So Rather then breaking the bank on some half assed software that wont do what I want I have decided to go Dos..
There is a little known utility called robocopy.exe it works much like xcopy.exe and copy.exe but with more features...
Here is what I have come up with for a script to save as a bat or cmd file either way it works...
This not only backs up all in the specified directory but it also monitors it for change. I am looking into hiding it as a background process rather then a front end cli... But here is the base script hope it helps....
robocopy "your source directory" "your backup directory" /MIR /E /PURGE /V /MON:1 /R:0
Anyhow anybody with ideas to improve this script or better backup utilities are welcome...
Thanx
:):thanks:~Ajax
So Rather then breaking the bank on some half assed software that wont do what I want I have decided to go Dos..
There is a little known utility called robocopy.exe it works much like xcopy.exe and copy.exe but with more features...
Here is what I have come up with for a script to save as a bat or cmd file either way it works...
This not only backs up all in the specified directory but it also monitors it for change. I am looking into hiding it as a background process rather then a front end cli... But here is the base script hope it helps....
robocopy "your source directory" "your backup directory" /MIR /E /PURGE /V /MON:1 /R:0
Anyhow anybody with ideas to improve this script or better backup utilities are welcome...
Thanx
:):thanks:~Ajax