Re: Verifying understanding of backup-dir vs compare-dest

2007-09-12 Thread Matt McCutchen
On 9/12/07, Suresh Govindachar [EMAIL PROTECTED] wrote:
   Say one starts with creating an archive

rsync work - archive

   and periodically (below, i = 1 to N) does

rsync --backup-dir=a_i  work - archive
   and  rsync --compare-dest=archive  work - b_i

   Then suppose one wants to recover the work directory as it was at
   time k.

   Using the b_i directories, one would merely merge b_k with the
   archive directory.

   But using the a_i directories one would have to merge a_j with
   archive starting with j=N and going down sequentially to j=k.

   Is my understanding correct?

Yes, those procedures for recovery are correct.

Matt
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Verifying understanding of backup-dir vs compare-dest

2007-09-11 Thread Suresh Govindachar
Hello,

  Say one starts with creating an archive 

   rsync work - archive

  and periodically (below, i = 1 to N) does 
  
   rsync --backup-dir=a_i  work - archive
  and  rsync --compare-dest=archive  work - b_i

  Then suppose one wants to recover the work directory as it was at
  time k.

  Using the b_i directories, one would merely merge b_k with the
  archive directory.

  But using the a_i directories one would have to merge a_j with
  archive starting with j=N and going down sequentially to j=k.

  Is my understanding correct?  More importantly, I would like to
  know under what conditions and for what goals people use
  --backup-dir;  and likewise when and why do people use
  --compare-dest?
  
  Thanks,
  
  --Suresh 

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html