And…putting an emphasis on uid/gid’s for when you really need to keep perms exact:
tar czpvf ../home.tgz --numeric-owner * .*
Note that you don’t need the “p” when you run this as root.
And…putting an emphasis on uid/gid’s for when you really need to keep perms exact:
tar czpvf ../home.tgz --numeric-owner * .*
Note that you don’t need the “p” when you run this as root.