USB auto synch / backup software

Midnite

Member
Reaction score
0
Anyone know of a good program that can be obtained online that will auto backup a folder to a USB device automatically when you insert the usb device ? or even one that will synch the folder to the usb device ? I see alot of programs out there for synching but nothing STRICTLY automatic on USB drive insertion ???

Please advise if anyone has or is aware of such a program

Thanks;
Midnite
:)
 
dont hold me to this but i belive their is a program that was intended for hacking purposes called usb switch blade(or hacksaw) that would basically when the prepped flash drive was inserted it would copy all the files from where it was told it was intended i think to pull security oriented files off the pc for later analysis but it was co developed by hak5 so i belive their was a legal use for it.

look up usbhacks.org it there i belive

(note:if you dont own a u3 flash drive you want to do a omish install)
 
It's odd that there are tons of programs that will backup your USB drive to your hard drive on detect of insertion, but I really don't see any that do it going the other way.

Why not go to the top 5 or 10 websites of these programs and send the authors an email mentioning this and see if their software can or will do this in the future.

The trigger is the detect on USB insertion, after that the software authors can do anything. So why not reverse the backup procedure and output TO the USB instead of from ?.
 
Folder backup to USB ???

I agree completely ??? Why is there not such a program that can do this ? I often update my repair tools folder and it would be nice to insert my usb and get an automatic copy of my updated tools ...

