Virtualmin merupakan software open source untuk menajemen web server atau web controlpanel. Selain open sourec Virtualmin juga Gratis (free). Salah satu fitur yang menarik di Virtualmin adalah Backup dan restore. Fitur ini ada di modul bawaan ketika install virtualmin. Menu utamanya Backup and Restore dengan submenu : Scheduled Backups, Backup Virtual Servers, Backup Logs dan Restore Backup.
Fitur ini bermanfaat untuk mem-backup isi web kita baik secara otomatis atau manual. Selain membackup, file hasil backup bisa di restore kembali jika ada masalah dengan web. Beberapa fitur Backup yang disediakan antara lain :
- Pemilihan web yang akan di backup, semua, salah satu atau sebagian saja (gambar 1)
- Pemilihan layanan apa saja yang akan dibackup, misal databse, email atau semua.
- Pemilihan lokasi simpan untuk backup bisa 1 atau beberapa lokasi sekaligus misal: lokal, remote server (SSH atau FTP) atau keduanya (gambar 2.).
- File bisa diatur dengan "strftime-style time substitutions on file or directory name"
- Reporting hasil backup gagal/berhasil bisa di bertahukan ke email.
- Pemilihan skedul : harian, mingguan, bulanana atau custome.
- Menghapus file backup (lama) secara otomatis, misal hapus file backup yang berumyserver12 loebih dari 30 hari.
[caption id="attachment_2459" align="aligncenter" width="569"] Gambar 1. Pemilihan website yang akan dibackup[/caption]
Fitur Log :
- File catatan (log) bisa dilihat setiap saat.
- Bisa lihat secara detail log berupa : Destination, Backup contents, Started, Run time, Final size, Status.
[caption id="attachment_2460" align="aligncenter" width="687"] Gambar 2. Pemilihan Lokasi backup[/caption]
Fitur Restore :
- Restore (mengembalikan web server dari file backup) bisa bersumber dari : Local file or directory FTP server, SSH server atau Upload to server (gambar 3)
- Bisa memilih layanan apa saja yang akan di restore.
[caption id="attachment_2458" align="aligncenter" width="684"] Gambar 3. Restore dari file backup[/caption]
Berikut sebuah log dari skedul backup yang jalan harian :
Backup destination Local file /home/backup/harian_20121124
Virtual servers included myserver1.domain , myserver12.myserver1.domain
Executed via Scheduled backup Run by web user None (scheduled or command line)
Started at 24/Nov/2012 00:00 Completed at 24/Nov/2012 00:04
Final backup size 1.47 GB Run time 04 minutes, 32 seconds
Backup type Full Final status Succeeded
Full backup output
Creating backup for virtual server myserver1.domain ..
Copying virtual server configuration .... done
Backing up Cron jobs .... none defined.
Copying records in DNS domain .... done
Saving mail aliases .... done
Saving mail and FTP users .... done
Backing up all mail files .... none to backup
Backing up mail and FTP user Cron jobs .... none to backup
Copying Apache virtual host configuration .... done
Copying Apache log files .... done
Copying Webalizer configuration files .... done
Copying Logrotate configuration .... done
Dumping MySQL database elearning .... done
Dumping MySQL database e_umby .... done
Backing up Webmin ACL files .... done
Creating TAR file of home directory .... done
Creating backup for virtual server myserver12.myserver1.domain ..
Copying virtual server configuration .... done
Backing up Cron jobs .. .. none defined.
Copying records in DNS domain .. .. done
Saving mail aliases .... done
Saving mail and FTP users .... done
Backing up all mail files .... none to backup
Backing up mail and FTP user Cron jobs .. . none to backup
Copying Apache virtual host configuration .... done
Copying Apache log files .... done
Copying Webalizer configuration files .... done
Copying Logrotate configuration .... done
Dumping MySQL database myserver12 .... done
Backing up Webmin ACL files .... done
Creating TAR file of home directory .... done
Uploading archive to SSH server My-remote-server.domain .... done
2 servers backed up successfully, 0 had errors.
Deleting backups older than 14 days ..
Deleting directory /home/backup/harian_20121109, which is 15 days old .... deleted 1.45 GB... deleted 1 old backups
Deleting backups older than 14 days ..
Deleting file /home/backup/harian_20121109 via SSH, which is 14 days old .... deleted 4 kB... deleted 1 old backups
Blognya bagus, mas.
ReplyDeleteSalam kenal dan kalau sempat mampir sekalian mengundang untuk gabung bareng teman2 yang sdh SUBMIT URL BLOG-nya ke Direktori Weblog Indonesia.
Direktori Weblog Indonesia » terima kasih, salam kenal :)
ReplyDelete