Jump to content

Recommended Posts

Posted

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 file

2) 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.


Posted

I'd start using batch files to accomplish all that...

like this:

ROBOCOPY "%UserProfile%\My Documents" "%SystemDrive%\Back-Up" "*.*" /E /COPY

Note 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.

Posted

ok so for my backup script i would want to do this?

ROBOCOPY "%UserProfile%\My Documents" "e:\Back-Up\doc" "*.*" /E /COPY
ROBOCOPY "%UserProfile%\Application Data" "e:\Back-Up\app" "*.*" /E /COPY

and 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 /COPY
ROBOCOPY "%BUDRIVE%\Back-Up\app" "%UserProfile%\Application Data" "*.*" /E /COPY

Posted
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 :D In that case: you can overwrite it, but it's not necessary ;)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...