The Arcive of vBulletin Modifications Site. |
|
how do i restore files from old host to new host? Details »»
|
|||||||||||||||||||||||||||
|
how do i restore files from old host to new host?
Developer Last Online: Feb 2012
i just recently (30 mins ago) bought a new host due to my current host closing down shop. So i want to backup my public_html folder and switch it to the new host. But how do i do this? I'm clueless when it comes to this server crap!
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
The only way i know is to download the public_html folder to your computer using your ftp program, then reupload to your new server...
|
|
#3
|
|||
|
|||
|
Do you have SSH access? If not try getting it. If you cant get it. you'll have to do as bashy said,
Dump It Code:
mysqldump -u username -p -h localhost database_name > database_name.sql Code:
tar cvf folder.tar folder_you_want_to_backup Code:
scp folder.tar username@new_host_ip_adress:/path/to/new/web_root Code:
tar xvf folder.tar Code:
mysql -u username -p -h localhost database_name < database_name.sql
|
|
#4
|
|||
|
|||
|
Damn, i thought ya could do it using SSH but i dont think i will ever bother lol
I just leave mine to download for a day or so, then upload for 2 days or so lol Using SSH could you transfer from server to server? is that what im seeing in your example? I spose that would pretty darn quick? |
|
#5
|
|||
|
|||
|
well i came to figure, i could just save the public_html folder and upload the files that are in this one to the new host public_html folder and it will work, right?
|
|
#6
|
|||
|
|||
|
Yes you are 100% correct, although, there may need ot be a little configuring.
See how you get on 1st, if theres any errors when completed post here the errors and will take it from there! |
|
#7
|
|||
|
|||
|
ok bashy thanks, ill let you know how it goes
|
|
#8
|
|||
|
|||
|
Quote:
Yes, I transfered roughly 20+gb the other day from one server to the next in about 30 minutes or so i think it was. That was on a 100mbps, sure beats waiting days for downloads, and more days to reupload |
|
#9
|
|||
|
|||
|
well, i put all my files on the new host, and ran the install process of my new board. It's basically completley new. I looked in phpMyAdmin and there were no tables b4 i installed. So i made a backup of my board maybe 2 days ago (thank God). I'm attempting to restore my tables and everything else. So i goto:
phpMyAdmin > Import > Browse File select my "vbulletin.sql" then character set of file "utf8" correct? This will complelety restore everything? If not, tell me what i do? I have my vbulletin.sql file updated, so what do i gotta do to restore everything THANKS! nevermind... i did just that and it worked! I'm back up baby! ***************************** i looked at it when it was done, and here's what it says Quote:
|
![]() |
|
|