Benutzer-Werkzeuge

Webseiten-Werkzeuge


rsync

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
rsync [2011/06/05 11:26] adminrsync [2014/12/27 21:04] (aktuell) admin
Zeile 2: Zeile 2:
  
 http://www.ostc.de/howtos/rsync-HOWTO.pdf http://www.ostc.de/howtos/rsync-HOWTO.pdf
 +
 +=== Festplatte kopieren mit rsync ===
 +
 +http://www.dermute.de/75-festplatte-kopieren-mit-rsync
  
 ===Serversicherung Feynman, Newton=== ===Serversicherung Feynman, Newton===
Zeile 56: Zeile 60:
 -x, --one-file-system       don't cross filesystem boundaries -x, --one-file-system       don't cross filesystem boundaries
 </file> </file>
-  *rsync --progress -avu Quelle Ziel 
  
-  *peer:~ # rsync -av --delete --progress /d /e/.+  rsync --progress -avu Quelle Ziel
  
-  *rsync -av -e ssh remoteuser@remotehost:/remote/dir /this/dir/+  peer:~ # rsync -av --delete --progress /d/ /e/.
  
-  *rsync -av -e ssh root@10.0.0.3:/home/mustermann /home/mustermann+Upload auf peer.st/downloads
  
-  *feynman:/ # rsync -av -e ssh root@10.67.0.254:/daten/ /daten+  rsync -av --progress -e ssh sportwoche_drobollach_2014.mp4 root@193.170.221.2:/daten/einstein/srv/www/htdocs/peer.st/downloads/
  
-  *geht auch in die andere Richtung!+ISO aktualisieren auf proxy
  
-  *rsync -av -e ssh /entwicklung/misc/s4e root@193.170.221.4:/daten+  peer:/ # rsync -av -P --partial -e ssh root@IP:/daten/name.iso /daten/name.iso
  
-  *newton:~ # rsync -av --progress -e ssh root@10.67.0.254:/daten /mnt/sda1+Upload auf proxy
  
-  *rsync -av --progress -e ssh root@10.0.0.140:/home/andrea/ /d/backup/IBM_andrea+  rsync -av --progress /d/d4e2013/vwa-stick/2013.1_vwa-stick.zip -e ssh d4e@servername:/home/d4e/public_html/2013 
 + 
 +  rsync -av -e ssh remoteuser@remotehost:/remote/dir /this/dir/ 
 + 
 +  rsync -av -e ssh root@10.0.0.3:/home/mustermann /home/mustermann 
 + 
 +  feynman:/ # rsync -av -e ssh root@10.67.0.254:/daten/ /daten 
 + 
 +  geht auch in die andere Richtung! 
 + 
 +  rsync -av -e ssh /entwicklung/misc/s4e root@193.170.221.4:/daten 
 + 
 +  newton:~ # rsync -av --progress -e ssh root@10.67.0.254:/daten /mnt/sda1 
 + 
 +  rsync -av --progress -e ssh root@10.0.0.140:/home/andrea/ /d/backup/IBM_andrea 
 + 
 +  rsync -av --partial-dir=.rsync-partial --progress -e ssh 2011-09-11_OSC_Nuernberg.odp root@193.170.221.2:/daten/d4e/praesentationen/2011-09-11_OSC_Nuernberg
  
   *[[http://linuxwiki.de/rsync/SnapshotBackups|rsync/SnapshotBackups]]   *[[http://linuxwiki.de/rsync/SnapshotBackups|rsync/SnapshotBackups]]
Zeile 95: Zeile 114:
   *[[http://www.xxcopy.com/index.htm|xxcopy]]   *[[http://www.xxcopy.com/index.htm|xxcopy]]
  
- +=== rsync von SLES 11 auf Windows 7 Freigabe === 
-=== rsync Server === +  rsync --iconv=UTF-8,UTF--va ---partial ---delete /daten/backup/ /sicherung/sicherung/.
- +
-<code bash /etc/rsyncd.conf> +
-gid = users +
-read only = true +
-use chroot = true +
-transfer logging = true +
-log format = %h %o %f %l %b +
-log file = /var/log/rsyncd.log +
-pid file = /var/run/rsyncd.pid +
-hosts allow = +
-slp refresh = 300 +
-use slp = false +
- +
-[homefreigabe] +
-path = /home/matthias/ +
-comment = syncordner +
-auth users = matthias +
-secrets file = /etc/rsyncd.secrets +
-read only = false +
-uid= 1000 +
-</code> +
- +
-<code bash /etc/rsync.secrets> +
-matthias:smbpasswort +
-</code> +
- +
-  rcrsyncd start +
-  insserv rsyncd +
- +
-  *Sichern: +
-<code bash backup.sh> +
-#!/bin/bash +
-rsync -auv --delete --password-file=rsync.pwd --exclude=/.* --exclude=Videos/* ~matthias@192.168.1.42::homefreigabe +
-sleep 2 +
-</code> +
- +
-  *Rücksichern: +
-<code bash restore.sh> +
-#!/bin/bash +
-rsync -auv --delete --password-file=rsync.pwd --exclude=/.* --exclude=Videos/* matthias@192.168.1.42::homefreigabe ~/ +
-sleep 2 +
-</code> +
- +
-  *Passwort: Besser ssh-Schlüssel!+
rsync.1307265990.txt.gz · Zuletzt geändert: von admin