dosyalar için örnek yedek.zip
[code]yeni sunucu 10.0.0.1
eski sunucu 10.0.0.2[/code]
eskiye girdin ssh ile
[code]scp yedek.zip root@10.0.0.1:/home[/code]
enter diyorsun ve yeni sunucunun root şifresini istiyor direk
kopyalanacak bir klasör ise ozaman -r komudunu kullanıyorsun örnek home klasöri
[code]scp -r home/ root@10.0.0.1:/home[/code]
kolay gelsin
Ynt: SSH ile bir serverden digerine dosya tasima
Bazı serverde port bilgisi isteyebilir
[code]scp -p 22 daa.tar root@10.1.0.1:/home[/code]
gibi
ya pa
[code]scp -P 22 daa.tar root@10.1.0.1:/home[/code]
07.04.2011 - hanci