 |
08-07-2006, 03:16 AM
|
#1 (permalink)
|
|
v7n Mentor
Join Date: 03-09-06
Posts: 1,250
Latest Blog: None
|
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, 04:43 AM
|
#2 (permalink)
|
|
v7n Mentor
Join Date: 01-05-05
Posts: 254
Latest Blog: None
|
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, 05:09 AM
|
#3 (permalink)
|
|
v7n Mentor
Join Date: 03-09-06
Posts: 1,250
Latest Blog: None
|
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, 06:47 AM
|
#4 (permalink)
|
|
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.
|
|
|
09-02-2006, 09:38 AM
|
#5 (permalink)
|
|
Banned
Join Date: 01-23-04
Posts: 1,098
Latest Blog: None
|
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, 05:58 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: 03-20-06
Location: Germany
Posts: 378
|
If you wanna download your site via http, best tool is: Teleport Pro (Google for it)
|
|
|
08-09-2006, 02:30 PM
|
#7 (permalink)
|
|
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, 12:05 PM
|
#8 (permalink)
|
|
Junior Member
Join Date: 08-04-06
Location: Massachusetts
Posts: 8
Latest Blog: None
|
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, 12:20 PM
|
#9 (permalink)
|
|
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, 12:40 PM
|
#11 (permalink)
|
|
Contributing Member
Join Date: 01-03-06
Location: Illinois
Posts: 1,203
|
oh, nice!
|
|
|
08-29-2006, 04:20 AM
|
#12 (permalink)
|
|
Junior Member
Join Date: 07-12-06
Posts: 6
Latest Blog: None
|
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.
|
|
|
11-27-2006, 09:40 AM
|
#13 (permalink)
|
|
Junior Member
Join Date: 10-16-06
Posts: 16
Latest Blog: None
|
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, 10:00 AM
|
#14 (permalink)
|
|
Contributing Member
Join Date: 07-19-06
Posts: 318
|
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.
__________________
[we do not allow redirected URLs in your signature]
|
|
|
09-04-2006, 12:37 AM
|
#15 (permalink)
|
|
v7n Mentor
Join Date: 01-05-05
Posts: 254
Latest Blog: None
|
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, 02:14 PM
|
#16 (permalink)
|
|
Banned
Join Date: 01-23-04
Posts: 1,098
Latest Blog: None
|
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, 09:17 AM
|
#17 (permalink)
|
|
Junior Member
Join Date: 07-12-06
Posts: 9
Latest Blog: None
|
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, 04:16 PM
|
#18 (permalink)
|
|
v7n Mentor
Join Date: 06-04-06
Location: Northern Ireland
Posts: 480
Latest Blog: None
|
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, 11:00 AM
|
#19 (permalink)
|
|
Junior Member
Join Date: 10-22-06
Location: Cumbria, UK
Posts: 1
Latest Blog: None
|
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.
|
|
|
03-06-2007, 08:02 AM
|
#20 (permalink)
|
|
Junior Member
Join Date: 03-03-07
Posts: 15
Latest Blog: None
|
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: 4 (0 members and 4 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Hybrid 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 02:36 PM.
© Copyright 2008 V7 Inc Powered by vBulletin Copyright © 2000-2009 Jelsoft Enterprises Limited.
|
|