How to create an archive file under Linux?
July 20th, 2006
If you have shell access to your web site you might find this command useful. I use it to archive my web site. It comes handy especially if you have hundreds of files on the server, so downloading them via FTP would take very long.
You log in to your shell account with an SSH client (I use PuTTY). Then you navigate to the folder whose content you wish to archive. The following will create a Tar archive file of the entire folder including sub folders.
tar -czvf archive_name *

December 12th, 2006 at 9:35 pm
tar -cf arch.tar arch
bzip -c -9 arch.tar > arch.tar.bz2
dd if=/dev/hda of=dev_hda bs=1024
December 20th, 2008 at 12:13 am
Qualitative resource