centos7

centos7

1188
Views

How to backup your whole website program on centos7 and nginx server as soon as possible?Just follow this step by step tutorial

OthersLuboff posted the article • 1 comments • 1188 views • 2019-03-11 22:17 • data from similar tags

Step 1.  Login your server via terminal , I use ssh , so I typed 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. view all
Step 1.  Login your server via terminal , I use ssh , so I typed 
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



屏幕快照_2019-03-11_下午7.25_.04_.png






step 4. Now ,you can use Transmit or Yummy Ftp server tools to download to your local computer.
1188
Views

How to backup your whole website program on centos7 and nginx server as soon as possible?Just follow this step by step tutorial

OthersLuboff posted the article • 1 comments • 1188 views • 2019-03-11 22:17 • data from similar tags

Step 1.  Login your server via terminal , I use ssh , so I typed 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. view all
Step 1.  Login your server via terminal , I use ssh , so I typed 
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



屏幕快照_2019-03-11_下午7.25_.04_.png






step 4. Now ,you can use Transmit or Yummy Ftp server tools to download to your local computer.