Robocopy is awesome!
Does it do incremental backups?
jimlad..
robocopy /e "c:\source" "d:\destination"
that's exactly what you want mate
the '/e' makes it copy all files and folders from the source to the destination, if files exist at the destination that don't at the source, it just leaves them there and doesn't care about them..
i reckon you've copied or upgrade xp docuemnts to vista
check the path..
c:\users\jimmy\documents
see if there's a 'my music' (xp naming scheme) folder in there, also enable hidden files when doing it, looks like you'll have to take ownership of that folder to open it.
"am i right in thinking each time i run it, it will update and not overwrite?"
yes, it'll only copy any new files you add to the folder.. (so each run after the first will be super fast)
and yes you can add more lines.. eg..
title Bledd's backups
color 9f
echo About to start backing up...
pause
color cf
robocopy /e c:\users\bledd\music d:\backup\music
robocopy /e c:\users\bledd\videos d:\backup\videos
color a0
title Backup Complete
pause
"
if you can't be bothered to fix the My Music problem, you could just tell robocopy to skip it..
robocopy /e c:\source d:\dest /XD "c:\source\my music"
have a play with the color thing..
color /? will tell you what options there are..
@echo off
title James' backups
robocopy "C:\Documents and Settings\James\My Documents\My Pictures" "Z:\My Pictures" /E
robocopy "C:\Documents and Settings\James\My Documents\My Music" "Z:\My Music" /E
robocopy "C:\Documents and Settings\James\My Documents\My Videos" "Z:\My Videos" /E
robocopy "C:\Documents and Settings\James\My Documents\My Downloads" "Z:\My Downloads" /E
robocopy "C:\Documents and Settings\James\My Documents\Word" "Z:\My Documents\Word" /E
title Backup Complete
pause
Hi,
I thought i would give ROBOCOPY a go and overall it's pretty good, however using the example in the thead mine still seems to back-up previously backed-up files?
here's my BAT file:
Code:@echo off title James' backups robocopy "C:\Documents and Settings\James\My Documents\My Pictures" "Z:\My Pictures" /E robocopy "C:\Documents and Settings\James\My Documents\My Music" "Z:\My Music" /E robocopy "C:\Documents and Settings\James\My Documents\My Videos" "Z:\My Videos" /E robocopy "C:\Documents and Settings\James\My Documents\My Downloads" "Z:\My Downloads" /E robocopy "C:\Documents and Settings\James\My Documents\Word" "Z:\My Documents\Word" /E title Backup Complete pause
Any ideas why it is copying files over and over again?
Thanks
James
*EXTRA File 2.7 m Bold_Silver_by_ABHI24.zip
*EXTRA File 45685 Bookmarks 2008-06-29.json
*EXTRA File 75313 bookmarks.html
*EXTRA File 69632 braille.exe
*EXTRA File 6380 braille.ttf
*EXTRA File 250749 british_english_dictionary-1.19-
fx+zm+tb.xpi
*EXTRA File 4.4 m burnaware_free.exe
*EXTRA File 130820 bw_full_friendship_tape.zip
*EXTRA File 142.2 m cbp2003.zip
*EXTRA File 214351 ccrch1-0.zip
*EXTRA File 2.7 m ccsetup212.exe
*EXTRA File 486152 ChromeSetup.exe
*EXTRA File 23.5 m CJXP1100EN.exe
*EXTRA File 59376 ClipArt.mpf
*EXTRA File 224.5 m CoD4MWDemoSetup.exe_SyncToyBacku
p_20080212143149347
*EXTRA File 10974 cpuz.htm
*EXTRA File 524172 cpuz_144.zip
*EXTRA File 571781 cpuz_146.zip
*EXTRA File 527510 cpu-z-143.zip
*EXTRA File 1.3 m customicons.exe
*EXTRA File 2.9 m CyberLink.v3430_DVD071016-04.exe
*EXTRA File 3.4 m death-magnetic-buddy-wallpapers.
zip
*EXTRA File 5.0 m death-magnetic-wallpapers-buddy-
new.zip
*EXTRA File 72.5 m debonus.zip
*EXTRA File 91 desktop.ini
*EXTRA File 439144 dfsetup101.exe
*EXTRA File 12.2 m dia-setup-0.96.1-7.exe
*EXTRA File 104.5 m DiscWizardSetup.en.exe
*EXTRA File 50.9 m DivXAuthor.exe
*EXTRA File 19.7 m DivXInstaller.exe
*EXTRA File 188425 drdflash.exe
*EXTRA File 1.2 m DRW-1814BLT_FW114_1129.zip
*EXTRA File 3218 eanbwrp36tt.zip
*EXTRA File 654632 Emily_Scott_by_slentking.rar
*EXTRA File 39957 EvID4226Patch223d-en.zip
*EXTRA File 11061 ExeedRainlendar1-0.zip
*EXTRA File 2.0 m F_I_P__for_IconTweaker_by_shamka
.zip
*EXTRA File 2.8 m FileZilla_3.0.4.1_win32-setup.ex
e
*EXTRA File 2.8 m FileZilla_3.0.5.2_win32-setup.ex
e
*EXTRA File 2.9 m FileZilla_3.0.6_win32-setup.exe
*EXTRA File 2.9 m FileZilla_3.0.7.1_win32-setup.ex
e
*EXTRA File 3.4 m FileZilla_3.1.3.1_win32-setup.ex
e
*EXTRA File 3.5 m FileZilla_3.1.4.1_win32-setup.ex
e
*EXTRA File 5.5 m Firefox Setup 2.0.0.11.exe
*EXTRA File 5.5 m Firefox Setup 2.0.0.12.exe
*EXTRA File 6.9 m Firefox Setup 3.0.exe
*EXTRA File 2.4 m FLVPlayerSetup.exe
*EXTRA File 1.6 m footprint-setup.exe
*EXTRA File 24569 Foton_Rainlendar.zip
*EXTRA File 1.6 m FoxitEditor20_setup.exe
*EXTRA File 1.5 m Gemma_Atkinson_Greyscalish_by_ao
rnish.zip
*EXTRA File 2.6 m Gemma_Atkinson_widescreen_by_haa
rtje.rar
*EXTRA File 16.0 m gimp-2.4.4-i686-setup.exe
*EXTRA File 21.0 m gimp-help-2-2.4.0-eng-setup.exe
*EXTRA File 387536 GPU-Z.0.1.5.exe
*EXTRA File 405456 GPU-Z.0.2.5.exe
*EXTRA File 2352 Home.ics
*EXTRA File 11919 honey_i_stole_your_.zip
*EXTRA File 322670 HWMonitor_107.zip
*EXTRA File 120945 Imagine_v2_for_Rainlendar.zip
*EXTRA File 1.6 m installspeedfan434.exe
*EXTRA File 568832 ipcalc321.exe
*EXTRA File 905509 ipscan-win32-3.0-beta1.exe
*EXTRA File 2.0 m i-sound.zip
*EXTRA File 51.8 m iTunes75Setup.exe
*EXTRA File 64.0 m iTunes801Setup.exe
*EXTRA File 2.1 m lightning-0.7-tb-win.xpi
*EXTRA File 14.5 m lightScribeSimpleLabeler-1.4.128
.1.exe
*EXTRA File 8.9 m LightScribeTemplateLabeler_1.10.
23.1.exe
*EXTRA File 4.6 m LimeWireWin.exe
*EXTRA File 50554 lost_font.zip
*EXTRA File 8.4 m LS_Update_1.12.29.2_.exe
*EXTRA File 8.5 m LS_Update_1.14.25.1_.exe
*EXTRA File 1.0 m Luna_Royale.rar
*EXTRA File 17.3 m MediaCoder-0.6.1.4045.exe
*EXTRA File 2.5 m MonTest_2_1.exe
*EXTRA File 103150 mpeg-2_codec.zip
*EXTRA File 4.5 m MsgPlusLive-450.exe
*EXTRA File 1.4 m NetSimK.zip
*EXTRA File 2.4 m nLite-1.4.1.installer.exe
*EXTRA File 1.4 m Nokia_Nseries_Theme__update__by_
Flahorn.zip
*EXTRA File 20.6 m Nokia_PC_Suite_6_84_10_3_eng_web
.exe
*EXTRA File 34.2 m Nokia_PC_Suite_rel_7_0_8_2_eng_w
eb.exe
*EXTRA File 14.9 m NokiaSoftwareUpdaterSetup_en.exe
*EXTRA File 12.0 m objectdock_freeware.exe
*EXTRA File 143163 old_car.zip
*EXTRA File 120.0 m OOo_2.3.1_Win32Intel_install_wJR
E_en-US.exe
*EXTRA File 127.0 m OOo_2.4.0_Win32Intel_install_wJR
E_en-US.exe
*EXTRA File 127.0 m OOo_2.4.1_Win32Intel_install_wJR
E_en-US.exe
*EXTRA File 48255 Optix_for_Rainlendar_by_mastersc
hwag.zip
*EXTRA File 2.0 m orbitron.exe
*EXTRA File 675401 Original_PT_Wallpaper_Pack_by_sk
illustrate.rar
*EXTRA File 121.0 m PacketTracer_setup.exe
*EXTRA File 25.2 m PacketTracer5_setup_no_tutorials
.exe
*EXTRA File 1.5 m Paint.NET.3.36.zip
*EXTRA File 19404 patient_paige.zip
*EXTRA File 79138 pointy.zip
*EXTRA File 34.4 m prtg.zip
*EXTRA File 3.9 m psp503up.exe
*EXTRA File 26.0 m QuickTimeInstaller.exe
*EXTRA File 3.4 m Rainlendar-Lite-2.3.exe
*EXTRA File 329264 RealPlayer11GOLD.exe
*EXTRA File 80.7 m RedFactionWorldwideDemo.exe
*EXTRA File 4.7 m Requests_of_art___WP_pack_by_Uri
baani.rar
*EXTRA File 212992 ROBOCOPY.EXE
*EXTRA File 413605 royale_noir.zip
*EXTRA File 1.9 m RVMAddons_1.8.3.7z
*EXTRA File 734126 RVMAddonsWGAN_1.7.18.7a.7z
*EXTRA File 14.3 m san1312.zip
*EXTRA File 994304 Setup.msi
*EXTRA File 6.6 m setup.zip
*EXTRA File 15.5 m setup_blazemp.exe
*EXTRA File 1.4 m SetupImgBurn_2.3.2.0.exe
*EXTRA File 1.8 m SetupImgBurn_2.4.0.0.exe
*EXTRA File 61763 SimpleNote1-0.zip
*EXTRA File 10.2 m SkyAnytimeSetup.exe
*EXTRA File 983512 SonicStageInstaller.exe
*EXTRA File 149992 sound_fx.zip
*EXTRA File 12.1 m Spiceworks.exe
*EXTRA File 484075 StackDocklet 15-01-2008.zip
*EXTRA File 181834 steeltongs.zip
*EXTRA File 5.6 m Summer_Glau_En_Wallpapers_by_buc
kers.rar
*EXTRA File 4.7 m Sun_ODF_Template_Pack_en-US.oxt
*EXTRA File 1.7 m SysInspector.exe
*EXTRA File 1.2 m TeamViewer_Setup.exe
*EXTRA File 1011960 TeamViewerCustomer.exe
*EXTRA File 1013600 TeamViewerQS.exe
*EXTRA File 1.9 m the_moonlight.rar
*EXTRA File 6.2 m Thunderbird Setup 2.0.0.9.exe
*EXTRA File 11.4 m Toe_Sucking.zip
*EXTRA File 16.4 m TomTomHOME2winlatest.exe
*EXTRA File 3.8 m treehugger.zip
*EXTRA File 695.8 m ubuntu-7.10-desktop-i386.iso
*EXTRA File 247916 united_states_english_dictionary
-3.0.3-fx+tb+sm.xpi
*EXTRA File 12.3 m ut2003-winpatch2225.exe
*EXTRA File 18.5 m v2_4_0_104_win.exe
*EXTRA File 618570 vista_5.rar
*EXTRA File 503606 Vista_Aero_1_1.zip
*EXTRA File 1.7 m W9DProm.rar
*EXTRA File 65568 WAG354G_1.01.11.cfg
*EXTRA File 8.6 m WCA-G_EU_QSG.pdf
*EXTRA File 8.3 m winamp552_full_emusic-7plus_en-u
s.exe
*EXTRA File 316.4 m windowsxp-kb936929-sp3-x86-enu.e
xe
*EXTRA File 509992 WindowsXP-KB953356-x86-ENUAMD.ex
e
*EXTRA File 12.1 m winzip111.exe
*EXTRA File 20.7 m wireshark-setup-1.0.0.exe
*EXTRA File 2.2 m WLinstaller.exe
*EXTRA File 14.9 m WmrProInstall_8_0.exe
*EXTRA File 26.1 m xable-SP2-UpdatePack-January-v3.
0.7a.7z
*EXTRA File 642796 XviD-1.1.3-28062007.exe
*EXTRA File 2.5 m ZwinkySetup2.2.60.11-2.ZJfox000.
exe
100% New File 151728 cc_20081026_144717.reg
100% Older 149.6 m UT2003-epicbonuspackone.exe
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 40
Files : 2 2 0 0 0 175
Bytes : 149.78 m 149.78 m 0 0 0 3.252 g
Times : 0:01:55 0:01:54 0:00:00 0:00:00
Speed : 1368578 Bytes/sec.
Speed : 78.310 MegaBytes/min.
Ended : Thu Oct 30 12:24:35 2008
Press any key to continue . . .