bacula restore. 바큐라 백업 복원 root@backup01:/home/bacula-5.0.3/sbin#./bconsole Connecting to Director backup01:9101 1000 OK: backup01-dir Version: 5.0.3 (04 August 2010) Enter a period to cancel a command. *restore Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs whe
# 시스템에서 처리할수 있는 패킷이 초과되면서 이후 패킷에 대해서 drop처리되는 메세지nf_conntrack: table full, dropping packet.nf_conntrack: table full, dropping packet.nf_conntrack: table full, dropping packet.nf_conntrack: table full, dropping packet.nf_conntrack: table full, dropping packet. # conntrack 모듈이란2.6.x 버전이상에는... nf_conntrack 이라는 명칭이며....이하는 ip_conntrackESTABLES 관련이 있으며 현접속상태에 대한 정보를 일정시간동안 시스템에서 기억하는 모듈이다.대게 FTP 접속하고 관련이 있는데....FTP 특성상 접속을 맺는포트 (20번) 데이타 전송포트 (21번)으로분리되어있다보니... 세션이 이루어지고 데이타 전송되는 SRC IP / DST IP 정보를 담고있어야 된다.이에 CONNTRACK 테이블에 해당 정보를 가지고 있음.ex) $IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED
root@backup:/opt/webapps/bacula-5.2.3/etc# ./bconsoleConnecting to Director backup:91011000 OK: backup-dir Version: 5.2.3 (16 December 2011)Enter a period to cancel a command.*statusStatus available for: 1: Director 2: Storage 3: Client 4: AllSelect daemon type for status (1-4):3The defined Client resources are: 1: 1.1.1.169 2: 2.2.2.174 Select Client (File daemon) resource (1-36): 1Connecting to Client 1.1.1.169 at 1.1.1.169:9102 1.1.1.169-fd Version: 5.2.3 (16 December 2011) x86_64-unknown-linux-gnu redhatDaemon started 25-Jul-14 16:16. Jobs: run=25 running=0.Heap: heap=24,576 smbytes=
bacula JobId를 활용하여 복원하기 root@backup:/opt/webapps/bacula-5.2.3/etc# ./bconsoleConnecting to Director backup:91011000 OK: backup-dir Version: 5.2.3 (16 December 2011)Enter a period to cancel a command.*restoreAutomatically selected Catalog: MyCatalogUsing Catalog "MyCatalog" First you select one or more JobIds that contain filesto be restored. You will be presented several methodsof specifying the JobIds. Then you will be allowed toselect which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs where a given F
라이브러리 모듈 위치확인하기 locate 명령어로 모듈 파일위치 찾기 locate 모듈명
rsync + sshpass 조합하여 데이터 동기화 /usr/bin/rsync --rsh="/usr/local/bin/sshpass -f /opt/ps.txt ssh -p ssh.port -T -oStrictHostKeyChecking=no -l root" -av --delete /home/ root@11.11.11.11:/home/ root 패스워드를 사용자만 읽을 수 있도록 퍼미션 조정하고 사용
yum 으로 설치 가능한 패키지 조회하기 yum whatprovides 패키지명
# memcached 관련 명령어 echo stats | nc 123.123.123.123 11211 echo stats settings | nc 123.123.123.123 11211 echo stats slabs | nc 123.123.123.123 11211 echo stats items | nc 123.123.123.123 11211 # memcached 기타 telnet 123.123.123.123 11211 set TestKey 0 10000 2hiSTOREDget TestKeyVALUE TestKey 0 2hiENDquitConnection closed by foreign host.
## ethtool을 이용한 랜카드 속도설정 및 전송모드 설정하기 # 랜카드 설정상태 확인하기 [root@root]#ethtool eth0 # 이더넷 설정내역 -Supported link modes : 지원가능한 링크모드(속도와 전송모드) -Supports auto-negotiation : 자동협상인식기능 지원여부. 지원하고 있느냐의 여부는 아래에 있는 Auto- negotiation의 값으로 결정된다. -Speed : 현재 이 이더넷의 설정속도 -Duplex : 현재 이 이더넷의 전송모드(half는 반이중모드) -Auto-negotiation : 자동협상인식 기능을 지원하고 있을때에 실제로 자동협상에 의해 이더넷 설정을 할 것인가 를 결정하는 것 # 변경하기 [root@root]#ethtool -s eth0 [speed 10|100|1000] [duplex half|full] [autoneg on|off] 리눅스서버에 있는 모든 이더넷을 이와 같은 방법으로 재설정이 가능하다 예) [root@root]#ethtool -s eth0 speed 100 duplex full autoneg on
2017년 7월 일상
2017년 6월 11일 - 대관령 하늘목장 태희네와 함께
2017년 6월 10일 - 동해 태희네와 함께
연수.연호 댄스 연수.연호 댄스 연수.연호 댄스 연수.연호 댄스 연호 재롱부리기 연호 재롱부리기 연수 공차기 연수 공차기
진영. 연준이 토론 연준이 발표 연준이 발표 진영이 발표 진영이 발표