tech:notes_rsync
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_rsync [2025/04/10 10:10] – Jean-Baptiste | tech:notes_rsync [2025/10/17 16:26] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 52: | Ligne 52: | ||
| ~~~bash | ~~~bash | ||
| - | sshfs -d -o allow_other, | + | sshfs -o allow_other, |
| ~~~ | ~~~ | ||
| - | sshfs -o ro server:/ ~/mnt/plop | + | Pour debug ajouter l' |
| + | ~~~bash | ||
| + | sshfs -d -o allow_other, | ||
| + | ~~~ | ||
| ### Gros fichiers avec plein de zéros, iso... | ### Gros fichiers avec plein de zéros, iso... | ||
| Ligne 78: | Ligne 81: | ||
| rsync -ax / | rsync -ax / | ||
| ~~~ | ~~~ | ||
| + | |||
| + | |||
| + | ### Utilisation de l' | ||
| + | |||
| + | ~~~bash | ||
| + | rsync -anv --files-from=push.lst / /tmp/plop/ | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### rsync avec find | ||
| + | |||
| + | ~~~bash | ||
| + | # rsync --files-from=< | ||
| + | # find ~/DATA/ -name ' | ||
| + | |||
| + | cd ~/DATA/ | ||
| + | find . -type f -name ' | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| ### Diff - diffing | ### Diff - diffing | ||
| Ligne 87: | Ligne 111: | ||
| Équivalent avec rsync | Équivalent avec rsync | ||
| ~~~bash | ~~~bash | ||
| - | rsync -rcvn --delete --exclude=' | + | rsync -rcvn --delete --exclude=' |
| ~~~ | ~~~ | ||
| Ligne 153: | Ligne 177: | ||
| ~~~bash | ~~~bash | ||
| / | / | ||
| + | |||
| + | # systemd-run -p IOWeight=10 rsync -axvn --bwlimit=20480 /home/jean/ backup1:/ | ||
| ~~~ | ~~~ | ||
tech/notes_rsync.1744272643.txt.gz · Dernière modification : de Jean-Baptiste
