LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-25-2008, 12:06 AM   #1
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Most elegant way to back up /home


All,

I posted in here simply because I could not decide what the smartest way to back up my information is. I was hoping you guys could help me. Thanks in advance!

Distribution: Slackware 12.2
Local drive: 80GB IDE
Physically: hda1 (Linux LVM)
Logically: myvg {root (6GB ReiserFS) swap (2GB) home (62GB ReiserFS)}
Unallocated LVM space: 6GB

External USB drive: 500GB LaCie USB 2.0 external-powered
Physically: sda1 (32GB NTFS) sda2 (435GB Linux LVM)
Logically: LACIE-NTFS (32GB sda1 NTFS), mydata (no LVs)
Unallocated LVM space: 434 GB

Goal: back up /dev/myvg/home
Focus: ease of use, stability, availability, currency (i.e. as up to date as possible), ease of restoration of /home in an emergency.
Gotchas:
- External USB device isn't always connected
- A huge leap in CPU and disk usage when first plugged in would be bad
- Partition sda1 needs to be available for use in other OSes
Special needs:
- I'm a clutz
- I'm paranoid
- I'm new to LVM

I hope this makes sense. In the past I used rsync as a nightly cron job, and my script checked to see if the drive existed before attempting a backup. Anyways, what's the most elegant (i.e. best results with least amount of work, least amount of complexity) solution for me? Please chime in. Thanks!
 
Old 12-25-2008, 12:22 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by TwinReverb View Post
All,

I posted in here simply because I could not decide what the smartest way to back up my information is. I was hoping you guys could help me. Thanks in advance!

Distribution: Slackware 12.2
Local drive: 80GB IDE
Physically: hda1 (Linux LVM)
Logically: myvg {root (6GB ReiserFS) swap (2GB) home (62GB ReiserFS)}
Unallocated LVM space: 6GB

External USB drive: 500GB LaCie USB 2.0 external-powered
Physically: sda1 (32GB NTFS) sda2 (435GB Linux LVM)
Logically: LACIE-NTFS (32GB sda1 NTFS), mydata (no LVs)
Unallocated LVM space: 434 GB

Goal: back up /dev/myvg/home
Focus: ease of use, stability, availability, currency (i.e. as up to date as possible), ease of restoration of /home in an emergency.
Gotchas:
- External USB device isn't always connected
- A huge leap in CPU and disk usage when first plugged in would be bad
- Partition sda1 needs to be available for use in other OSes
Special needs:
- I'm a clutz
- I'm paranoid
- I'm new to LVM

I hope this makes sense. In the past I used rsync as a nightly cron job, and my script checked to see if the drive existed before attempting a backup. Anyways, what's the most elegant (i.e. best results with least amount of work, least amount of complexity) solution for me? Please chime in. Thanks!
IMHO rsync is the only way to go. rsync only changes what is different...so you're not always performing a full backup.

Post your script and maybe we can help.
 
Old 12-25-2008, 12:44 PM   #3
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191

Original Poster
Blog Entries: 2

Rep: Reputation: 40
Nah I'm good to go in terms of my rsync script, i was just asking if maybe there is a better way (tm).

Quote:
Originally Posted by custangro View Post
IMHO rsync is the only way to go. rsync only changes what is different...so you're not always performing a full backup.

Post your script and maybe we can help.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
back up users home folder? paperplane Linux - Newbie 5 12-27-2007 03:45 PM
Coming back home to Slackware :) AxXium Slackware 2 12-15-2005 04:32 PM
How do I copy home directories back? G-wizz Linux - Newbie 5 06-11-2004 06:20 AM
Home directory permissions reverting back Parksy Linux - General 3 02-04-2004 08:21 PM
how to back up /home? annehoog Linux - Newbie 3 03-07-2003 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:52 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