Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Sponsored Reviews   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-07-2006, 02:16 AM   #1 (permalink)
v7n Mentor
 
JamieJelly's Avatar
 
Join Date: 03-09-06
Location: London UK
Posts: 2,796
iTrader: 0 / 0%
JamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest order
any way to download all website files?

Ok it isnt a dedicated server, but a client has a VPS account with SSH. They don't have an offline copy of their site which I need, is there some bash command to grab all files from a folder and zip it so I can download it?
__________________
Bank charges
JamieJelly is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-07-2006, 03:43 AM   #2 (permalink)
Contributing Member
 
Will.Spencer's Avatar
 
Join Date: 01-05-05
Posts: 314
iTrader: 0 / 0%
Latest Blog:
None

Will.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web pro
There are zillions of options.

Here is one I often use:
Code:
tar zcvf BACKUP.tar.gz .
z says "compress with gzip"
c says "create a tar file"
v says "echo each file name as it is processed"
f says "put the data into a file"

Do this from the highest level directory which you wish to backup.

Then, on the destination server, all you need to do is:
Code:
tar zxvf BACKUP.tar.gz
__________________
Political Humor | Famous Quote
Will.Spencer is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-07-2006, 04:09 AM   #3 (permalink)
v7n Mentor
 
JamieJelly's Avatar
 
Join Date: 03-09-06
Location: London UK
Posts: 2,796
iTrader: 0 / 0%
JamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest order
only a zillion eh?

thanks very much, worked a treat. Didn't work at first as I forgot the . at the end.
__________________
Bank charges
JamieJelly is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-07-2006, 05:47 AM   #4 (permalink)
Inactive
 
ali_420's Avatar
 
Join Date: 06-16-06
Posts: 268
iTrader: 0 / 0%
Latest Blog:
None

ali_420 is on the right pathali_420 is on the right pathali_420 is on the right path
There's also a download manager which lets you download complete websites to your hard disk.
ali_420 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-09-2006, 01:30 PM   #5 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
If you use WHM, you could also do the account transfer option..

I remember when I was a reseller and he sucked so bad I manually did a server -> server transfer using cPanel's backup option, a real pain..
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 11:05 AM   #6 (permalink)
Inactive
 
Join Date: 08-04-06
Location: Massachusetts
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

cwallenstein is liked by many
The option pointed out by Will.Spencer is SO useful that we use it in a simple script for automated off-site back-ups as well.

Just a cron job that tars a whole folder and scp's it to a remote site during low-usage periods for our site.
cwallenstein is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 11:20 AM   #7 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
Quote:
Originally Posted by cwallenstein
The option pointed out by Will.Spencer is SO useful that we use it in a simple script for automated off-site back-ups as well.

Just a cron job that tars a whole folder and scp's it to a remote site during low-usage periods for our site.
Can you give a link or something for me to look at?
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 11:38 AM   #8 (permalink)
Inactive
 
Join Date: 08-04-06
Location: Massachusetts
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

cwallenstein is liked by many
Here is an article describing the jist:

http://linux.ittoolbox.com/code/arch...i=6&d=2255&a=s

The only part missing is the actual scheduling of the script, for which you can look at this setup article for using cron and crontab:

http://www.clickmojo.com/code/cron-tutorial.html
cwallenstein is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 11:40 AM   #9 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
oh, nice!
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-29-2006, 03:20 AM   #10 (permalink)
Inactive
 
Join Date: 07-12-06
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

RandomCl is liked by many
You can use a simple software to download your website's files and database: Outsite-in. It makes a perfect dynamic copy of your website on your PC or CD-Rom.

OutSite-In can also be piloted automatically by a command line function and respond that way to your need.

Regards,

Claudia.
RandomCl is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-02-2006, 08:38 AM   #11 (permalink)
sim
Banned
 
Join Date: 01-23-04
Posts: 2,367
iTrader: 0 / 0%
Latest Blog:
None

sim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nice
Quote:
Originally Posted by ali_420
There's also a download manager which lets you download complete websites to your hard disk.

i should download a copy of V7N on my HD. =)
sim is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-03-2006, 04:58 AM   #12 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
If you wanna download your site via http, best tool is: Teleport Pro (Google for it)
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-03-2006, 11:37 PM   #13 (permalink)
Contributing Member
 
Will.Spencer's Avatar
 
Join Date: 01-05-05
Posts: 314
iTrader: 0 / 0%
Latest Blog:
None

Will.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web proWill.Spencer is a highly respected web pro
Be careful with some of these tools.

Many of these tools are designed for users to make offline copies of websites, and are completely useless as web site backup tools.

For example, if I were to run one of these tools on my web sites, they would merge all of my include files into the visible files. Each visible file would grow in size and become inseperable from it's include files. The end result would be viewable, but it would never be recoverable.

