Backup ubuntu server 14.04 dengan Remastersys

Install Remastersys

add ppa  https://launchpad.net/~kranich/+archive/ubuntu/remastersys

root@serveraldy:~# add-apt-repository ppa:kranich/remastersys
 
 More info: https://launchpad.net/~kranich/+archive/ubuntu/remastersys
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpxilluew8/secring.gpg' created
gpg: keyring `/tmp/tmpxilluew8/pubring.gpg' created
gpg: requesting key 0CF0CF25 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpxilluew8/trustdb.gpg: trustdb created
gpg: key 0CF0CF25: public key "Launchpad PPA for ek0892" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

cek di /var/lib/apt/lists/ pastikan ada sourcelist
ppa.launchpad.net_kranich_remastersys_ubuntu_dists_trusty_InRelease
ppa.launchpad.net_kranich_remastersys_ubuntu_dists_trusty_main_binary-amd64_Packages
ppa.launchpad.net_kranich_remastersys_ubuntu_dists_trusty_main_binary-i386_Packages
ppa.launchpad.net_kranich_remastersys_ubuntu_dists_trusty_main_i18n_Translation-en
ppa.launchpad.net_mc3man_trusty-media_ubuntu_dists_trusty_InRelease

jika tidak ada tambahkan di /etc/apt/sources.list

deb http://ppa.launchpad.net/kranich/remastersys/ubuntu trusty main

save dan exit kemudian update,

root@serveraldy:~# apt-get update

kemudian jika tidak ada error install remastersys

root@serveraldy:~# apt-get install remastersys
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following packages were automatically installed and are no longer required:
 linux-headers-3.13.0-76 linux-headers-3.13.0-76-generic
 linux-image-3.13.0-76-generic linux-image-extra-3.13.0-76-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
 alsa-base alsa-utils apt-clone archdetect-deb bogl-bterm btrfs-tools casper
 cifs-utils cryptsetup cryptsetup-bin dbus-x11 dialog discover discover-data
 dmraid dpkg-repack ecryptfs-utils keyutils kpartx kpartx-boot libasound2
 libasound2-data libcrypt-passwdmd5-perl libcryptsetup4 libdebian-installer4
 libdevmapper-event1.02.1 libdiscover2 libdmraid1.0.0.rc16 libecryptfs0
 libicu52 libnspr4 libnss3 libnss3-1d libnss3-nssdb libpciaccess0
 libsamplerate0 linux-sound-base localechooser-data lvm2 mkisofs mtools
 python3-icu python3-pam python3-xkit rdate sbsigntool squashfs-tools
 syslinux syslinux-common ubiquity ubiquity-casper ubiquity-frontend-debconf
 ubiquity-ubuntu-artwork ubuntu-drivers-common user-setup watershed xresprobe
Suggested packages:
 apmd alsa-oss oss-compat winbind opencryptoki zescrow-client
 libasound2-plugins thin-provisioning-tools cdrecord floppyd python3-pam-dbg
 remastersys-gtk python3-aptdaemon.pkcompat
The following NEW packages will be installed:
 alsa-base alsa-utils apt-clone archdetect-deb bogl-bterm btrfs-tools casper
 cifs-utils cryptsetup cryptsetup-bin dbus-x11 dialog discover discover-data
 dmraid dpkg-repack ecryptfs-utils keyutils kpartx kpartx-boot libasound2
 libasound2-data libcrypt-passwdmd5-perl libcryptsetup4 libdebian-installer4
 libdevmapper-event1.02.1 libdiscover2 libdmraid1.0.0.rc16 libecryptfs0
 libicu52 libnspr4 libnss3 libnss3-1d libnss3-nssdb libpciaccess0
 libsamplerate0 linux-sound-base localechooser-data lvm2 mkisofs mtools
 python3-icu python3-pam python3-xkit rdate remastersys sbsigntool
 squashfs-tools syslinux syslinux-common ubiquity ubiquity-casper
 ubiquity-frontend-debconf ubiquity-ubuntu-artwork ubuntu-drivers-common
 user-setup watershed xresprobe
0 upgraded, 58 newly installed, 0 to remove and 108 not upgraded.
Need to get 24,4 MB of archives.
After this operation, 83,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

tekan Y kemudian Enter , dan tunggu proses selesai , berikut proses instalasi remastersys

remastersys-10 remastersys-9

jalankan remastersys

Ok , jika proses selsai , kita bisa coba langsung  jalan kan remastersys nya

root@serveraldy:~# remastersys
grep: /etc/init.d/remastersys-firstboot: No such file or directory
Usage of remastersys 3.0.3-1 is as follows:
 
 sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
 
 
Examples:
 
 sudo remastersys backup (to make a livecd/dvd backup of your system)
 
 sudo remastersys backup custom.iso
 (to make a livecd/dvd backup and call the iso custom.iso)
 
 sudo remastersys clean (to clean up temporary files of remastersys)
 
 sudo remastersys dist (to make a distributable livecd/dvd of your system)
 
 sudo remastersys dist cdfs
 (to make a distributable livecd/dvd filesystem only)
 
 sudo remastersys dist iso custom.iso
 (to make a distributable iso named custom.iso but only
 if the cdfs is already present)
 
 cdfs and iso options should only be used if you wish to modify something on the
 cd before the iso is created. An example of this would be to modify the isolinux
 portion of the livecd/dvd

karena saya ingin membuat file.iso dari ubuntu server , saya akan gunakan

remastersys dist yang nanti akan membentuk file custom-dist.iso

root@serveraldy:~# remastersys dist

remastersys-5

remastersys-6

remastersys-8

 

jika sudah selsai download file custom-dist.iso , file ada di /home/remastersys/remastersys   kemudian kita tes , (bisa dites di virtual mesin semacam virtualbox dll).

Clean Up

terakhir jika iso file sudah di amankan , kita bisa melakukan clean up dengan tujuan menghapus file-file temperory pada saat proses remastering

root@serveraldy:~# remastersys clean
Removing the build directory now...
Done...Exiting
root@serveraldy:~# cd /home/remastersys/
root@serveraldy:/home/remastersys# ls
root@serveraldy:/home/remastersys#

silakan di coba , mudah-mudah bisa sukses ,amin  🙂

referrensi

http://www.ubuntugeek.com/creating-custom-ubuntu-live-cd-with-remastersys.html

 

 

No Comments, Be The First!

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.