Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: ROBOCOPY - Create Backup Script

16 Dec 2017   #310
jraju

windows 7 ultimate 32 bit
 
 

This is the exact formula i used to copy. Please give corrections to it
G:\appapcddrive D:\ /E /COPYALL /DCOPY:T
where g is the source and d is the destination drive is the spacing correct. please


My System SpecsSystem Spec
.
16 Dec 2017   #311
essenbe

Windows 10 Pro/ Windows 10 Pro Insider
 
 

Try this if those are the switches you want to use. Create a folder on your D Drive and name it backup (or whatever you want)

Robocopy G:\appapcddrive D:\backup \e \copyall \Dcopy:T /log:backup_log.txt

This will also make a log of what was done. If anything goes wrong you can see where it happened.

If it works, you can also copy/paste this into notepad and name it whatever you want with a .bat extension and just click that and it will run by itself. The echo is if you want to watch what it does in a command window. If you don't make it echo off.

Code:
echo
Robocopy G:\appapcddrive D:\backup \e \copyall \Dcopy:T /log:backup_log.txt
pause
My System SpecsSystem Spec
31 Jan 2018   #312
sandman3838

Windows 7 pro (64bit)
 
 
ROBOCOPY PROGRESS

Hello

I have a menu that I use at work for testing and accessing other systems.
I input the systems NAME or IP and I have a list of tools I can run.
One item in my TOOLS MENU is ROBOCOPY it is listed below here.

Can I add a ETA or better yet a progress bar?

=====MY SCRIPT -

:ROBOCOPY
set /P source=Enter Source Folder^>
set /P target=Enter \Install\Target Folder Name^>
robocopy "%source%" "\\%host%\c$\Install\%target%" /mir /ETA /r:1 /w:1
gotoptions

Thank you all for all your help
My System SpecsSystem Spec
Reply

 ROBOCOPY - Create Backup Script




Thread Tools




Similar help and support threads
Thread Forum
Robocopy Script For Incremental, Differential and Full Backup
Dears, Anobody can help me to have a backup script that will help for backup requirement, Please see the details below My Source Directory is "D:\Source" My Destinationa Directory is "\\Server\Destination" I need to meet the following (1) Need to take fullbackup on every Friday ? For this...
General Discussion
my backup script using robocopy
robocopy /S /E /MOV %USERPROFILE%\Documents\ G:\backup\Documents\ robocopy /S /E /MOV %USERPROFILE%\Pictures\ G:\backup\Pictures\ robocopy /S /E /MOV %USERPROFILE%\Downloads\ G:\backup\DownloadS\ robocopy /S /E /MOV %USERPROFILE%\Favorites\ G:\backup\Favorites\ robocopy /S /E /MOV...
Backup and Restore
robocopy script is not working through Scheduler
Dear All, My batch file of robocopy is working fine. But when I tried to run it through task scheduler, none of the files transfer to the target location. @echo off echo +-----------------------------------------+ echo Database Export Utility for server ...
General Discussion
Robocopy backup for personal folders
I have created a batch file for copying my Documents folder to an external hard drive: The log file shows that it is backing up C:\users\USERNAME\documents\My Music and C:\users\USERNAME\documents\My Pictures. That's fine, because I want those backed up anyway, but when I go to...
Backup and Restore
Anyone use robocopy to backup?
Evening all, Just curious to know if anyone uses the built in utility to backup software on your machine, im trying to backup my itunes folder to an external HD but having a few issues to get this to work properly! I also use sync toy for backing up but just really want to know what everyone...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:58.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App