 |

08-07-2006, 02:16 AM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 03-09-06
Posts: 1,250
|
|
|
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?
|

08-07-2006, 03:43 AM
|
 |
v7n Mentor
Latest Blog: None
|
|
Join Date: 01-05-05
Posts: 254
|
|
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
|

08-07-2006, 04:09 AM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 03-09-06
Posts: 1,250
|
|
|
only a zillion eh?
thanks very much, worked a treat. Didn't work at first as I forgot the . at the end.
|

08-07-2006, 05:47 AM
|
 |
Senior Member
|
|
Join Date: 06-16-06
Posts: 204
|
|
There's also a download manager which lets you download complete websites to your hard disk.
|

08-09-2006, 01:30 PM
|
 |
Contributing Member
|
|
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
|
|
|
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..
|

08-11-2006, 11:05 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 08-04-06
Location: Massachusetts
Posts: 8
|
|
|
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.
|

08-11-2006, 11:20 AM
|
 |
Contributing Member
|
|
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
|
|
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?
|

08-11-2006, 11:40 AM
|
 |
Contributing Member
|
|
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
|
|
|
oh, nice!
|

08-29-2006, 03:20 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 07-12-06
Posts: 6
|
|
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.
|

09-02-2006, 08:38 AM
|
|
Banned
Latest Blog: None
|
|
Join Date: 01-23-04
Posts: 1,098
|
|
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. =)
|

09-03-2006, 04:58 AM
|
 |
Senior Member
|
|
Join Date: 03-19-06
Location: Germany
Posts: 378
|
|
|
If you wanna download your site via http, best tool is: Teleport Pro (Google for it)
|

09-03-2006, 11:37 PM
|
 |
v7n Mentor
Latest Blog: None
|
|
Join Date: 01-05-05
Posts: 254
|
|
|
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.
|

09-04-2006, 01:14 PM
|
|
Banned
Latest Blog: None
|
|
Join Date: 01-23-04
Posts: 1,098
|
|
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 =)
|

09-05-2006, 08:17 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 07-12-06
Posts: 9
|
|
|
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
|

09-06-2006, 03:16 PM
|
 |
v7n Mentor
|
|
Join Date: 06-04-06
Location: Northern Ireland
Posts: 506
|
|
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
|

10-22-2006, 10:00 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 10-22-06
Location: Cumbria, UK
Posts: 1
|
|
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.
|

11-27-2006, 08:40 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 10-16-06
Posts: 16
|
|
Quote:
Originally Posted by RandomCl
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
|

03-02-2007, 09:00 AM
|
|
Contributing Member
|
|
Join Date: 07-19-06
Posts: 355
|
|
Quote:
Originally Posted by setec
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.
|

03-06-2007, 07:02 AM
|
|
Junior Member
Latest Blog: None
|
|
Join Date: 03-03-07
Posts: 15
|
|
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.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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.
|
|