The user wants to save the website files and download them locally.
One way to do this is to download it with FTP, but slower.
Two ways, is compressed on the site, and then ftp download, also slower.
Three T in the method, is compressed on the site, and then use WINSCP download, this fastest.
How to add a ZIP archive for linux Operations Command
Zip
Enter the directory of files to be compressed:
Zip-r myfile.zip./*
All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.
2.Unzip
Unzip-o-d/home/myfile Myfile.zip
Unzip the Myfile.zip file to/home/myfile2/
-O: Overwrite the file without prompting;
-d:-d/home/myfile2 indicates that the file is extracted to the/home/myfile2 directory.
3. deleting and adding to a compressed file
zip-d Myfile.zip Test.txt
To delete a test.txt file in a compressed file
Zip-m Myfile.zip./rpm_info.txt
Add the Rpm_info.txt file to the Myfile.zip in the compressed file.
Source: http://www.xuexila.com/diannao/xitong/linux/138697.html
You may use, move the file directory,
MV myfile/home/wwwroot/my_bak/
Move the MyFile folder under the current directory to the/home/wwwroot/my_bak/directory
Here also involves the FTP user to open, and permission assignment.
Http://lnmp.org/faq/ftpserver.html
Use the Puerftp method.
Liunx the website files compressed into a ZIP file backup provided to FTP download