Using rsync as an incremental backup

Steven Levine steve53 at earthlink.net
Fri Jun 24 15:51:25 MDT 2011


In <4E03C170.2020609 at perturb.org>, on 06/23/11
   at 03:42 PM, Scott Baker <scott at perturb.org> said:

Hi,

>If it were local that would be easy. This is remote (via SSH), so I'd
>have to login before I run rsync to verify that directory is that. I was
>hoping I could save that step since rsync is already doing all that
>already.

Your script should be able to use rsync to check if the link-dest
directory exists with something like

  rsync --dirs bakers at perturb.org:/home/bakers/backup/$old/

However, I suspect that the multiple link-dest directories suggested by
others will be a simplier solution.

Steven

-- 
----------------------------------------------------------------------
"Steven Levine" <steve53 at earthlink.net>  eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------



More information about the rsync mailing list