You can compress recursively a folder keeping ownership and permissions using the following example
1 |
tar cvpzf myfolder.tar.gz /home/myfolder |
You can compress recursively a folder keeping ownership and permissions using the following example
1 |
tar cvpzf myfolder.tar.gz /home/myfolder |