How to backup your whole website program on centos7 and nginx server as soon as possible?Just follow this step by step tutorial
ssh root@ your.server.ip.here
Step 2. My website program folder in /user/local/openresty/ningx/html/. So I typed this command in my terminal .If you use
nginx and apache , just make sure your folder dirctory is correct.
tar -zcvf html.tar.gz /usr/local/openresty/nginx/html/*
step 3. your server would begin to backup automatically ,keep wait until terminal show hashtag # again. And then you would find html.tar.gz in your server root directory
step 4. Now ,you can use Transmit or Yummy Ftp server tools to download to your local computer.
