Kezdőlap › Fórumok › Linuxos szoftverek › rsync kérdés
- This topic has 90 hozzászólás, 10 résztvevő, and was last updated 16 years, 8 months telt el by
script.
-
SzerzőBejegyzés
-
2007-09-06-10:33 #2131260
Hint: ha a man-t nálad is a less nyitja meg, akkor ott a / jellel keresni is lehet ám!
2007-09-06-10:33 #2131261Hint: ha a man-t nálad is a less nyitja meg, akkor ott a / jellel keresni is lehet ám!
2008-05-14-21:12 #2131262rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/
sajat geprol uj konyvtarat Erre a local network egyik gepere home/machine/ szeretnem masolniCode:server:/home/script# rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/
ssh: connect to host 192.168.135 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(453) [sender=2.6.9]
server:/home/script#Googlin valami tuzfal problemara is gyanakodott valaki.
ssh alapbol mukodik azzal nincs baj rsync addig var amig elnem utasitja a kliens gep.
Szerintetek miert?Lehet a parancs nemjo amit hasznalok?
Ezt a semat akartam hasznalni:rsync –delete -r /var/www/ root@backup:/var/www/
(a –delete kapcsoló törli azokat az állományokat a tartalék szerver könyvtárából, amelyek nem szerepelnek
a fő szerveren, az -r kapcsoló pedig az alkönyvtárak tartalmáról gondoskodik)
2008-05-14-21:12 #2131263rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/
sajat geprol uj konyvtarat Erre a local network egyik gepere home/machine/ szeretnem masolniCode:server:/home/script# rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/
ssh: connect to host 192.168.135 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(453) [sender=2.6.9]
server:/home/script#Googlin valami tuzfal problemara is gyanakodott valaki.
ssh alapbol mukodik azzal nincs baj rsync addig var amig elnem utasitja a kliens gep.
Szerintetek miert?Lehet a parancs nemjo amit hasznalok?
Ezt a semat akartam hasznalni:rsync –delete -r /var/www/ root@backup:/var/www/
(a –delete kapcsoló törli azokat az állományokat a tartalék szerver könyvtárából, amelyek nem szerepelnek
a fő szerveren, az -r kapcsoló pedig az alkönyvtárak tartalmáról gondoskodik)
2008-05-14-21:20 #2131264Tapasztalataim szerint mindkét gépen fenn kell lennie az rsync csomagnak.
Más hirtelen nem jutott eszembe…2008-05-14-21:20 #2131265Tapasztalataim szerint mindkét gépen fenn kell lennie az rsync csomagnak.
Más hirtelen nem jutott eszembe…2008-05-14-21:23 #2131266belepes a halozat masik gepere ssh -n
server:/home/script# ssh 192.168.1.35
root@192.168.1.35’s password:
Last login: Wed May 14 21:54:06 2008 from 192.168.1.34
Linux debian 2.6.18-6-k7 #1 SMP Sun Feb 10 22:16:15 UTC 2008 i686The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian:~#Belepett
ezutan beirtam annyit ,hogy rsy aztan nyomatam egy tab -ot ami kiegeszitette rsync -re ,szerintem akkor a progi fent van.Vagy nem jo a gondolat menet?
Ugyanez a tab -os tortenet eljatszva a helyi gepen nekem azt igazolja mindket gepen fent van az rsync.2008-05-14-21:23 #2131267belepes a halozat masik gepere ssh -n
server:/home/script# ssh 192.168.1.35
root@192.168.1.35’s password:
Last login: Wed May 14 21:54:06 2008 from 192.168.1.34
Linux debian 2.6.18-6-k7 #1 SMP Sun Feb 10 22:16:15 UTC 2008 i686The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian:~#Belepett
ezutan beirtam annyit ,hogy rsy aztan nyomatam egy tab -ot ami kiegeszitette rsync -re ,szerintem akkor a progi fent van.Vagy nem jo a gondolat menet?
Ugyanez a tab -os tortenet eljatszva a helyi gepen nekem azt igazolja mindket gepen fent van az rsync.2008-05-15-05:26 #2131268script wrote:rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/server:/home/script# ssh 192.168.1.35
root@192.168.1.35’s password:
Last login: Wed May 14 21:54:06 2008 from 192.168.1.34Hát nem tudom, de én mint ha különbözőnek látnám a két IP-t. ::)
192.168.135 != 192.168.1.35
2008-05-15-05:26 #2131269script wrote:rsync –delete -r /home/script/uj/ debian@192.168.135:/home/machine/server:/home/script# ssh 192.168.1.35
root@192.168.1.35’s password:
Last login: Wed May 14 21:54:06 2008 from 192.168.1.34Hát nem tudom, de én mint ha különbözőnek látnám a két IP-t. ::)
192.168.135 != 192.168.1.35
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz