David (Spartoo)
2007-May-31 09:31 UTC
Archive parameter doesn't preserve owner:group property!
Hi! I would like some advices to combine security and automated backup... How rsync manage hosts allow parameter compared to /etc/hosts.allow? Is it possible to use ssh key just for authentification not for crypted transfert? I have also a problem to preserve owner:group properties even with archive parameter which is supposed to do that. I have to put gid =root and uid = root in /etc/rsyncd.cond to preserve owner:group...Is it really secure? Even with gid =root and uid = root, I have a problem when then gid is a number (id) rsync puts the name of the group corresponding to this id but it's the group of the server not of the local machine!!!! For example If I want to backup /etc, in this folder I have a file root:1001 in my local machine... When I see this file to the server I have root:name_group_correspond_to_this_id for exemple root:subadmin, the problem is that I don't have this group (subadmin) in my local machine...so it's not really a backup. Thanks for your help. David ******************************************************************************************** Bonjour, J'aimerais bien vos conseils pour allier securit? et backup automatis?... Comment est g?r? le param?tre hosts allow de rsync par rapport au fichier /etc/hosts.allow ? Est-il possible d'utilis? les cl?s SSH juste pour l'authentification non pour un transfert chiffr?? Aussi je rencontre un probl?me pour conserver les owner:group malgr?s le param?tre -a (archive) qui est cens? le faire. Si je fais un backup d'un repertoire syst?me genre /etc qui sont en root:1001, sur le server de backup je les vois en root:subadmin subadmin ?tant un group sur le server correspond ? 1001. merci pour votre aide. David <rsync@lists.samba.org> -------------- next part -------------- 3j?Zr??? ???y??v?????
Paul Slootman
2007-May-31 09:35 UTC
Archive parameter doesn't preserve owner:group property!
On Thu 31 May 2007, David (Spartoo) wrote:> > For example If I want to backup /etc, in this folder I have a file root:1001 > in my local machine... > When I see this file to the server I have > root:name_group_correspond_to_this_id for exemple root:subadmin, the problem > is that I don't have this group (subadmin) in my local machine...so it's not > really a backup.You want the --numeric-ids option for this. Paul Slootman