backing up home directory

Joseph C. Lininger jbahm at pcdesk.net
Sun Jul 22 23:43:16 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Try:

tar -cjvfn file.tar.bz2 /home

c=create archive
j=compress with bzip2
v=verbose
f=write archive to file

When you go to extract this, make sure you include -p in your options,
which causes it to set protection information (owner and permissions).
Joe

Christopher Moore wrote:
> Hello,
> I want to back up my home directory and move it into its own partition.  
> I'm thinkig of using tar to accomplish this.  What flags do I need in 
> order to preserve the file permissions and dot files?
> 
> Thanks
> Chris
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGpCPUJ6dqn0mqPbARAwFoAKCQ3QP2uGu9sLX3Y1EmSfxj8VJj2QCgwWu9
Ag/lz4HsUsxe+whTgvCF19w=
=ypan
-----END PGP SIGNATURE-----




More information about the Speakup mailing list