| Dedicated Servers Dedicated server help. |
08-07-2006, 02:16 AM
|
#1 (permalink)
|
|
v7n Mentor
Join Date: 03-09-06
Location: London UK
Posts: 2,796
|
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
|
#2 (permalink)
|
|
Contributing Member
Join Date: 01-05-05
Posts: 314
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, 04:09 AM
|
#3 (permalink)
|
|
v7n Mentor
Join Date: 03-09-06
Location: London UK
Posts: 2,796
|
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
|
#4 (permalink)
|
|
Inactive
Join Date: 06-16-06
Posts: 268
Latest Blog: None
|
There's also a download manager which lets you download complete websites to your hard disk.
|
|
|
08-09-2006, 01:30 PM
|
#5 (permalink)
|
|
v7n Mentor
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
|
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
|
#6 (permalink)
|
|
Inactive
Join Date: 08-04-06
Location: Massachusetts
Posts: 10
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, 11:20 AM
|
#7 (permalink)
|
|
v7n Mentor
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
|
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
|
#9 (permalink)
|
|
v7n Mentor
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
|
oh, nice!
|
|
|
08-29-2006, 03:20 AM
|
#10 (permalink)
|
|
Inactive
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.
|
|
|
09-02-2006, 08:38 AM
|
#11 (permalink)
|
|
Banned
Join Date: 01-23-04
Posts: 2,367
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, 04:58 AM
|
#12 (permalink)
|
|
Inactive
Join Date: 03-20-06
Location: Germany
Posts: 523
|
If you wanna download your site via http, best tool is: Teleport Pro (Google for it)
|
|
|
09-03-2006, 11:37 PM
|
#13 (permalink)
|
|
Contributing Member
Join Date: 01-05-05
Posts: 314
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, 01:14 PM
|
#14 (permalink)
|
|
Banned
Join Date: 01-23-04
Posts: 2,367
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, 08:17 AM
|
#15 (permalink)
|
|
Inactive
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, 03:16 PM
|
#16 (permalink)
|
|
Contributing Member
Join Date: 06-04-06
Location: Northern Ireland
Posts: 482
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
|
|
|
10-22-2006, 10:00 AM
|
#17 (permalink)
|
|
Inactive
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.
|
|
|
11-27-2006, 09:40 AM
|
#18 (permalink)
|
|
Inactive
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
|
#19 (permalink)
|
|
Contributing Member
Join Date: 07-19-06
Posts: 249
|
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, 08:02 AM
|
#20 (permalink)
|
|
Inactive
Join Date: 03-03-07
Posts: 13
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: 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
|
|
|
|