cPanel Backup on SSH
How can I get a cPanel Backup (client username backup) on SSH? Commands?
Noting: /scripts/pkgacct username
-
That will backup the given user to the /home folder as long as you are root. 0 -
For Example; [~]# cd /home [~]# tar cvzf username.tar.gz username Thanks. 0 -
For Example; [~]# cd /home [~]# tar cvzf username.tar.gz username Thanks.
Hello :), For the full cPanel account backup you will have to generate account backup with cPanel backup scripts (/scripts/pkgacct username), if you try to create only tar file of user home directory then you can not restore that tar file on other cPanel server and will not get any mysql databases backup of that user in tar file, so it's better to take a full account backup with /scripts/pkgacct command0
Please sign in to leave a comment.
Comments
3 comments