educare:rsync
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
educare:rsync [2020/01/07 21:16] – profpro | educare:rsync [2020/06/08 22:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====rsync===== | ||
+ | Esempio in locale (due cartelle nello stesso computer) | ||
+ | rsync -uvaz --progress / | ||
+ | |||
+ | Esempio in remoto (rsync client viene eseguito sul pc1, mentre sull' | ||
+ | rsync -uvaz -e ssh / | ||
+ | |||
+ | < | ||
+ | |||
+ | [PC1] [PC2] | ||
+ | |||
+ | openssh-client | ||
+ | rsync rsync | ||
+ | |||
+ | </ | ||
+ | |||
+ | in questo ultimo esempio deve essere installato: | ||
+ | - sul pc1 // | ||
+ | - sul pc2 // | ||
+ | - inoltre si deve aprire una porta del firewall [[didattici: | ||
+ | |||
+ | ufw allow from 192.168.1.10 to any port 22 | ||
+ | |||
+ | / | ||
+ | |||
+ | il file rsyncd.conf permette di avviarlo come server specificando --daemon | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// |