View Single Post

  #2 (permalink)  
Old 06-22-2006, 03:05 PM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Make a backup of /home/foo directory (GNU tar version):
Code:
tar -zcvf /tmp/backup.tar.gz /home/foo
OR
Code:
tar -jcvf /tmp/backup.tar.bz2 /home/foo
UNIX tar version:
Code:
tar cvf /tmp/backup.tar /home/foo
See the detailed tutorial for more info:
How do I Compress a Whole Linux or UNIX Directory -> http://www.cyberciti.biz/faqs/2006/0...ux-or-unix.php
and
http://www.cyberciti.biz/faqs/2006/0...gh-network.php
Reply With Quote