Initiate backup for a user via command

rotame

Member
Sep 20, 2006
19
2
153
Athens,Greece
cPanel Access Level
Root Administrator
Hi,

How can initiate a full backup for 1 account via COMMAND as root without need account data and store that to specific directory ( /backup/fullbackup/ )into server ? :confused:

cpanel version latest stable version
os centos latest version
 
Last edited:

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
Hi,

How can initiate a full backup for 1 account via COMMAND as root without need account data and store that to specific directory ( /backup/fullbackup/ )into server ? :confused:

cpanel version latest stable version
os centos latest version
/scripts/pkgacct username ; mv cpmove-username.tar.gz /path/to/folder

where username is the cPanel username of the account whose backup you want to generate. This will generate the backup of the account in the /home partition and move it to the folder you specify.
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
Just wondering if it will also include mysql database backup?
 

apscinsspl

Well-Known Member
Mar 15, 2008
112
0
66
Hello,

Yes it will include entire account backup including the mysql database and emails.