I backed my home directory as I will make this a habit to do every Friday. I have lots of data I can't lose so I made a "tarball" of my only shell users home directory.
I ran the following command...
Code:
tar -cvzf /root/carlos_back.tar.gz /home/carlos
It created a nice 16GB tarball and then I ran the following command...
Code:
stricom:~# chown carlos carlos_back.tar.gz
Now I own the backup file of my home directory but it still shows its under roots group ownership. Can anyone please tell me what else I need to do so I don't have any permission issues if I ever need to un-tar this on a different or same machine? Can "carlos" un-tar this tarball w/o any problems or do I need to be root?
Code:
stricom:~# ls -la
-rw-r--r-- 1 carlos root 16409579611 2006-04-28 14:23 carlos_back.tar.gz