Swimming_Bird Posted January 30, 2005 Posted January 30, 2005 I use the backup program built into xp, i know its prolly not the best but it gets the job done. I use it to back up things before my format such as My documents, applicaiton data, etc. I always back it up onto another local drive and restore after install. I was wondering:1) how i can find the drive that containst the file2) how to silently restore the files.If anyone knows of a better way to backup and restore such files i would also be open to this.
Bâshrat the Sneaky Posted January 30, 2005 Posted January 30, 2005 I'd start using batch files to accomplish all that...like this:ROBOCOPY "%UserProfile%\My Documents" "%SystemDrive%\Back-Up" "*.*" /E /COPYNote that you have to download ROBOCOPY separately and you have to place it in %SystemRoot%\system32. Google for it and you'll find it.Of course you can also use COPY and/or XCOPY, but ROBOCOPY is alot better AND easier.
Swimming_Bird Posted January 30, 2005 Author Posted January 30, 2005 ok so for my backup script i would want to do this?ROBOCOPY "%UserProfile%\My Documents" "e:\Back-Up\doc" "*.*" /E /COPYROBOCOPY "%UserProfile%\Application Data" "e:\Back-Up\app" "*.*" /E /COPYand to restore i would do FOR %%d IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%d:\back-up SET BUDRIVE=%%d:ROBOCOPY "%BUDRIVE%\Back-Up\doc" "%UserProfile%\My Documents" "*.*" /E /COPYROBOCOPY "%BUDRIVE%\Back-Up\app" "%UserProfile%\Application Data" "*.*" /E /COPY
Swimming_Bird Posted February 2, 2005 Author Posted February 2, 2005 (edited) erm, i was able to find the commands for robocopy, but not the actual exe.Edit: Look to next post Edited February 3, 2005 by Swimming_Bird
Swimming_Bird Posted February 3, 2005 Author Posted February 3, 2005 i found a separate robocopy online should i overwrite the one i have with this new one?
Bâshrat the Sneaky Posted February 4, 2005 Posted February 4, 2005 i found a separate robocopy online should i overwrite the one i have with this new one?Err... You can't have one already... Unless you're using my DriverPacks In that case: you can overwrite it, but it's not necessary
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now