DB (2) 썸네일형 리스트형 MySQL Replication 1. Rsync 1-1. 버전 정보 확인 [irteamsu@new_server ~]$ rpm -qa | grep rsync rsync-3.0.6-12.el6.x86_64 [irteamsu@new_server ~]$ rpm -qa | grep xinetd xinetd-2.3.14-40.el6.x86_64 1-2. 환경설정 및 재시작 [irteamsu@new_server ~]$ sudo cat /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, as it \ # allows crc checksumming etc. service rsync { disable = no flags .. SQLite 백업 파일을 MySQL에 인서트하기 1. 파일 다운로드 $ vi copySqlite.sh #!/bin/bash for i in `seq 1 31`; do no=`printf "%02d" $i` scp irteam@ssingssing2Server:/home1/irteam/backup/backup_202001${no}/backup.sqlite ./vst202001${no}.sqlite done $ chmod 755 ./copySqlite.sh $ ./copySqlite.sh backup.sqlite 100% 3369KB 1.7MB/s 00:02 backup.sqlite 100% 3671KB 3.6MB/s 00:01 backup.sqlite 100% 3590KB 3.5MB/s 00:01 backup.sqlite 100% 4113KB 4.0MB/.. 이전 1 다음