Midnite
:(
 
You just need to create an autorun.inf file that calls a batch script. Then you can copy anything you want automatically with a few lines of code.
 
as jory said all you need is a batch script but if you want more choices download and install synctoy setup a pair the way you want it then make a notepad file like this.
Code:
[autorun]  
open="c:\programfiles\synctoy 2.0\synctoycmd -r put your pair name here
icon="c:\program files\synctoy 2.0\synctoy.exe

save the notepad file as autorun.inf and move it to the usb you want to use for the backup.


ABE
 
You just need to create an autorun.inf file that calls a batch script. Then you can copy anything you want automatically with a few lines of code.

But the autorun has to already be there, it wont just copy any usb you stick in unless the autorun is present.
 
hmm

we need to be carefull in writing a batch script of this nature because it is esentially malicious code in respect that its dumping data from the pc to the flash drive, iknow the intention is good but explain that to a av prog just a thought.

how would we stop windows filling up every flash drive you insert.

also windows keeps a record of devices inserted int he registry so maybe we could use that to identify drives that are to be used as a auto backup,

we really need a detailed descriptionof what the user wants this to do before any of us continue.
 
USB backup

What I am trying to do is simple ... I keep an updated repair TECH folder on my system that is about 5gb in size and what I want to do is every time the files change I want them to backup to the flash drive after I insert it ... simple I update the files in the folder ( new versions, AV updates ETC ETC ) then I insert the usb drive in the computer and it synchs the new files in the folder to the drive ... there has to be some retail program that will allow for this to be done.

Midnite
 
if you don't mind having to click once then install synctoy 2 its free from M$ and very easy to use, it will do all you ask for it to do, once you've set up a pair create an autorun.inf with the code i posted above (NOTE: will not work on win7 since usb autorun.inf has been discontinued).

you will then get the autoplay everytime you insert the usb key asking you if you want to backup using your synctoy pair. one click and its done.

if however you want a no click solution you can achive this 2 ways.

easiest is to set a task schedule to run a batch file when Microsoft-Windows-DriverFrameworks-UserMode/Operationa is started this will call the batch which will have the following
Code:
c:\programfiles\synctoy 2.0\synctoycmd -r put your pair name here

or te create a .exe that has this code. which you will run at startup.

Code:
@echo off
set a=put your 10 digit harddrive serial number here
:wmic
wmic volume get serialnumber > c:\1.txt
timeout /t 1 > nul
wmic volume get serialnumber > c:\2.txt

:fc
fc /u c:\1.txt c:\2.txt | find "no differences encountered" > nul
if %errorlevel% equ 0 (goto wmic) else goto fc1

:fc1
fc /u c:\1.txt c:\2.txt | find "%a%" > nul
if %errorlevel% equ 0 (goto wm1) else goto wmic

:wm1
wmic volume get serialnumber | find "%a%" > nul
if %errorlevel% equ 0 (goto backup1) else goto wmic

:Backup1
wmic volume get caption, serialnumber | find "D:\      %a%" > nul
if %errorlevel% equ 0 set B=d 

wmic volume get caption, serialnumber | find "E:\      %a%" > Nul
if %errorlevel% equ 0 set B=e

wmic volume get caption, serialnumber | find "F:\      %a%" > Nul
if %errorlevel% equ 0 set B=f

wmic volume get caption, serialnumber | find "G:\      %a%" > Nul
if %errorlevel% equ 0 set B=g

wmic volume get caption, serialnumber | find "H:\      %a%" > Nul
if %errorlevel% equ 0 set B=h

wmic volume get caption, serialnumber | find "I:\      %a%" > Nul
if %errorlevel% equ 0 set B=i

wmic volume get caption, serialnumber | find "J:\      %a%" > Nul
if %errorlevel% equ 0 set B=j

wmic volume get caption, serialnumber | find "K:\      %a%" > Nul
if %errorlevel% equ 0 set B=k

wmic volume get caption, serialnumber | find "L:\      %a%" > Nul
if %errorlevel% equ 0 set B=l

wmic volume get caption, serialnumber | find "M:\      %a%" > Nul
if %errorlevel% equ 0 set B=m

wmic volume get caption, serialnumber | find "N:\      %a%" > Nul
if %errorlevel% equ 0 set B=n

wmic volume get caption, serialnumber | find "O:\      %a%" > Nul
if %errorlevel% equ 0 set B=O

wmic volume get caption, serialnumber | find "P:\      %a%" > Nul
if %errorlevel% equ 0 set B=P

wmic volume get caption, serialnumber | find "Q:\      %a%" > Nul
if %errorlevel% equ 0 set B=Q

wmic volume get caption, serialnumber | find "R:\      %a%" > Nul
if %errorlevel% equ 0 set B=R

wmic volume get caption, serialnumber | find "S:\      %a%" > Nul
if %errorlevel% equ 0 set B=S

wmic volume get caption, serialnumber | find "T:\      %a%" > Nul
if %errorlevel% equ 0 set B=T

wmic volume get caption, serialnumber | find "U:\      %a%" > Nul
if %errorlevel% equ 0 set B=U

wmic volume get caption, serialnumber | find "V:\      %a%" > Nul
if %errorlevel% equ 0 set B=V

wmic volume get caption, serialnumber | find "W:\      %a%" > Nul
if %errorlevel% equ 0 set B=W

wmic volume get caption, serialnumber | find "X:\      %a%" > Nul
if %errorlevel% equ 0 set B=X

wmic volume get caption, serialnumber | find "Y:\      %a%" > Nul
if %errorlevel% equ 0 set B=Y

wmic volume get caption, serialnumber | find "Z:\      %a%" > Nul
if %errorlevel% equ 0 set B=Z


xcopy %userprofile%\desktop\* /e /f /I %B%:\backup

pause
goto wmic

to get the serial number for your flash drive or external hd in cmd type:

wmic volume get serialnumber, caption
 
Last edited:
I like Abe's solution - elegant and simple. My only issue there is I find Snyctoy somewhat ponderous and a little squirly (the famous MS "unknown error").

I keep about 15 gig on my key and update frequently. I find fastcopy (Sync mode) just a couple of clicks and the fastest thing I've found. Just a thought on a non automated process.
 
USBFlashCopy

Hey Midnite,

I just came across this useful tool that seems to fit what you are looking for:

http://www.usbflashcopy.com

The free version does everything the paid one can do but it shows the progress bar. The paid version does it all sliently that's the only difference. :p
 
Back
Top