1. Connect to your server vía SSH


2. On example.com@XX:~$ run some commands below

a. Backup Database


- db Host

- db User

- db Password

- db Name

Ex: host: localhost, user: phpfox, password: 123456, name: phpfox


mysqldump -h 'localhost' -u 'root' --password='123456' 'phpfox' > phpfox.sql (phpfox.sql is the file after backing up)

b. Backup Source code

tar -zcf phpfox.tar.gz /home/phpfox/public_html/

(This process will take long time to compress and in particular detail as how long, it's based on your resource capacity)

Congraturate you on reaching goal!

September 17, 2018
Category: Developers