I backed up using:
tar -cvpzf foo.tgz .
I restored using:
tar -C /home/user/restore/ -xvzf foo.tgz
and the permissions aren't kept, what gives?
When I try and run with -p on restore I get:
tar -C /home/user/restore/ -xvzfp foo.tgz
tar: p: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: /home/user/BACKUPS/foo.tgz: Not found in archive
tar: Error exit delayed from previous errors
p.s. I transfered the backup from one computer to another (different users).