FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General FutureQuest Hosting Support
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-22-2012, 01:39 PM   Postid: 181386
Binky
Site Owner

Forum Notability:
61 pts: Helpful Contributor
[Post Feedback]
 
Join Date: Jan 1999
Location: People's Republic of Canada
Posts: 627
download site

What's the quickest and simplest way to zip and download the entire www directory?
Binky is offline   Reply With Quote
Old 05-22-2012, 01:50 PM   Postid: 181387
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,481
Re: download site

Log into the command line with an ssh client and run:
Code:
cd ..
zip -r www www
Now you have a 'www.zip' file in your xdom directory which you can download with an sftp client.
__________________
Kevin
Kevin is online now   Reply With Quote
Old 05-22-2012, 02:01 PM   Postid: 181388
Binky
Site Owner

Forum Notability:
61 pts: Helpful Contributor
[Post Feedback]
 
Join Date: Jan 1999
Location: People's Republic of Canada
Posts: 627
Re: download site

How do I log into the command line from a Mac?
Binky is offline   Reply With Quote
Old 05-22-2012, 02:02 PM   Postid: 181389
 Bob
Service Rep
 
Bob's Avatar
 
Join Date: Dec 1999
Location: Jacksonville, Fl
Posts: 4,876
Re: download site

See if this helps.

http://Service.FutureQuest.net/kba413

-Bob
Bob is offline   Reply With Quote
Old 05-22-2012, 02:13 PM   Postid: 181390
Binky
Site Owner

Forum Notability:
61 pts: Helpful Contributor
[Post Feedback]
 
Join Date: Jan 1999
Location: People's Republic of Canada
Posts: 627
Re: download site

Thank you both!
Binky is offline   Reply With Quote
Old 05-22-2012, 02:28 PM   Postid: 181391
Binky
Site Owner

Forum Notability:
61 pts: Helpful Contributor
[Post Feedback]
 
Join Date: Jan 1999
Location: People's Republic of Canada
Posts: 627
Re: download site

got an error:
Quote:
File size limit exceeded
Binky is offline   Reply With Quote
Old 05-22-2012, 02:55 PM   Postid: 181392
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,481
Re: download site

That means that your web site is too big to be packed into a single zip file.

However, since you are on a Mac which is a type of UNIX system you should have rsync available. If you use rsync you can download the files without packing them into a zip file. Plus, when you decide to download it again later rsync will only download what has changed. In your terminal window instead of using ssh to connect to your domain name try something like this:
Code:
rsync -vaiz --exclude=/www/stats username@domainname:../www ./
When that finishes you will have a complete copy of your www directory on your system. If you run that command again in the future your local copy will be updated by downloading only the newly created files and the changed parts of files that have been modified.

btw, rsync is also using ssh for the communication.
__________________
Kevin
Kevin is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:44 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.