관리 메뉴

Hacking Arts

[Solaris] Remote service and backup schedule 본문

Computer & ETC/Solaris

[Solaris] Remote service and backup schedule

Rakehell 2014. 8. 23. 02:32

<rlogin,rsh,rcp>

trust관계에 되어있는 사용자들은 비밀번호를 묻지 않고 접속 가능함

$HOME/.rhosts 에 ip나 hostname이 맵핑되어있음

 

rsh [hostname or ip] [command]

ex)

rsh [hostname or ip] “cd [A Directory] ; tar cvf - .” | (cd [B Directory] ; tar xfBp -)

상대방의 A 디렉토리에서 자신의 B 디렉토리로 파일을 복사해옴

 

rlogin [hostname or ip]

 

rcp /[A Directory] [hostname or ip]:/[B Directory]

-> 자신의 A Directory안의 file을 상대방 B Directory로 복사

rcp [hostname or ip]:/[A Directory] /[B Directory]

-> 상대방의 A Directory안의 file을 자신의 B Directory로 복사

 

<backup schedule>

 

 

 

이와 같이 Backup schedule을 업무 특성에 맞게 능동적으로 작성해야 한다.