Portal Home > Knowledgebase > Articles Database > Need Help Restoring a Full Backup
Need Help Restoring a Full Backup
Posted by s2shost, 07-31-2004, 06:10 PM |
Does anyone know how to restore a full backup from the cpanel? I did a full backup but when trying to restore, it fails, well at least when trying to restore within the home restore window of the backup panel. There is another option besides restore mysql db, Restore an Alias/Filter Backup, is that were I restore the full backup? I'm not sure what that is. I have tried several times and failed, so i am attempting the ftp. If ftp xfer the file, where should i extract? the last time I did an extract of a full backup there were top directories I have not seen before and had difficulty copying and pasting the directories were need be.
I'm new to all this, any help would be greatly appreciated. Since I'm getting little help from my reseller support on recovering a full backup.
|
Posted by snickn, 07-31-2004, 06:48 PM |
I've found the best way to do this is to do it from command line. Once you upload the fullbackup tarball, ask your host to move it to /home and do:
/scripts/restorepkg
|
Posted by trustedurl.com, 07-31-2004, 06:52 PM |
You don't want to ftp the full backup file as it contains account specific information that shouldn't go in your home account.
The best option is nickn's suggestion or if you're having problems with databases (which occurs sometimes with the cpanel backups) then do this:
1. Telnet/SSH into your old server.
2. Type in the following command:
mysqldump -u username -p database_name > dumpfile.sql
That will prompt you for your password and export the database into a text file.
3. SSH into your idologic account. Now use the previously created text file to recreate the database on our server as follows:
mysql -u username -p database_name < dumpfile.sql
NOTE: The username is your mysql username, not your web account username.
Don't forget to create the database + user to access the database first.
|
Posted by s2shost, 07-31-2004, 07:00 PM |
upload tarball from backup panel? which section?
Restore a Home Backup
Restore an SQL DB
store an Alias/Filter Backup
These are the only options I see to restore, which one for the FULL backup, I know not the sql db, do I restore home or alias for the FULL backup?
|
Posted by trustedurl.com, 07-31-2004, 07:01 PM |
Upload it using FTP to your home account, then you have to request your host to restore the full backup. You'll have to tell them where the full backup was uploaded to in your home account.
|
Posted by s2shost, 07-31-2004, 07:06 PM |
Out of curiosity what is an alias/filter restore?
|
Posted by trustedurl.com, 07-31-2004, 07:09 PM |
I believe those refer to email filters/alias. Alias -> email forward. filter -> email filter setup in cPanel.
|
Posted by s2shost, 07-31-2004, 07:13 PM |
Thanks I will give that a try the file is over 700mb I tried several times with ftp it stopped and i tried home restore, between the two hopefully i will get it restored. Thanks for your support and help.
I'm learning.
|
Posted by trustedurl.com, 07-31-2004, 07:14 PM |
You're best bet would be to FTP and then get the host to restore, I'd say.
|
Posted by trustedurl.com, 07-31-2004, 07:16 PM |
Btw, you host should be able to do this without much trouble. cPanel for end users does have trouble restoring 700MB size'd files in my experience.
|
Posted by Imago, 08-02-2004, 04:49 PM |
There are difficulties with the transfer of VL accounts; restoring from /home goes smoothly.
|
Add to Favourites Print this Article
Also Read
Co Location (Views: 830)