Re: [vserver] Hashify and efficient cross-server copying

From: Jeff Jansen <jeff.jansen_at_kkoncepts.net>
Date: Thu 26 Aug 2010 - 11:14:11 BST
Message-ID: <4C763E73.3030404@kkoncepts.net>

Gordan Bobic <gordan@bobich.net> wrote on 2010-Aug-26:
> Is there an efficient way to copy hashified data across hosts? e.g.
> using tar or rsync?
>
> I want to have a backup host that I can periodically rsync data to, but
> would like to avoid having to re-hashify the files at the destination
> since they will already be hashified at source.

If you rsync the directory where your vservers all "live" and include the "-H"
switch, then rsync will create the hard links on the target side.

Something like:

rsync -avH --delete --numeric_ids /vservers/ target:/vservers/

HTH

Jeff Jansen
Received on Thu Aug 26 11:19:11 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Aug 2010 - 11:19:11 BST by hypermail 2.1.8