Hacking Arts
[Solaris] Remote service and backup schedule 본문
<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을 업무 특성에 맞게 능동적으로 작성해야 한다.
'Computer & ETC > Solaris' 카테고리의 다른 글
[Solaris] Package and Patch (0) | 2014.08.23 |
---|---|
[Solaris] Performance (0) | 2014.08.23 |
[Solaris] Backup - 2 (ufsdump , ufsrestore , dd and cpio) (0) | 2014.08.23 |
[Solaris] Back up - 1 (mt and tar) (0) | 2014.08.23 |
[Solaris] 시스템 종료와 nfs(Network File System) (0) | 2014.08.23 |