Web Hosting Talk







View Full Version : Help Zipping all files on the server?


webleo
07-19-2001, 10:43 AM
I have heard that there is a way to tar all files on the server and then restore it on another. Could someone tell me how to accomplish that on a Linux server using telnet? Maybe someone could point me to an online guide? Any help is appreciated.

mlovick
07-19-2001, 01:40 PM
There is much more to it but the basic commands for tar are:

bash$ tar czf server.tar.gz /directoryToBackup

to restore:

bash$ tar zxvfp server.tar.gz


But be very very carefull.

For more info on tar just type :

bash$ man tar

node9
07-19-2001, 02:17 PM
bad part is if your file system is ext2, the file can only be 2 gigs max :(

i hate that.