On Sat, Feb 24, 2007 at 05:00:33PM +0100, Peter Mann wrote:
> On Sat, Feb 24, 2007 at 04:13:43PM +0100, Eugen Leitl wrote:
> > I run a nightly script (over a private network) which does the
> > following synchronisation from the production to the backup machine:
> > rsync -a -e ssh /home/ [EMAIL PROTECTED]:/home/
> > rsync -a -e ssh /usr/local/etc/vservers/ [EMAIL 
> > PROTECTED]:/usr/local/etc/vservers/
> > 
> > My vservers live in /vservers which is a symlink to /home/vservers.
> > Apart from /usr/local/etc/vservers/ is there anything else I should synch?
> 
> my tip: use rsync --numeric-ids  and --exclude "vservers/name1/proc" ...
> (and you can use rsync without -e ssh, because it's default in Debian;
> and maybe -e 'ssh -c blowfish')

if you are doing the sync over a trusted network,
then getting rid of the ssh/encryption part is
a big win, both for speed and for cpu overhead

if your network is the bottleneck, using the -z
(compression) will help too, otherwise the following
options might come handy: -axHP

> i'm using some similar rsync scripts ...
> 
> > Another question: Debian 4.0 is ante portas. Given that 3.1 had 
> > everything way out of date, can one rely on stock vserver kernel
> > and tools in Debian 4.0?

I hope I'm wrong, but to me it looks like the
new Debian release will already be outdated
when the release happens ...

but hey, that's the debian model ...

> i upgraded all my sarge host servers to etch ... some guest servers is
> still sarge, but almost all are etch ... there is problem with default
> debian vserver kernel in TESTING, but i have my own recompiled kernels
> and new debian kernels are almost ready for entering "testing" (and
> debian-installer etch rc2/final)

best,
Herbert

> -- 
> 
> 5o   Peter.Mann at tuke.sk
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to