Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-13-2003, 09:44 PM
|
#1
|
|
Member
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511
Rep:
|
System wide backup - need solution
So i run a small phpBB message board and ftp... It's an old computer and ready to die - i can jsut tell.. I heavily modified phpBB when i did so, i did it very messy-like. So i was wondering (because i've never done this before)
could i copy ALL the hard drives contents to another harddrive? as in EVERYTHING.. basically mirroring it?
I'd hate to weed through phpBB and the other modified software and backup the peices i need by hand.
any efficient, fast, durable solutions/comments welcome 
|
|
|
|
04-14-2003, 01:16 PM
|
#2
|
|
Member
Registered: Mar 2003
Posts: 32
Rep:
|
I would recommend using a program like norton ghost to copy your drives contents to a new hard drive. There are alternative program that will also do this, I just can't remember their names.
|
|
|
|
04-14-2003, 01:21 PM
|
#3
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try using rsync. It works on local systems and over a network.
Set a new server up then on the old pc:
rsync -acvz /home/httpd NewServer:/home
Replace NewServer with the ip of the new server. and /home/httpd with the location of the data files.
You will also want to copy your mysql data to the new server.
Last edited by david_ross; 04-14-2003 at 01:27 PM.
|
|
|
|
04-14-2003, 01:23 PM
|
#4
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Quote:
Originally posted by jimrt
I would recommend using a program like norton ghost to copy your drives contents to a new hard drive. There are alternative program that will also do this, I just can't remember their names.
|
If you want an imaging solution then check out partimage:
http://sourceforge.net/projects/partimage
|
|
|
|
04-14-2003, 02:30 PM
|
#5
|
|
Member
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359
Rep:
|
For very basic mirroring you could use dd, but your best bet is probably partimage.
|
|
|
|
04-15-2003, 03:26 AM
|
#6
|
|
Member
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511
Original Poster
Rep:
|
thank you.
So simply copying over the MySQL stuff wont break anything? THis is what im afraid of the most, as I don't understand MySQL fully atm 
|
|
|
|
04-15-2003, 01:05 PM
|
#7
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
It didn't for me - I have 2 IDENTICAL servers at work and I just rsync the /var/lib/mysql directory and my phpBB works fine.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
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 -5. The time now is 02:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|