Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
rsync [2011/04/26 10:15] admin |
rsync [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 37: | Zeile 41: | ||
| <file> | <file> | ||
| - | -- progress Fortschrittsbalken | + | --progress Fortschrittsbalken |
| + | --partial keep partially transferred files | ||
| + | -P same as --partial --progress | ||
| + | --delete-before receiver deletes before xfer, not during | ||
| -b, --backup make backups (see --suffix & --backup-dir) | -b, --backup make backups (see --suffix & --backup-dir) | ||
| -l, --links copy symlinks as symlinks | -l, --links copy symlinks as symlinks | ||
| Zeile 46: | Zeile 53: | ||
| -a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) | -a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) | ||
| + | -v, --verbose increase verbosity | ||
| -t, --times preserve modification times | -t, --times preserve modification times | ||
| - | --devices preserve device files (super-user only) | + | --devices preserve device files (super-user only) |
| - | --specials preserve special files | + | --specials preserve special files |
| - | -D same as --devices --specials | + | -D same as --devices --specials |
| -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 92: | 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 --iconv=UTF-8,UTF-8 -va -z --partial -P --delete /daten/backup/ /sicherung/sicherung/. | ||