Kenapa Backup Itu Bukan Option — Ia Wajib
By Azizol Hafizi · Jun 2026 · 8 min read
"Backup? Nanti la buat — server kita stable je." Ayat ni aku dah dengar banyak kali. Dan setiap kali orang cakap macam tu, dalam hati aku dah tau — sooner or later, dia akan regret.
Selepas 15+ tahun dalam industry ni, aku dah tengok sendiri apa jadi bila server crash, data corrupt, atau kena ransomware — tanpa backup. Trust me, you don't want to be in that situation. Jom aku breakdown kenapa backup tu wajib, dan macam mana nak buat dengan betul.
📐 Rule Asas — 3-2-1 Backup Strategy
Sebelum masuk detail, kena faham dulu golden rule backup:
3
Copies of Data
Simpan 3 salinan data kau — original + 2 backup
2
Different Media
Guna 2 jenis storage berbeza — contoh HDD + Cloud
1
Offsite Copy
Sekurang-kurangnya 1 salinan kena offsite — jauh dari server utama
💡 Simple example: Data kat server (1) + backup kat NAS local (2) + backup kat cloud storage macam S3 atau Backblaze (3). Kalau datacenter banjir pun, offsite copy kau still selamat.
🖥️ Server / VPS Backup
Untuk Linux/Windows standalone server atau VPS
rsync — Simple tapi Powerful
Untuk Linux server, rsync adalah tool paling reliable untuk sync files ke remote location. Boleh schedule via cron job setiap malam.
# Backup /var/www ke remote server
rsync -avz /var/www/ user@backup-server:/backup/www/
# Dengan delete files yang dah takde
rsync -avz --delete /var/www/ user@backup-server:/backup/www/
Automated Daily Backup via Cron
Set cron job supaya backup jalan automatic setiap malam — kau tak perlu ingat nak buat manual.
# Edit crontab
crontab -e
# Backup setiap malam pukul 2am
0 2 * * * rsync -avz /var/www/ user@backup:/backup/www/
Windows Server — Wbadmin
Windows Server ada built-in backup tool. Boleh backup ke network share atau external drive.
# Backup system state
wbadmin start systemstatebackup -backupTarget:\\server\backup
# Check backup status
wbadmin get status
🌐 cPanel & Plesk Backup
Untuk web hosting environment
cPanel — Full Backup via WHM
WHM ada Backup Configuration yang boleh schedule automatic backup untuk semua cPanel accounts. Aku recommend backup daily untuk files, weekly untuk full account backup.
WHM → Backup → Backup Configuration
✅ Enable backup — On
✅ Backup type — Compressed
✅ Daily backups — Retain 7 days
✅ Remote destination — FTP/S3/SFTP
Plesk — Backup Manager
Plesk ada Backup Manager yang straightforward. Boleh backup ke local storage atau remote FTP/S3. Aku selalu setup remote backup ke S3-compatible storage untuk offsite copy.
Plesk → Tools & Settings → Backup Manager
✅ Schedule — Daily
✅ Store — Remote Storage (S3/FTP)
✅ Retain — 14 copies
✅ Notify — Email on failure
☁️ VM Backup — Nutanix & VMware
Untuk virtual machine environment
Nutanix — Built-in Data Protection
Nutanix ada native data protection yang sangat solid. Guna Protection Policies untuk schedule snapshot dan replication ke remote cluster.
Prism Central → Data Protection → Protection Policies
✅ Local snapshot — Every 1 hour, retain 24
✅ Remote replication — Daily, retain 30 days
✅ App-consistent snapshot — Enable
✅ RPO target — 1 hour
VMware — vSphere Snapshot + Veeam
VMware snapshot bagus untuk short-term, tapi untuk proper backup kau perlu Veeam Backup & Replication. Ini industry standard untuk VMware environment.
Veeam Best Practice
✅ Full backup — Weekly (Sunday)
✅ Incremental backup — Daily
✅ Backup copy job — Offsite/tape
✅ Test restore — Monthly
⚠️ Paling Penting — Test Your Restore!
Ramai yang buat backup tapi tak pernah test restore. Ini mistake yang sangat berbahaya. Backup yang tak pernah di-test adalah backup yang tak boleh dipercayai.
Test restore satu VM atau satu cPanel account ke test environment
Full DR drill — simulate server failure dan restore dari backup
Verify backup berjalan lepas sebarang major infrastructure change
💡 Bottom line: Backup bukan pasal IF something goes wrong — ia pasal WHEN. Dalam dunia IT, bukan soal sama ada disaster akan berlaku, tapi bila. Setup backup yang proper sekarang, sebelum kau menyesal kemudian.