
12-14-2003, 08:20 PM
|
|
Newbie
|
|
Join Date: Dec 2003
Posts: 12
|
|
Backup Please Help
Hi,
I have this huge websie, and i got a backup of it (over 1GB) then now i want to restore the backup, but
(I USED CPANEL BACKUP SOFTWARE THING)
when i go to the same place and try to upload the backup, i leave it for like 3 hours and then there are like 2 files uploaded to the server and its not working any more?
anyone know whats wrong?
would it help to upload the backup file with ftp and try to extract that file USING THAT BACKUP SOFTWARE from shell or something? if this is possible please tell me what command i should use!!!
PLEASE HELLP ME THIS IS REALLY IMPORTANT>...
THANK YOU PEOPLE
|

12-14-2003, 08:49 PM
|
|
Web Hosting Master
|
|
Join Date: Jun 2003
Location: Indiana, US
Posts: 1,354
|
|
cPanel does not support large backups.
|

12-14-2003, 09:00 PM
|
|
Newbie
|
|
Join Date: Dec 2003
Posts: 12
|
|
|

12-14-2003, 09:10 PM
|
|
Web Hosting Guru
|
|
Join Date: Oct 2003
Posts: 329
|
|
|

12-14-2003, 09:13 PM
|
|
Disabled
|
|
Join Date: Mar 2003
Location: Canada
Posts: 9,852
|
|
Do you have a large database to back up or is it mostly files?
|

12-14-2003, 09:14 PM
|
|
Newbie
|
|
Join Date: Dec 2003
Posts: 12
|
|
and how exactly? extract files? last time i did that i had a ton of troubles with permission stuff.
|

12-14-2003, 09:55 PM
|
|
Quant Trader
|
|
Join Date: May 2001
Location: HK
Posts: 2,931
|
|
Just login to ssh as mr.root, tar and create a new archive for each account and ncftp each small chunk to a remote server~ Then when you've done that, untar each file to the proper location~ SEE 'man tar' for info
You probably get time out cos you are running it from HTTP... dun always rely on a cp~ 
|

12-15-2003, 01:47 AM
|
|
Newbie
|
|
Join Date: Dec 2003
Posts: 12
|
|
thanks Yupapa but can you explain that again in plain english? lol newbi.....
 from what you wrote what i get is:
Go to SSH and login as root...
then tar some file? does that mean extract that gz file? but its gz not tar !
then you say ncftp each small chunk to a remote server, "no idea"
the you say untar each file.... okay so what was i taring before?
Just to let you know, I have a gz file and i want to place back on the website.
Sorry for my dumbness.
thank you
|

12-15-2003, 02:19 AM
|
|
learning is in the doing
|
|
Join Date: Sep 2000
Location: Alberta, Canada
Posts: 3,109
|
|
It sounds like the backup is not in your account, but somewhere else? If the backup was not done by Cpanel and on the same Server, then the Restore will probably not work.
You do not have to SSH as root, which you cannot do anyway unless you have that access. No matter which SSH type access you have, as long as you have it for your account you can use it.
So which is the situation; backup was done by Cpanel but on another Server, backup was done by Cpanel on the same Server, or backup was not done at all by Cpanel?
That will help us, to give you better advise.
__________________
PotentProducts.com - for all your Hosting needs
Helping people Host, Create and Maintain their Web Site
ServerAdmin Services also available
|

12-15-2003, 02:37 AM
|
|
Quant Trader
|
|
Join Date: May 2001
Location: HK
Posts: 2,931
|
|
Quote:
Originally posted by abcwonder
thanks Yupapa but can you explain that again in plain english? lol newbi.....
from what you wrote what i get is:
Go to SSH and login as root...
then tar some file? does that mean extract that gz file? but its gz not tar !
then you say ncftp each small chunk to a remote server, "no idea"
the you say untar each file.... okay so what was i taring before?
Just to let you know, I have a gz file and i want to place back on the website.
Sorry for my dumbness.
thank you
|
I am not familiar with that cpanel backup software at all... if you want to restore the backup, just upload the backup file, login to ssh, cd to the path saving the backup file and type tar -xzf the_backup_file.tar.gz and it will extract everything in the .tar.gz file
|

12-15-2003, 10:40 AM
|
|
Newbie
|
|
Join Date: Dec 2003
Posts: 12
|
|
Quote:
Originally posted by Website Rob
It sounds like the backup is not in your account, but somewhere else? If the backup was not done by Cpanel and on the same Server, then the Restore will probably not work.
You do not have to SSH as root, which you cannot do anyway unless you have that access. No matter which SSH type access you have, as long as you have it for your account you can use it.
So which is the situation; backup was done by Cpanel but on another Server, backup was done by Cpanel on the same Server, or backup was not done at all by Cpanel?
That will help us, to give you better advise.
|
Thank you for your help
the back up was gone by cpanel on the same server, but the account was deleted and recreated. and also, I do have root access, the server is my friends and he would give me access if i want.
thank you
|

12-15-2003, 11:11 AM
|
|
learning is in the doing
|
|
Join Date: Sep 2000
Location: Alberta, Canada
Posts: 3,109
|
|
Ok, being as the account was deleted and recreated might cause some problems -- because now, you probably have a different ID number and possibly a different Username as well, I don't know.
I see three possible solutions:
If your account allows for the file size, upload the backup to your Root Directory -- one level above public_html -- and use the Restore feature located in Cpanel > Backup.
---
Find out where the Server does backups and upload your file there. (i.e. /backups/cpanel/daily/). Then use the Restore feature of Cpanel > Backup.
---
In your Root Directory, create a "temp1" dir. Upload the backup file you have to there and unzip it. Then use SSH access as your Username, cd to the "temp1" dir. and type:
tar xzvf name_of_backupfile.tgz
If the file ends with 'gz' then use that, of course, instead of 'tgz' although, I'm not sure how well it will work.
Then you manually transfer the files into the matching directories already setup for your account.
__________________
PotentProducts.com - for all your Hosting needs
Helping people Host, Create and Maintain their Web Site
ServerAdmin Services also available
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|