webmail and database backup

chike

Member
Sep 19, 2009
16
0
51
hello sirs,

i would be changing my web hosting company very soon but i dont know how i could backup my domain emails and databases so that when i re-host my domain, i could re-install them back in my account.

could this be possible, and how do i go about it

thanks for ur help
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
Does your current host allow you to take your own backups? That would contain them.

If not you can use cPanel MySQL manager to download the databases.

If you have ssh you can grab the entire /home/username/mail directory but that would NOT get everything such as the forwarders.

Really the best way would be to get a full cPanel backup or have your new host use the cPanel transfer utility to grab a copy of everything.
 

chike

Member
Sep 19, 2009
16
0
51
thanks a lot sir,

i would ask my new host if they could help me out. and i would also explore my cpanel board to see what i could do by myself.

thanks a million
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
hello sirs,

i would be changing my web hosting company very soon but i dont know how i could backup my domain emails and databases so that when i re-host my domain, i could re-install them back in my account.

could this be possible, and how do i go about it

thanks for ur help
It is possible to obtain a full account backup via cPanel Backup features; this will contain all files necessary to recreate the account on a new server, including databases and e-mails stored on the server. The new service provider can assist with restoring the account in its entirety if they can have access to the full backup; the new host may also use available transfer features in WHM to transfer the entire account in one-step.

Here are the menu paths of the backup features in cPanel:
cPanel: Files >> Backups
cPanel: Files >> Backup Wizard

So that all necessary files are saved it is important to ensure it is a full backup; for additional reference I recommend reviewing our documentation as linked below:
Backups
Backup Wizard
 

linux7802

Well-Known Member
Dec 14, 2007
232
1
68
cPanel Access Level
Root Administrator
Soution

hello sirs,

i would be changing my web hosting company very soon but i dont know how i could backup my domain emails and databases so that when i re-host my domain, i could re-install them back in my account.

could this be possible, and how do i go about it

thanks for ur help
There is no need to worries if you are using cPanel on your existing hosting provider end and as per your query it seems to be that you are using cPanel :) due to that you can download the whole home directory backup on your local machine or you can also ask your existing hosting provider to provide you backup for your hosting account and than reupload it on new server and ask your hosting provider to restore it for you :)

Enjoy cPanel hosting :)
 
Oct 4, 2009
20
0
51
Take a new hosting account on cpanel by new services provider and give the following details to transfer website cpanel to cpanel:

domain name,
ip address,
cpanel user and password

After website transfer cpanel to cpanel do the following:
1) check website at http://newipaddressofdoamin/~cpanelusername/
2) check cpanel at http://newipaddressofdoamin/cpanel/ and go to file manager to check all website data
3) check cpanel at http://newipaddressofdoamin/cpanel/ and go to phpmyadmin to check database
4) If all above correct, go to domain admin panel and change DNS entires according to new hosting provider and it may take 24 to 48 hours for update.
 

chike

Member
Sep 19, 2009
16
0
51
thank u so much, sirs

when i got to my cpanel board, i clicked on 'backups' and i got to the backup page and the options were 'full backup: generate/download a full backup. full backups can only be used for moving your account to another server or keeping a local copy of your account'

the other option was 'home directory: download a home directory backup'

and then the other option was 'download a mysql database backup

and then 'download email domain forwarder or filter backup'

i tried to do a full backup but i didnt understand d options given to me which were: 1) 'backup destination' with options 'home directory', 'remote ftp server', 'remote ftp server - passive mode transfer' and 'secure copy (scp)'. 'home directory' was d default choice and i didnt know which one to choose as i havent bought my new hosting account yet, i am only making preparations for the soon-to-be-effected transfer.

and then the other field for full backup was email address and my email was there already

and then a field box for 'Remote Server (FTP/SCP only)'

and then 'remote server [ftp/scp only]'

and 'remote password [ftp/scp only]'

and then 'remote dir [ftp/scp only]'

and then a button 'generate backup'

as i didnt quite know what to do in full backup, i moved back to the main backup page and the next option was 'home directory: download a home directory backup'. i dont think i needed this so i moved to the next option which was 'download a mysql database backup' and i clicked on my database name and i was prompted either to open or save the file and i chose save and i saved d file on my computer. the file is a compressed zip file with .sql.gz extension.

and the next option was 'download email domain forwarder or filter backup' and i was given the domains names i have on the account cos i have some add-on domains on d account. but i needed to backup d emails i get with two of the domains. under this option i was given two sub-options:

'aliases' and 'filters' and i was given thesame domain names for each.

so for 'aliases' i clicked two of the domains i want to backup their emails and i was prompted again to save or open d file and i chose save and saved d file to my computer, the name of the file this time is aliases-mydomainname.com.gz

and for 'filters' i did same but the file was called filter-mydomainname.com.gz

so i saved my aliases and filters

--

the question i want to ask now is, when i rehost my domain, can i backup my database and emails

and do i need to extract the zip files or do i use the zip file like that during 'restore' cos there was also a restore option for each of the 'backup' steps

--

thanks a million to everybody that took time to give me a helping hand especially cPanelDon cos his response was just apt for me. thank u so much sir
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
... tried to do a full backup but i didnt understand d options given to me which were: 1) 'backup destination' with options 'home directory', 'remote ftp server', 'remote ftp server - passive mode transfer' and 'secure copy (scp)'. 'home directory' was d default choice and i didnt know which one to choose as i havent bought my new hosting account yet, i am only making preparations for the soon-to-be-effected transfer. ...
Assuming you have an FTP client, simply click the "Download or Generate a Full Website Backup" button. On the next page, click "Generate Backup". That's it, nothing else to do.
Now, wait for the email from your account telling you the backup has been generated. Once you get that, login via your FTP client and you'll find the new backup in the root of your account for downloading.
If you don't have an FTP client, find the File Manager in your cPanel and open it. Scroll down the right side of the page to find the backup you created listed there. Click it once, then at top of page find the "Download" icon, click that. Now save this backup to your desktop or where ever you store files.
It's always important to have an up-to-date backup saved locally for safe keeping.

That said, once you've selected your new host and purchased an account, explain to him that you're on a cPanel server right now, and you'd like him to move your account for you. Give him the details for your OLD account and they can login and move the account for you easy enough.

That backup he would create and move for you, is the same backup you have sitting on your desktop we just downloaded earlier.

cPanel makes it easy. :p

GL!