> Hi,
> 
> thanks for advice!
> 
> But the question/problem is, how to transfere whole vservers 
> not within a vserver but to a different hostmachine.
> 
> if i do a
> 
> hostmachine1# rsync -e ssh -abRvz /vservers/vserver1 
> [EMAIL PROTECTED]:/
> 
> i loose all owner rights, because the hostmachine makes 
> mistakes in determ which user belongs to which file. At 
> "normal" files this makes no damage, but if i want to run my 
> apache as www-data and this www-data bekomes to a #10 user 
> id/name, i run into trouble.


You need to tell rsync to preserve those sorts of things...

Here is an example I use:

rsync --verbose --progress --stats --compress --rsh=/usr/bin/"slogin -l
root -o Compression=yes" --recursive --times --links --perms --owner
--group --delete --exclude-from=backup.excludes www.domain.com:/*
/backups/

All hail rsync the mighty!

Tom Walsh
Network Administrator
http://www.ala.net/


_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to