Script to Backup Drive?


Recommended Posts

I hope this is in the right area...anyway here's my question:

I need to set up a shortcut for someone at my work, so they can backup our data...what I want is for our Data Drive (D:) to be copied to our external hard drive (G:)...I can't really schedule it because she's quite forgetful, so what I'd like to have is a shortcut on her desktop that she can run to do the backup...

I'm sure I could get a program to do this, but it seems like overkill for such an easy operation....(copy all of drive D: (30gb) to drive G: (40gb) )

Would a script be a good way to do this? (and if so, can you let me know what I need to put in the script file) Or do any of you have any suggestions? Thanks for any help you can give me...

Link to comment
Share on other sites

you can create a batch file

xcopy d:\*.* g:\ /V /Y

(from the cmd prompt do a 'xcopy /?' to get a list of switches that can be used.)

Side note. If she is forgetful, how will she remember to double-click on the shortcut to run the backup? You are better off scheduling it.

Link to comment
Share on other sites

Side note.  If she is forgetful, how will she remember to double-click on the shortcut to run the backup?  You are better off scheduling it.

True :)

The External Drive she's backing up to won't be there most of the time (she'll back up and either take it with her, or store it somewhere safe)...so I felt like a shortcut right in front of her would work better, in order to remind her....

But you may be right..only time will tell I suppose...I wouldn't mind scheduling it if it gave her a visual on-screen reminder when the External backup drive wasn't detected (otherwise she'll forget and the thing just won't run)...

Thanks... I will try the Xcopy command for now and see how it goes :)

Edited by bigred
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.