hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Moving Site Gzipped Files
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

Moving Site Gzipped Files

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-08-2005, 09:06 PM
uamuzeme uamuzeme is offline
Newbie
 
Join Date: Apr 2005
Posts: 20
Question

Moving Site Gzipped Files


First of all. I have found answers to almost every question I've had on this forum. And I'm happy no one just says RTFM.

Ok, I'm moving a site from an unknown set up to cpanel on a vps. All I have from the old host is a gzip of the files and folders. Not of the account information. I want to know if I can use SSH to grab the files from the old host and unzip them on the new host. So I don't have to download/upload them, I'm lazy like that.

I did find an old post that explaned a little:
Quote:
ssh to the old server


for the php, html...etc... i use

tar cf public_html.tar public_html

for the databases

mysqldump --opt -uUSERNAME -p databasename > /path/to/dump.sql

move them to a folder and tar cf again...

after that... try gzip to compress more


now you will have all the data....it's time to restore them on the new server

ssh to the new server

wget h**p://the_old_server_file....

on your directory

to extract gz use

tar -zxvf whatever.gz

when you want to restore your databases... use

mysql -uUSERNAME -p newdbname < /path/to/dump.sql

good luck
Would this method work for what I'm doing? I'm new to SSH but I'm a quick learner.

Thanks for the help!

Reply With Quote


Sponsored Links
  #2  
Old 04-08-2005, 10:32 PM
uamuzeme uamuzeme is offline
Newbie
 
Join Date: Apr 2005
Posts: 20
Never mind, the old host doesn't want to corporate. I'll just plod through in ftp.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
NetDNA Gives Site Managers Granular Control over Content with New EdgeRules Service Web Hosting News 2013-01-22 13:35:47
Attunity CloudBeam Allows AWS Customers to Transfer Big Data Across S3 Regions Web Hosting News 2012-07-23 16:45:57
Pancake.io, DropPages Let Users Host Web Site Files on DropBox Blog 2011-12-08 17:03:11
Web Host Hosting Ireland Launches Online Backup Service CloudBox Web Hosting News 2011-09-27 20:00:52
Web Host Future Hosting Adds New Features to CDN Web Hosting News 2011-06-16 17:30:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?