Introduction: Watch Your Back-up!

Picture of Watch Your Back-up!

Quick question for anyone who uses a computer out there: How many of you backup your files as often as you should?
Now everyone who said they do . . . stop lying.

Second question: How many computers do you work on. I personally find myself bouncing between four: home, office, and two computers at a church I volunteer at. Now my solution for my mobility has been like many, portable hard drive, (or 'jump drive' I call it). Now this has worked great but at it basically becomes my primary drive, but as mobile as I obvioulsy am, do you think I have time to think about backing up my files? Well after physically loosing my first drive, my second drive dying, and loosing my senior project twice because of it I came up with a solution.

Well, just a few minutes and two Notepad text files solved my problems. Now yes, you can buy a fancy MS or other professionally designed program to do this, but why when you don't have to?

Step 1: File 1 - Backup

Write notepad file and copy as shown, make sure you change the C:\ to the location you want your files backed up at.

@echo off
echo -------------------
echo Removable Device Automatic Backup
echo -------------------
xcopy "*" "C:\-insert file path here-" /Y /E /R /D
echo Backup Complete!
Pause.

Save as'Backup.bat'

Step 2: File 2 - Write the Autorun

Write notepad file and copy as shown:

[autorun]
action=Backup
open=backup.bat
label=Backup
includeRuntimeComponents=True

Save as autorun.inf

Save both of these files on your own jump drive.

Step 3: The Result:

Picture of The Result:

Every time you plug your drive in you should see the following menu.

Just hit OK and your jump drive files are copied to your computer’s hard drive. The first time everything will be copied, thereafter old files modified or new one added will be what is copied.

It may be simple but if you can reduce backups to one keystroke every time you plug in your jump drive at home, it’s made my day.

Comments

petalee (author)2013-05-09

Great! Just what I need in case I lose one of my many USBs again :)

benny3521 (author)2009-11-02

Thanks man!  this is just what i need

cotton (author)2009-01-10

thx i needed this i mde aa program that steals the sam and system backup file and coppies then to the usb then opens saminside to crack the password lol i am selling it now thx =)

binnie (author)2007-01-24

this is a great idea ive got no idea about bat files except when i run my java apps i get a bat file, quickly copy and paste it to another folder and it provides a link to run that program and one qst. which bit is it backing up the usb or the folder that you specify

strods (author)binnie2007-01-25

it is coping the files from the usb, and backing them up onto the pc

Sidney Floyd (author)2007-01-03

very good idea

mikesty (author)2006-12-28

I recommend ViceVersa Pro for a commercial solution, but simple batch tricks like this are great. Recently I just got burned, been workin' last 36 hrs to get my windows install back online. More on that later..

HomerjaySimpson (author)2006-12-27

All good stuff (especially the autorun.inf hack) but one suggestion: Go get Robocopy (ROBust file COPY) and use it instead of Xcopy. Much better handling of syncronization, logging, includes, excludes, etc... It may take a bit of time to get the script right but it's worth it.

Find Robocopy in the (free) Server 2003 ResKit, here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

[Removed by author]

mustaphabarakat (author)2006-12-27

[Removed by author]

PetervG (author)2006-12-27

Your the liar, I back up all my things on CD's twice every month or so.

About This Instructable

5,169views

35favorites

License:

More by strods:Tin Can Mess Kit / Cook KitSurvival Skills Study Guide - The Trail of the GrizzlySurvival's Law of 3
Add instructable to: