Code: 
tar -zcf /destination_dir/filename /home/account/public_html
example:
tar -zcf /home/account.tar.gz /home/account/public_html/

extraction similar
tar -zxf
jase07 Reviewed by jase07 on . how to backup the home directory using ssh? I know i can back up the home directory + databases of one account in cPanel, but is there a command like pkgacct that will backup only the home directory? (without databases) Basically, I want to transfer all file from one account to another, with same files/folders permissions. If anyone have any suggestion for me, please post here :) Thank you! Rating: 5