Bagaimana cara Backup Folder VPS

Selanjutnya adalah proses backup direktori website. Sebelum melakukan backup, pastikan pada server Anda sudah terinstall ZIP. Apabila Anda belum menginstall ZIP, gunakan perintah ini untuk memasang ZIP di server Anda..

~# sudo apt-get install zip

Kemudian masuk ke dalam direktori yang ingin Anda backup Pada tutorial ini kami akan membackup direktori WordPress. Masukkan perintah berikut untuk masuk ke direktori yang akan di-backup (Ganti wordpress dengan direktori Anda):

# zip -r wp.zip wordpress/*

Penjelasan Perintah di atas:

  • wp.zip : adalah nama file ZIP
  • wordpress : adalah direktori yang ingin diarsipkan
  • /* : adalah perintah untuk mengarsip apa yang ada dalam direktori WordPress

Untuk memastikan proses backup sukses, Anda bisa mengecek menggunakan perintah berikut:

# ls
Was this answer helpful?

Related Articles

How to turn off the VPS?

Please Login to Mikyhost = > Click VPS Package = > Click Shut Down thanks,

How do I turn on my VPS?

Please Login to Mikyhost = > Click VPS Package = > Click Power on   thanks,

How to Reset VPS Password?

Resetting password on VPS Package Please Login at Mikyhost = > Click VPS Package = > Click...

How to Restart VPS?

How do I restart the VPS? Please Login to Mikyhost => VPS PACKAGE => CLICK REBOOT

How to reinstall/rebuild VPS

Please enter the VPS Panel and click Rebuild and select the images to be reinstalled. thanks,