Windows 7 Forums


Windows 7: ROBOCOPY - Create Backup Script

18 Sep 2011   #199
Golden

Windows 7 Ultimate SP1 (x64)
South Australia
 
 
ROBOCOPY - Create Backup Script

How to Create a Backup Script Using the ROBOCOPY Command

...


Last edited by Golden; 16 Oct 2012 at 07:59 AM..
My System SpecsSystem Spec

19 Jan 2013   #200
ROBO731

Windows 7 Home Premium x64
 
 

I'll have a look around and see what I can find. Thanks.
My System SpecsSystem Spec

19 Jan 2013   #201
Golden

Windows 7 Ultimate SP1 (x64)
South Australia
 
 

Imaging using something like Macrium would probably be a better option.

My System SpecsSystem Spec
19 Jan 2013   #202
ROBO731

Windows 7 Home Premium x64
 
 

Yeah, but I'm not willing to pay for macrium and the free version doesn't let you exclude folders or backup certain folders.
My System SpecsSystem Spec
15 Apr 2013   #203
ghadley

win server 2008 r2 (64bit)
 
 
Robocopy Log file Maximum Size

Dear Experts,

I have robocopy running continuously to mirror a folder every X hours. The windows 2008R2 server running the code is set to start the script at startup. Everything appears to be working fine, except the log files are becoming to be gigs big (too big to open with notepad, etc). I can manually stop the process, rename the log file, then the restart the process, but I am looking for a way to programmatically limit the size of the log file. Is this possible? Thanks!

-GH
My System SpecsSystem Spec
.


16 Apr 2013   #204
Golden

Windows 7 Ultimate SP1 (x64)
South Australia
 
 

Hi,

Unfortunately, its not possible to limit the size of the logfile - that would defeat the purpose of the the logfile : to log everything it does.

A workaround might be to write to a new logfile every X hours, so you write to several different named logfiles during the course of a day. Perhaps using the date to name the logfile, like this?

Code:
SET log_fname=%prefix%%date:~-4,4%%date:~-10,2%%date:~-7,2%.log
Regards,
Golden
My System SpecsSystem Spec
9 Hours Ago   #205
Nuno Lopes

Windows 7 Ultimate 32bit
 
 

Hi all,

I´ve create a .bat file with the help of this tutorial, to make a backup of a directorie to my Skydrive account, this is the script.

robocopy.exe "C:\Radio\DXLab" "C:\Users\userid\SkyDrive\Radio\DXLab Backups\teste" /e /mir /np /z /tee /log:backup_log.txt

Now what I was trying to do is:

Inside DXLab directorie is an Folder - Luncher, with an Luncher.exe, that lunches 7 applications, and when I terminate the Luncher.exe it terminates all 7 applications.

Now what I wanna do is when Luncher.exe close, the Backup.bat will make the backup of that session.

I've already converted .bat to .exe and the script works good.

Any ideia on how to do this.

Thanks.
My System SpecsSystem Spec
Comment

 ROBOCOPY - Create Backup Script problems?



Tutorial Tools



Similar help and support threads for: ROBOCOPY - Create Backup Script
Windows 7 Tutorial Category
How to create batch script to lock workstation then log off. General Discussion
Robocopy backup for personal folders Backup and Restore
Robocopy backup - file permissions General Discussion
Anyone use robocopy to backup? Backup and Restore
Create ErrorHandler.cmd script file General Discussion


All times are GMT -5. The time now is 01:00 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32