You should be root to do this since /home may contain other directories. su # set uid to root cd /home tar czf /tmp/home.tar.gz . The reason I specified /tmp is that you do not want to put the tar archive in the same directory you are archiving. Doing it this way, you will get the entire contents of /home, but with relative patch names so you can easily restore in any directory. On 11 Apr 2002 at 14:12, Dennis Tuchler wrote:
I need information as to how I can produce a tar.gz archive of my home directory, with all files and subdirectories set out so that I can unpack the archive in case I need to replace the /home directory, etc.
I looked in the Howtos, and found no help. The manual pages are inadequate and therefore unhelpful as well.
thanks
dj tuchler
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Jerry Feldman Portfolio Partner Engineering 508-467-4315 http://www.testdrive.compaq.com/linux/ Compaq Computer Corp. 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752