LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-20-2009, 06:12 PM   #1
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
recommendations. RAID, rsync and the like


I was given a generous gift. A WD 1TB drive if you must know(somewhat bragging). Now considering I only have one drive and I plan on using it as my / and storage drive since it is quite faster then what I currently have. I was wondering about backup solutions. I reinstall Slack pretty much every time a new release comes out. I have a massive video, music and picture library that I want to keep safe.

What is some of the preferred methods for backup. I plan on getting an identical drive in the future. I'm unsure of post-install RAID setups and if it is possible. That is the solution I would like but wonder about that fact I reinstall/upgrade quite often. Are there better solutions out there?

Thanks in advance
 
Old 01-20-2009, 10:15 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Well to be honest raid isn't really a backup solution.. it's more about redundancy and fault tolerance.

Imagine if you accidentally delete something... with raid it is gone forever. Not that raid isn't a good idea just that I don't consider it as a proper data backup.

I'd suggest you rsync to an external drive and use hard-linking to conserve space.

There are several backup scripts around that will save you writing your own too rsnapshot and backuppc are a couple that spring to mind.

I believe another option is LVM snapshots but I personally have not had any experience with this method.
 
Old 01-21-2009, 06:04 AM   #3
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Original Poster
Rep: Reputation: 32
I get what your saying. An external drive may be a great option. I looked into rsnapshot and it appears that it will do what I want. I think you helped me make up my mind. I live in FL so when the hurricanes come I can grab my external drive and run!!!

The RAID 1 setup i was thinking about sounds interesting, but I don't think it will be as easy considering it would have to be post-install and I still have not found a way to explain how to do that. Im looking into LVM, which seems to do something similiar but still don't have enough knowledge of it.

Thanks
 
Old 01-21-2009, 06:45 AM   #4
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by symatic View Post
I get what your saying. An external drive may be a great option. I looked into rsnapshot and it appears that it will do what I want. I think you helped me make up my mind. I live in FL so when the hurricanes come I can grab my external drive and run!!!
Yes having the backup external is a very good idea.

Quote:
Originally Posted by symatic View Post
The RAID 1 setup i was thinking about sounds interesting, but I don't think it will be as easy considering it would have to be post-install and I still have not found a way to explain how to do that. Im looking into LVM, which seems to do something similiar but still don't have enough knowledge of it.

Thanks
Well to simplify it you start by creating a degraded RAID 1 set.

RAID 1 can run with just one drive so you copy your data to that and then once you are happy that things are ok you simply add the second drive to the array.
It's also best to have two identical disks if you want to use RAID 1.

A couple of links that may be helpful.

http://www.userlocal.com/articles/ra...ackware-12.php
http://transamrit.net/docs/slackware/README_RAID.TXT

Last edited by mRgOBLIN; 01-21-2009 at 06:47 AM.
 
Old 01-21-2009, 03:12 PM   #5
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Original Poster
Rep: Reputation: 32
Thanks..I appreciate the links. I shall now do some reading.
 
Old 01-21-2009, 03:20 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I vote for DVDs. Or if you trust BDs then you can use those. I also use dvdisaster for important backups.
 
Old 01-21-2009, 04:00 PM   #7
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Original Poster
Rep: Reputation: 32
Okay I have been reading about RAID devices and find that if I have an external drive I really don't need this. But RAID 0 perked my interests. The only part that confuses me is the idea of not using a swap partition. What does the system use then? Does this cause instability? Is it worth it? I cannot seem to find a good answer.
 
Old 01-22-2009, 12:31 AM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
No you still use a swap partition but you don't put the swaps on raid.

Instead you create a normal swap partition on each drive and give them the same priority in your fstab.

an example:
Code:
/dev/sda1    swap    swap    pri=1   0   0
/dev/sdb1    swap    swap    pri=1   0   0
 
Old 01-22-2009, 08:15 AM   #9
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by H_TeXMeX_H View Post
I vote for DVDs. Or if you trust BDs then you can use those. I also use dvdisaster for important backups.
Yikes!.. even allowing for dual layer disks, 1TB would take in the region of 125 dvd-r disks for a full copy. You can see why people are starting to backup to usb external hard drives these days.
 
Old 01-22-2009, 11:17 AM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by symatic View Post
Okay I have been reading about RAID devices and find that if I have an external drive I really don't need this. But RAID 0 perked my interests. The only part that confuses me is the idea of not using a swap partition. What does the system use then? Does this cause instability? Is it worth it? I cannot seem to find a good answer.
RAID0/AID0 for backup purposes ?!?!?!?!?

You need to take your medicine ...

If one drive dies or gets corrupt all data will be lost on both drives PERMANENTLY AND IRREPARABLY WITHOUT THE POSSIBILITY OF USING ANY DATA CARVING OR RECOVERY TECHNIQUES !!!

Last edited by H_TeXMeX_H; 01-22-2009 at 11:19 AM.
 
Old 01-22-2009, 03:55 PM   #11
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Quote:
Originally Posted by H_TeXMeX_H View Post
RAID0/AID0 for backup purposes ?!?!?!?!?

You need to take your medicine ...

If one drive dies or gets corrupt all data will be lost on both drives PERMANENTLY AND IRREPARABLY WITHOUT THE POSSIBILITY OF USING ANY DATA CARVING OR RECOVERY TECHNIQUES !!!
I agree. You are doubling your chances of losing the data here.

I just recently purchased an external raid enclosure (http://www.newegg.com/Product/Produc...82E16816111073) with two 1TB WD babies :P (http://www.newegg.com/Product/Produc...82E16822136284) for the very purpose of redundancy (RAID-1). It's fine to use an external hard drive as a back-up solution, but what if it crashes? That's why you want RAID-1. In my case, these hard drives come with a 5-year warranty, so if one fails, I can send it in and get a replacement without losing any of my data.
 
Old 01-22-2009, 04:16 PM   #12
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Original Poster
Rep: Reputation: 32
I wasn't planning on using RAID 0 for backup purposes. The idea peaked my interest. I initially was planning on using RAID 1 for backing up data, but looked(given advice) into it a bit more and decided some external storage was needed. The RAID 1 and external solution does seem the best route but also the most expensive. So for now I think I'm gonna get another 1tb drive and put them in a RAID 1. Then when I get my tax return I'll consider that external drive.

Quote:
with two 1TB WD babies :P (http://www.newegg.com/Product/Produc...82E16822136284)
That is the same drive I have and now it is time to purchase the other.

Last edited by symatic; 01-22-2009 at 04:19 PM. Reason: just noticed that
 
  


Reply



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
Recommendations for a RAID card for a Linux box? Huwawa Linux - Hardware 9 09-29-2008 04:55 PM
Fedora 5 raid setup: recommendations and help JohnLocke Linux - Newbie 8 07-02-2006 05:56 PM
Recommendations: external drive enclosure + RAID Dark_Helmet Linux - Hardware 6 04-12-2005 05:11 PM
FC3, HW RAID 5 Recommendations sgl Linux - Hardware 2 02-26-2005 12:09 PM
RAID vs rsync MichaelHall Slackware - Installation 1 03-01-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:10 PM.

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
Open Source Consulting | Domain Registration