[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re:Sauvegarde Réseau



J'ai testé

pc1# rsync -avz -e ssh / user@pc2:/temp/sauvegarde

Cela fonctionne mais ne garde pas les propriétaire utilisateur et attribut la totalité des fichier copié à "user".

Comment garder les propriétaires des fichiers de PC1 et créer une archive de / ?

Merci

  
======= le 04/04/2006, 16:21:11 vous écriviez: =======

>apt-get install rsync
>
>extrait du man :
>
>rsync -avz foo:src/bar /data/tmp
>
>This would recursively transfer all files from the directory src/bar on
>the machine foo into the /data/tmp/bar directory on the local machine.
>The  files  are  transferred in "archive" mode, which ensures that
>symbolic links, devices, attributes,  permissions,  ownerships,  etc. 
>are preserved  in  the transfer.  Additionally, compression will be 
>used to reduce the size of data portions of the transfer.
>
>
>On Tue, 4 Apr 2006, stena83@free.fr wrote:
>
>> Bonjour,
>>
>> J'ai 2 PC (PC1 et PC2),
>>
>> Je souhaite sauvegarder la totalité de PC1 sur PC2 en ligne de commande.
>>
>> Comment peut t-on associé un
>>
>> tar -cvz -f /tmp/sauvegarde /
>>
>> et un
>>
>> ssh user@pc2
>>
>> Comment puis-je créer l'archive directement sur pc2?
>>
>> Cordialement
>>
>>
>>
>
>=_==_==_==_==_==_=
>=¯==¯==¯==¯==¯==¯=
>Gilles Missonnier
>IAP - gimi@iap.fr
>01 44 32 81 36

= = = = = = = = = ========= = = = = = = = = = =
			
stena83
stena83@free.fr
04/04/2006


Reply to: