I have a USB backup drive, which I only<div>turn on when I want to back up my system.</div><div>And I only do that now and then for time </div><div>reasons - even on a USB 2 connection it</div><div>takes a couple of hours for a full backup.</div>
<div><br></div><div>So what I like to do is incremental backups.</div><div>The way I do that now is simply to mount the</div><div>drive and run "cp -Rpu . /drive/directory" from</div><div>the top of the directory area that I want to </div>
<div>back up.</div><div><br></div><div>This works fine except that the "u" option</div><div>ensures that anything on the primary drive</div><div>not on the backup drive is copied over, but things</div><div>that are not on the primary drive, and are on</div>
<div>the backup drive, do not get erased, which is</div><div>what I want.  I've read the man page, and</div><div>there does not seem to be an option for doing</div><div>this.</div><div><br></div><div>What I'm really looking for is a mirroring</div>
<div>function, but only on a now and then basis,</div><div>not having two drives running all the time.</div><div><br></div><div>Suggestions?  I hear that rsync does something</div><div>like this.  Can it do this locally, between two</div>
<div>drives?  i.e., I don't need the "remote" part.</div><div><br></div><div>  -- Bob</div><div><br></div>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.