it is possibile to save a FULL backup of cpanel, while logged via SSH as cpanel user (not root user)
via cpanel api it is possibile, but only with root access
is there another way? it should be possibile, as it is for the user logged in cpanel normally…
2
Answers
You cannot save a full backup of a cpanel account using ssh as cpanel user. As you know, pkgacct script is used to take a full account backup and this command is not available for non root users. You can read more about this from below cpanel forum:
https://forums.cpanel.net/threads/backup-pkgacct-as-non-root-user.551071/
first of all you need to generate the full backup of your cpanel then you can save it in your local disc via ssh command.
like this
scp -P 7822 /c/users/mh/desktop/Email/Migration/xyz.zip [email protected]:/home/xyz/xyz.com.pk/