ผู้เขียน หัวข้อ: สอบถามการ gost centOS หน่อยครับ  (อ่าน 3961 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Bkcha

  • Jr. Member
  • **
  • กระทู้: 80
  • Respect: 0
    • ดูรายละเอียด
สอบถามการ gost centOS หน่อยครับ
« เมื่อ: พฤศจิกายน 30, 2012, 09:29:04 AM »
0
ขอวิธีการทำหน่อยครับ ใครพอทราบบอกหน่อยครับผม
ขอบคุณครับ
สำนักงานสาธารณสุขจังหวัด

ออฟไลน์ nongtan

  • Full Member
  • ***
  • กระทู้: 106
  • Respect: +1
    • ดูรายละเอียด
Re: สอบถามการ gost centOS หน่อยครับ
« ตอบกลับ #1 เมื่อ: ธันวาคม 03, 2012, 20:01:53 PM »
0
config ไว้เยอะหรอครับ  ลำพัง  OS+MySQL server  ไม่น่าจะติดตั้งและ config นานนะครับ  ยิ่งตอนนี้มี tool ของอาจารย์ คือตัว Xtrabackup  แทบจะไม่ต้อง config อะไรมากมายเลยนะเนี๊ย :D :D ;D

The best tool to use for this is probably dump, which is a standard linux tool and will give you the whole filesystem. I would do something like this:
*********************************
/sbin/dump -0uan -f - / | gzip -2 | ssh -c blowfish user@backupserver.example.com dd of=/backup/server-full-backup-`date '+%d-%B-%Y'`.dump.gz
**********************************
This will do a file system dump of / (make sure you don't need to dump any other mounts!), compress it with gzip and ssh it to a remote server (backupserver.example.com), storing it in /backup/. If you later need to browse the backup you use restore:
********************************
restore -i
*******************************
Another option, if you don't have access to dump is to use tar and do something like

tar -zcvpf /backup/full-backup-`date '+%d-%B-%Y'`.tar.gz --directory / --exclude=mnt --exclude=proc --exclude=tmp .
ชญานนท์ ร.พ. จิตเวชสงขลาราชนครินทร์
Master(กำลังปลด) : DELL  Ram 32GB HDD-SATA CentOS7MariaDB+TokuDB 10.1.14
Slave1 : HP Ram 8 GB CentOS7 MariaDB+TokuDB 10.1.14
Slave2 : Lenovo Ram 32GB HDD-SAS 400GB 4ลูก  CentOS7  กำลังลง MariaDB+TokuDB แต่ยังไม่ผ่าน
ขึ้นระบบโดย BMS Team เมื่อ 18พ.ค.52
HOSXP 3.