User Tools

Site Tools


rsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rsync [2011/12/28 16:43]
127.0.0.1 external edit
rsync [2013/01/30 17:50] (current)
Line 1: Line 1:
-http://​samba.anu.edu.au/​[[rsync]]/+[[http://​samba.anu.edu.au/​rsync/|rsync]] ​is an open source utility that provides fast incremental file transfer.
  
-[[rsync]] ​is an open source utility that provides fast incremental ​file transfer.+  * [[http://​everythinglinux.org/​rsync/​| A tutorial on using rsync]] 
 +  * [[http://​deb.riseup.net/​backup/​rsync/​| configuration Debian]] 
 +  * http://​fixunix.com/​networking/​391968-how-get-log-file-rsync-operation-does-rsync-also-delete-remote-files.html
  
-  * ((http://​everythinglinux.org/​[[rsync]]/​ A tutorial on using [[rsync]])) +====== Serveur ​======
-  * ((http://​deb.riseup.net/​backup/​[[rsync]]/​ configuration [[Debian]])) +
-  * http://​fixunix.com/​networking/​391968-how-get-log-file-[[rsync]]-operation-does-[[rsync]]-also-delete-remote-files.html +
- +
-=== Serveur ===+
 /​etc/​rsyncd.conf /​etc/​rsyncd.conf
 <​code>​log file = /​var/​log/​rsyncd.log <​code>​log file = /​var/​log/​rsyncd.log
Line 20: Line 18:
 hosts deny=*</​code>​ hosts deny=*</​code>​
  
-Dans /​etc/​default/​[[rsync]], changer+Dans /​etc/​default/​rsync,​ changer
 <​code>​RSYNC_ENABLE=false</​code>​ <​code>​RSYNC_ENABLE=false</​code>​
 en en
Line 32: Line 30:
 tcp        0      0 *:​rsync ​                ​*:​* ​                    ​LISTEN</​code>​ tcp        0      0 *:​rsync ​                ​*:​* ​                    ​LISTEN</​code>​
  
 +====== Client ======
 Depuis le client, taper: Depuis le client, taper:
 <​code>​rsync --verbose ​ --progress --stats --recursive narsil:/​var/​www/​* /​home/​backup/​web/​ > rsync_web.log <​code>​rsync --verbose ​ --progress --stats --recursive narsil:/​var/​www/​* /​home/​backup/​web/​ > rsync_web.log
 rsync --verbose ​ --progress --stats --recursive narsil:/​var/​lib/​mysql/​* /​home/​backup/​db/​ > rsync_db.log</​code>​ rsync --verbose ​ --progress --stats --recursive narsil:/​var/​lib/​mysql/​* /​home/​backup/​db/​ > rsync_db.log</​code>​
rsync.txt · Last modified: 2013/01/30 17:50 (external edit)