LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2004, 02:54 PM   #1
Dannydy
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
backup data


Hello,


I'm looking way to backup all my data on one of my scsi harddrive to other scsi drive at every night, what is the best method to do that

Dan
 
Old 07-21-2004, 03:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That depends on many factors, just a
few examples:

Does the machine need to be up 24/7?
Does any kind of service try to write to the
disk that you want to backup at any time
it fancies?


Cheers,
Tink
 
Old 07-21-2004, 03:23 PM   #3
Dannydy
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Original Poster
Rep: Reputation: 15
The system will be up 24/7 with web and mysql and some other applications


I want save my data in case i delete something or hard drive dies so that i can restore the data

Dan
 
Old 07-21-2004, 04:03 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
In that case the process will be "non-trivial" :)

I'd suggest the following procedure:

Take a full copy of the drive while the machine is
off-line (e.g. using a boot-cd) so you could just
swap the HDD in case of a physcial failure.

As for the ongoing work:

You'll have to set-up two jobs (possibly both
triggered by the same cron-event). One will be
to mysqldump the database and then copy that
file to the other drive (you may want to consider
version-keeping, like a weekly roll-over, using
e.g. the rsync backup-script). The other should
be an rsync of your www-directory which should
be no big deal at any given time.


Cheers,
Tink
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KNOPPIX Data Backup jpassion General 1 12-20-2004 06:09 PM
KNOPPIX DATA BACKUP problems jpassion Linux - Newbie 0 12-20-2004 06:05 PM
data backup solution suggestions disorderly Linux - General 5 08-31-2004 08:41 PM
Backup Data jocast Linux - Software 1 08-31-2004 01:34 PM
data backup on CD RW or DVD+RW frannack Linux - Software 1 04-10-2004 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration