Restore full backup di WHM digunakan untuk mengembalikan seluruh akun cPanel, termasuk file website, database, email, dan konfigurasi server.
Proses ini hanya bisa dilakukan jika Anda memiliki akses root (administrator) ke server WHM.
—
Apa Itu Full Backup cPanel?
Full backup adalah file backup lengkap dengan format .tar.gz yang berisi:
- File website (public_html)
- Database MySQL
- Email dan konfigurasi
- Setting akun cPanel
Restore full backup hanya bisa dilakukan melalui WHM, tidak bisa langsung dari cPanel.
—
Syarat Sebelum Restore
- Akses root WHM
- File backup format: cpmove-username.tar.gz
- File berada di server (contoh: /home atau /root)
- Space server mencukupi (minimal 2x ukuran backup)
Format file harus sesuai standar agar bisa terbaca oleh WHM.
—
Cara Restore Full Backup via WHM (GUI)
- Login ke WHM sebagai root
- Masuk ke menu Transfers → Transfer or Restore a cPanel Account
- Pilih Restore from a local cpmove file
- Pilih file backup (atau isi path manual)
- Klik Restore
Proses restore akan berjalan dan bisa dipantau di menu:
- WHM → Transfers → Review Transfers and Restores
WHM memungkinkan restore berdasarkan akun atau tanggal backup.
—
Cara Restore via SSH (Root)
Login ke server via SSH:
ssh root@IP_SERVER
Jalankan perintah:
/scripts/restorepkg /home/cpmove-username.tar.gz
Atau jika banyak akun:
cd /backup/accounts
for file in *.tar.gz; do
/scripts/restorepkg $file
done
Command ini akan otomatis restore akun lengkap ke server.
—
Lokasi File Backup yang Valid
WHM hanya membaca file dari lokasi tertentu:
/home
/home2
/root
/usr
/web
Jika file tidak berada di lokasi ini, restore bisa gagal.
—
Cara Cek Status Restore
- WHM → Review Transfers and Restores
- Cek log error
- Pastikan tidak ada warning
—
Kendala Umum & Solusi
Restore gagal
- Format file salah
- File corrupt
Website tidak berjalan
- Versi PHP berbeda
- Permission file salah
Database error
- Import tidak sempurna
- Config database tidak sesuai
—
Tips Restore Aman
- Gunakan server dengan resource cukup
- Lakukan restore saat traffic rendah
- Backup ulang sebelum restore
- Test akun setelah restore
—
Kesimpulan
Restore full backup melalui WHM root adalah cara paling lengkap untuk memindahkan atau mengembalikan akun cPanel. Dengan metode ini, seluruh data bisa dipulihkan tanpa perlu konfigurasi manual.
Cara Full Backup dan Restore cPanel (Lengkap & Aman untuk Pemula)