Rsync? - Aidez moi

:jap: bonjour !

Je voudrai savoir si quelqu’un sait comment fonctionne Rsync?
Je voudrai telecharger un depot a partir d’ Internet vers mon poste sous Linux Fedora Core 4. avec Rsync 2.6.4-3.
Quelle est la commande a taper ??
Faut - il configurer le fichier Rsync.conf ??
Merci d’avance ! :paf:

:super:

man rsync
il donne même des exemples

Comment utiliser cette commande :
rsync [OPTION]… SRC [SRC]… [UTIL@]HOTE::DEST

Si j’ai bien compris :
[SRC] >> Adresse de du depot internet
mais je ne comprends pas les autres paramètres! :frowning:

MErci d’avance !!

exemple : si tu cherches a synchroniser la machine TRUC sur ta machine locale MACHIN et que le compte utilisateur distant est admin et ton compte utilisateur local est Kltc77 alors ca donne ca :

rsync admin@TRUC::/mon/super/repertoire Kltc77@MACHIN::/mon/rep/local/de/synchro

perso, j’utilise unison, c’est encore plus simple mais un peu moins configurable…

ah oki merci pour l exemple mais moi je voudrai synchroniser ma machine sur un depoi internet

et bien au lieu de TRUC, ce sera truc.bidule.com ou une ip publique

http://www.linuxwall.info/ressources/hacks…c/ssh_rsync.txt

hummm je voudrai savoir si c normal mais je n’ais pas de fichier rsync.conf dans /etc/.

Pourtant lorsque je tape rpm -q rsync , ca m’affiche rsync-2.6.4-3.

si quelqun pourrai m’envoyé son fichier ce serai sympa ! :wink:

Merci d’avance!!!!

la seule chose que j’ai c’est un fichier rsync dans /etc/default (sur debian sarge)

# defaults file for rsync daemon mode

# start rsync in daemon mode from init.d script?
#  only allowed values are "true", "false", and "inetd"
#  Use "inetd" if you want to start the rsyncd from inetd,
#  all this does is prevent the init.d script from printing a message
#  about not starting rsyncd (you still need to modify inetd's config yourself).
RSYNC_ENABLE=false

# which file should be used as the configuration file for rsync.
# This file is used instead of the default /etc/rsyncd.conf
# Warning: This option has no effect if the daemon is accessed
#          using a remote shell. When using a different file for
#          rsync you might want to symlink /etc/rsyncd.conf to
#          that file.
# RSYNC_CONFIG_FILE=

# what extra options to give rsync --daemon?
#  that excludes the --daemon; that's always done in the init.d script
#  Possibilities are:
#   --address=123.45.67.89              (bind to a specific IP address)
#   --port=8730                         (bind to specified port; default 873)
RSYNC_OPTS=''

# Don't forget to create an appropriate config file,
# else the daemon will not start.

mais pas besoin de config particuliére pour rsync, c’est ta ligne de commande qui fait le boulot :wink: