Solved

ROBOCOPY Incremental Backup

Posted on 2006-11-07
9
13,629 Views
Last Modified: 2013-12-01
I've just downloaded the ROBOCOPY 3.1.1 all works very well. What i would like to do is copy files and folders from source to destination and have it set for incremental.

1) Copy source to destination
2) Keep the original file and make another copy of the modified file (two files in total in the destination drive)
3) And so forth...

Is this spossible? if so can i PLEASE have some help? this is bugging me so much!
0
Comment
Question by:akt-uk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 5

Expert Comment

by:MrNetic
ID: 17898835
You could do something like the following.

robocopy /np /njh /LOG:"LogDestination.txt" /z  SOURCE Destination

Best Regards,

Paulo Condeça.
0
 

Author Comment

by:akt-uk
ID: 17899839
Paulo,

I tried this:

robocopy "C:\TEST BACKUP" /np /njh /LOG:"LogDestination.txt" /z "D:\BACKUP DATA"

But it generated the log file and doesn't create another backupfile.

What i would like to do when the robocopy execute is: keep the orginal file on the destination and create another backup file on destination if modified in source.

Is this possible in robocopy?

Jay
0
 
LVL 5

Expert Comment

by:MrNetic
ID: 17904688
Jay,

That is not the correct sintax, and what you want to do is clean possible with robocopy.

robocopy /np /njh /LOG:"c:\Log.txt" /z  C:\DataToBackup C:\BackupOfData.

Give some feedback if it works.

Best Regards,

Paulo Condeça.
0
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 

Author Comment

by:akt-uk
ID: 17905302
Paulo,

I run the command but it only copies the exact data that is in source, it's not producing another file on the destination when the source file is modified. The log files gets updated each time i run the script.

Where am i going wrong. Please confirm if my batch file is syntax is correct:

robocopy /np /njh /LOG:"c:\Log.txt" /z  C:\DataToBackup C:\BackupOfData

This is the only line exist in the .cmd file, do i need to type anything else?

Jay
0
 
LVL 5

Expert Comment

by:MrNetic
ID: 17905521
Jay,

Sorry, i was giving you one incorrect flag.

This will replace the destination FILE.

robocopy /LOG:"c:\Log.txt" /z /v /IS C:\DataToBackup C:\BackupOfData


If you want, another method, you will have to script it ( with vbs for example ).

Give some feedback if it works.

Best Regards,

Paulo Condeça.
0
 

Author Comment

by:akt-uk
ID: 17905927
Paulo,

Thanks for the response, but the command:

robocopy /LOG:"c:\Log.txt" /z /v /IS C:\DataToBackup C:\BackupOfData

does not work, i would apreciate your help.

Jay
0
 
LVL 5

Expert Comment

by:MrNetic
ID: 17906436

I found this, and it could help you :)

http://www.ss64.com/nt/robocopy.html

Best Regards,

Paulo Condeça.
0
 

Author Comment

by:akt-uk
ID: 17906495
Thanks Paulo,

but which command is for creating incremental & generate new file on the destination if the original source gets modified?

Jay
0
 
LVL 5

Accepted Solution

by:
MrNetic earned 500 total points
ID: 17906737
Jay,

I gave you all the sources, you should rtm.

I can give you the path, but you must walk by your own legs.

Best Regards,

Paulo Condeça.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question