I use my USB drive for everything. It runs Portable Firefox, Portable Thunderbird and also holds most of my files. While it’s great having these programs run no matter where I am, frequently backing up the data is a pain. I wanted an automatic solution. Unable to find a good solution on the net, I created one for myself.
Step 1: Create the folder you want to backup to (Mines c:\removablebackup)
Step 2: Create the backup batch file for your USB key. You can do this by inserting the following in a textfile and saving it as backup.bat. An example is provided below:
echo Removable Device Automatic Backup
echo No Rights Reserved, do whatever you want with this.
xcopy "*" "c:\removablebackup\" /Y /E /R
echo Backup Complete!
Make sure you change the section in bold to reflect your individual backup location.
Step 3: Place the following in a text document, and save it directly to your removable drive as autorun.inf:
Step 4: Your done! Now whenever you insert your USB key you should see this nifty backup option: