LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 04-13-2003, 09:44 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 30
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
 
Old 04-14-2003, 01:16 PM   #2
jimrt
Member
 
Registered: Mar 2003
Posts: 32

Rep: Reputation: 15
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.
 
Old 04-14-2003, 01:21 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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.
 
Old 04-14-2003, 01:23 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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
 
Old 04-14-2003, 02:30 PM   #5
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
For very basic mirroring you could use dd, but your best bet is probably partimage.
 
Old 04-15-2003, 03:26 AM   #6
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 30
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
 
Old 04-15-2003, 01:05 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
System wide KHTML colors ProtoformX Linux - Software 1 04-02-2005 10:13 AM
System Wide Permission lmanwarren Linux - General 1 03-29-2005 08:15 PM
Where are system-wide blackbox configs? Erik Thorsson Linux - Software 1 01-30-2005 08:41 PM
*system-wide* KDE install, how? webvandals Linux - Software 5 03-05-2004 11:48 PM
Help:ask for linux system backup solution! fredlong Linux - Software 4 12-01-2003 12:44 PM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration