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 (help please)

12 May 2015   #1
kvt

Windows 7 64-bit
 
 
Robocopy (help please)

Hi, I have 2 questions which I desperately need help with. Here's the question: 1. robocopy shoud Run in a separate terminal window and recheck file system changes every minute. 2. write a continous logfile that contains all detected file system changes including full pathnames of affected files. How do I do this?


My System SpecsSystem Spec
.
13 May 2015   #2
Ztruker

Windows 10 Pro X64
 
 

This is one way, put this in a batch file:

:Start
robocopy command here
timeout 120 > nul
goto Start

Lots and lots of robocopy parameters, one of which is /log:file (file being the file you want info logged ion). > nul hides the Timeout in n seconds message.
My System SpecsSystem Spec
13 May 2015   #3
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

My System SpecsSystem Spec
.

13 May 2015   #4
kvt

Windows 7 64-bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
This is one way, put this in a batch file:

:Start
robocopy command here
timeout 120 > nul
goto Start

Lots and lots of robocopy parameters, one of which is /log:file (file being the file you want info logged ion). > nul hides the Timeout in n seconds message.

I was given this:

Robocopy should be configured to:

- Copy the entire file structure, including all subdirectories and files of the source directory ('Files') to a separate target directory ('Files_Backup)

- Maintain all file information(such as timestamps and ownership) for copied files

- robocopy shoud Run in a separate terminal window and recheck file system changes every minute

- write a continous logfile that contains all detected file system changes including full pathnames of affected files.

*I was told that I could do all this using parameter, can I write this all in just one line and then copy it over into a batch script?

If you could give me an example to do this?
My System SpecsSystem Spec
14 May 2015   #5
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Read the tutorial : everything you require is in there.
My System SpecsSystem Spec
14 May 2015   #6
Ztruker

Windows 10 Pro X64
 
 

Golden, great tutorial.
My System SpecsSystem Spec
Reply

 Robocopy (help please)




Thread Tools




Similar help and support threads
Thread Forum
Robocopy
I have created a robocopy.bat as below : robocopy C:\Users\Faust_000\Documents\Alfredo "F:\Backups Documents" /e /mir /z /np /tee /log:Alfredo_log.txt and I have created a Planned Activity into the Planning Utility to run at certain time every day. Now my question is : 1. if manually...
General Discussion
Robocopy how?
Need to back up data-drive regularly on drive F and send to data-drive G Robocopy has been mentioned as win7 built-in. I'm confused what is it & how to use it?
Backup and Restore
Robocopy Synology
Hello everyone been lurking around for awhile, so much knowledge on this forum. I hope someone can help me, I am just a noob, don't know to much. I ecently purchased a synology Network Attached Storage (NAS). and I would like to set up so that files tranfer from one folder to the next...
Network & Sharing
I need some help with Robocopy GUI please.
Hello all, To save my life I could not get the Robocopy GUI to work. I have no problem using it with command line by dropping in to CMD. Tried the GUI it reported that the job is finished as soon as I click "RUN" but nothing copied. Thank you kindly, Nid
General Discussion
Robocopy still the best option?
I've never had a backup routine but am about to begin. Was going to implement RAID 1 but after some forum education am finding out a removable backup disk is what I really want. So, should I assume Robocopy (likely with GUI) is still the way to go for my simple /E /Purge needs? I will be mirroring...
Performance & Maintenance


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 04:21.
Twitter Facebook Google+