Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Dedicated Servers Dedicated server help.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2006, 02:16 AM
JamieJelly's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-09-06
Posts: 1,250
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?
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #2 (permalink)  
Old 08-07-2006, 03:43 AM
Will.Spencer's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 01-05-05
Posts: 254
iTrader: 0 / 0%
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
__________________
Free Internet Media | Political Humor
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #3 (permalink)  
Old 08-07-2006, 04:09 AM
JamieJelly's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-09-06
Posts: 1,250
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.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #4 (permalink)  
Old 08-07-2006, 05:47 AM
ali_420's Avatar
Senior Member
 
Join Date: 06-16-06
Posts: 204
iTrader: 0 / 0%
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.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #5 (permalink)  
Old 08-09-2006, 01:30 PM
sixty6's Avatar
Contributing Member
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #6 (permalink)  
Old 08-11-2006, 11:05 AM
Junior Member
Latest Blog:
None

 
Join Date: 08-04-06
Location: Massachusetts
Posts: 8
iTrader: 0 / 0%
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.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #7 (permalink)  
Old 08-11-2006, 11:20 AM
sixty6's Avatar
Contributing Member
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #8 (permalink)  
Old 08-11-2006, 11:38 AM
Junior Member
Latest Blog:
None

 
Join Date: 08-04-06
Location: Massachusetts
Posts: 8
iTrader: 0 / 0%
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #9 (permalink)  
Old 08-11-2006, 11:40 AM
sixty6's Avatar
Contributing Member
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #10 (permalink)  
Old 08-29-2006, 03:20 AM
Junior Member
Latest Blog:
None

 
Join Date: 07-12-06
Posts: 6
iTrader: 0 / 0%
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.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #11 (permalink)  
Old 09-02-2006, 08:38 AM
sim sim is offline
Banned
Latest Blog:
None

 
Join Date: 01-23-04
Posts: 1,098
iTrader: 0 / 0%
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. =)
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #12 (permalink)  
Old 09-03-2006, 04:58 AM
reteep's Avatar
Senior Member
 
Join Date: 03-19-06
Location: Germany
Posts: 378
iTrader: 0 / 0%
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)
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #13 (permalink)  
Old 09-03-2006, 11:37 PM
Will.Spencer's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 01-05-05
Posts: 254
iTrader: 0 / 0%
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.
__________________
Free Internet Media | Political Humor
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #14 (permalink)  
Old 09-04-2006, 01:14 PM
sim sim is offline
Banned
Latest Blog:
None

 
Join Date: 01-23-04
Posts: 1,098
iTrader: 0 / 0%
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 =)
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #15 (permalink)  
Old 09-05-2006, 08:17 AM
Junior Member
Latest Blog:
None

 
Join Date: 07-12-06
Posts: 9
iTrader: 0 / 0%
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #16 (permalink)  
Old 09-06-2006, 03:16 PM
megamoose's Avatar
v7n Mentor
 
Join Date: 06-04-06
Location: Northern Ireland
Posts: 506
iTrader: 2 / 100%
megamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to allmegamoose is a name known to all
Send a message via ICQ to megamoose Send a message via MSN to megamoose Send a message via Yahoo to megamoose Send a message via Skype™ 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
__________________
Message me for PHP | HTML | CSS | JAVASCRIPT | .NET | MySQL help and support
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #17 (permalink)  
Old 10-22-2006, 10:00 AM
Junior Member
Latest Blog:
None

 
Join Date: 10-22-06
Location: Cumbria, UK
Posts: 1
iTrader: 0 / 0%
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.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #18 (permalink)  
Old 11-27-2006, 08:40 AM
Junior Member
Latest Blog:
None

 
Join Date: 10-16-06
Posts: 16
iTrader: 0 / 0%
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
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #19 (permalink)  
Old 03-02-2007, 09:00 AM
Contributing Member
 
Join Date: 07-19-06
Posts: 355
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.
__________________
Hosting Reviews and Coupons: Read Hostgator Review and get Hostgator Coupon.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #20 (permalink)  
Old 03-06-2007, 07:02 AM
Junior Member
Latest Blog:
None

 
Join Date: 03-03-07
Posts: 15
iTrader: 0 / 0%
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.
Digg this Post!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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 files for download on my site? jasonk1234 Coding Forum 16 08-05-2007 03:02 PM
allow users to up/download files zdvdla Web Design Lobby 4 05-05-2007 02:54 AM
GoLive CS User Download Options for .pdf/.jpg files Ravuun Coding Forum 1 05-17-2006 05:54 PM
How To Make ZIP Files Available For Download? jj2005 Coding Forum 1 07-19-2005 12:49 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:19 AM.
© Copyright 2010 V7 Inc
Powered by vBulletin
Copyright © 2000-2010 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.