[Hcoop-discuss] rsnapshot errors

Karl Chen quarl at cs.berkeley.edu
Sun Dec 25 00:12:45 EST 2005


>>>>> On 2005-12-24 21:11 PST, Karl Chen writes:

>>>>> On 2005-12-24 09:00 PST, Adam Chlipala writes:
    Adam> We're using the rsnapshot Debian package.  I'm confused
    Adam> as to why it's using 'cp' instead of 'mv' for this
    Adam> operation in the first place.  It looks to me like that
    Adam> copy operation is part of deleting the oldest backup and
    Adam> rotating every other to the next lower slot number.

    Adam> It definitely uses 'rsync' for what I take to be the
    Adam> "interesting" part.

    Karl> The --link-dest option greatly simplifies the logic for
    Karl> this kind of script, but, even ignoreing that, just
    Karl> replacing 'cp' with 'rsync' would be a good idea for the
    Karl> other reasons I said.

I just looked, and rsnapshot actually does support using rsync
--link-dest instead of cp.  Just set 'link_dest 1' in
/etc/rsnapshot.conf.

-- 
Karl 2005-12-24 21:11




More information about the HCoop-Discuss mailing list