Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Large Web site Whole station package backup method--WDCP Tutorial
My website does not contain a database, the capacity has already exceeded hundred g above. Try a lot of WDCP back to the background of the Web site backup due to too large and timeout, suspended animation and no work. So think of the use of SSH direct packaging compression, but the long wait for SSH packaging compression is really afraid to walk away, for fear of the network suddenly interrupted and naught. At night on the net suddenly saw a screen command can not help but make people overjoyed, immediately landed ssh a try really cool, haha finally can sleep a safe sleep, let it slowly to back up it. The following is a very simple operation, the principle of which is to use the screen command to open a mouth, this window is independent of the operation, not by other programs interference, even if you turn off SSH He is still running until you enter the window to shut it down:
1, our WDCP because the screen is not installed, so the first step is to install screen:
# Yum Install screen
Post-installation prompts Y or N, after you type Y return, the installation succeeds.
2. Run Screen
# Screen-s Tar
After the run window will blink a few, a command-line prompt appears, you can now package compression.
3. Run Package
Note that my site is placed in the home directory in the Web directory, packaging compression will be placed in the backup directory of the site:/home/backup/web.tar.gz
# tar-zcvf/home/backup/web.tar.gz/home/web/*
After execution, you will see the compressed data in the SSH window scrolling quickly, indicating that the work has started, and now we can leave to do something else:
4, with the shortcut key CTRL + A D (that is, hold down CTRL, and then press a,d), you can leave this window, is not scrolling data disappeared? Turn off SSH boldly.
5, if halfway want to see how to do? After landing ssh, run:
# Screen-r Tar
You can go to the window to view, if the compression has finished, enter:
# exit
This prompts: [screen is terminating], which indicates that the screen session was successfully exited and the task ended.
This article by the fine Seven Wolves in Wdlinux forum http://www.wdlinux.cn/bbs/publish the creation, reprint please specify!