Think about rebuilding a forum when you have a users-view of all of the messages, but you haven't actually backed up the forum software. This is not useful at all in a situation where you have lost the data on your server.

Don't fool yourself into believing that the over-the-web tools listed here are backup tools. You will be very unhappy.
__________________
Political Humor | Famous Quote
Will.Spencer is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-04-2006, 01:14 PM   #14 (permalink)
sim
Banned
 
Join Date: 01-23-04
Posts: 2,367
iTrader: 0 / 0%
Latest Blog:
None

sim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nice
Quote:
Originally Posted by Will.Spencer
Be careful with some of these tools.

Many of these tools are designed for users to make offline copies of websites, and are completely useless as web site backup tools.

For example, if I were to run one of these tools on my web sites, they would merge all of my include files into the visible files. Each visible file would grow in size and become inseperable from it's include files. The end result would be viewable, but it would never be recoverable.

Think about rebuilding a forum when you have a users-view of all of the messages, but you haven't actually backed up the forum software. This is not useful at all in a situation where you have lost the data on your server.

Don't fool yourself into believing that the over-the-web tools listed here are backup tools. You will be very unhappy.
good explanation =)
sim is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-05-2006, 08:17 AM   #15 (permalink)
Inactive
 
Join Date: 07-12-06
Posts: 9
iTrader: 0 / 0%
Latest Blog:
None

danielbruzual is liked by many
Thanks a lot for the code and explanation Will Spencer.

I am not very good with bash commands but your post made it very clear.

Thanks,

Daniel
danielbruzual is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-06-2006, 03:16 PM   #16 (permalink)
Contributing Member
 
megamoose's Avatar
 
Join Date: 06-04-06
Location: Northern Ireland
Posts: 482
iTrader: 2 / 100%
Latest Blog:
None

megamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nicemegamoose is just really nice
Send a message via MSN to megamoose
Please also remember if you're "backing up" your site via an HTTP downloading program you will not be able to get PHP code and MySQL/Database information, as it will only be able to download the outputted data sent from the server.

The only way to create a good backup of your stuff is through your servers control panel. cPanel is great for doing this as there is a backup option in you port 2082 control panel page

Mark
__________________
Mark Wylde
MegaMoose Networks
http://www.megamoose.net | Cheap Dedicated Server
megamoose is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-22-2006, 10:00 AM   #17 (permalink)
Inactive
 
Join Date: 10-22-06
Location: Cumbria, UK
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

techpro is liked by many
If you would like a nice easy to use tool that lets you do cPanel backups without having to log in to cPanel each time, and even automate the backups using the Windows Task Scheduler, take a look at Site Backup CP.
techpro is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-27-2006, 09:40 AM   #18 (permalink)
Inactive
 
Join Date: 10-16-06
Posts: 16
iTrader: 0 / 0%
Latest Blog:
None

setec is liked by many
Quote:
Originally Posted by RandomCl View Post
You can use a simple software to download your website's files and database: Outsite-in
OutSite-In violates MySQL Dual Licensing, Inno Setup and Adobe Player EULAs.
It contains MySQL GPL Code without an OEM Licensen and it contains distributing third party components without fulfilling their license requirements.

Don't trust a company that uses other software in violation of relative licenses.

For MySQL licensing you can check the thread on the MySQL support forum:
http://forums.mysql.com/read.php?4,114867,127544
setec is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-02-2007, 10:00 AM   #19 (permalink)
Contributing Member
 
Join Date: 07-19-06
Posts: 249
iTrader: 0 / 0%
alemcherry is a jewel in the roughalemcherry is a jewel in the roughalemcherry is a jewel in the roughalemcherry is a jewel in the roughalemcherry is a jewel in the roughalemcherry is a jewel in the rough
Quote:
Originally Posted by setec View Post
OutSite-In violates MySQL Dual Licensing, Inno Setup and Adobe Player EULAs.
It contains MySQL GPL Code without an OEM Licensen and it contains distributing third party components without fulfilling their license requirements.

Don't trust a company that uses other software in violation of relative licenses.

For MySQL licensing you can check the thread on the MySQL support forum:
http://forums.mysql.com/read.php?4,114867,127544
That sounds bad. Abusing GPL license is somethign I wont support.
alemcherry is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-06-2007, 08:02 AM   #20 (permalink)
Inactive
 
Join Date: 03-03-07
Posts: 13
iTrader: 0 / 0%
Latest Blog:
None

Sishco is liked by many
If you are using WHM, you can also use the following command on SSH.

Code:
/scripts/pkgacct accountname
This will backup all content of your site and create a backup in /home directory.
Sishco is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple file download - how to allow my users to d/l several files at once delarge Web Design Lobby 1 10-19-2007 07:22 AM
want to add zip