LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-22-2008, 02:30 PM   #1
ictoan
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
Need Backup Advice for Dual-boot Machine...


Hello,

I want to use Ubuntu for awhile but have been held back because I'm uncertain of how to do backups for both Windows and Ubuntu.

Should I have three HDs for each or dual boot XP and Ubuntu on one HD and have one backup HD?

If I have a backup HD for a dual boot machine, then should I backup everything or backup a shared space between the OS... is it possible to set up a shared folder accessible by both OS?

Could someone share their backup methology for dual boot machine?

Thanks ^^;;;

Last edited by ictoan; 02-22-2008 at 02:40 PM.
 
Old 02-22-2008, 03:21 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by ictoan View Post

I want to use Ubuntu for awhile but have been held back because I'm uncertain of how to do backups for both Windows and Ubuntu.

Should I have three HDs for each or dual boot XP and Ubuntu on one HD and have one backup HD?
You need four partitions, Ubuntu, swap (you don't backup swap), XP, and backup. How these partitions are spread across HDs is irrelevant except for the case of HD failure. In the case of HD failure you would like your backup to be on a different HD than the master copy.

I recommend you create a backup partition and mount it on /backup. Then you can do update style backups of Ubuntu with:

cp -pur / /backup

I put my cp command in anacron so that it is executed automatically once a day.

As to the parts of your question about Windows, I don't know the answer.

-------------------------
Steve Stites
 
Old 02-22-2008, 05:18 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by ictoan View Post
I want to use Ubuntu for awhile but have been held back because I'm uncertain of how to do backups for both Windows and Ubuntu.
The method I use is to create a FAT32 partition to store images using partimage. Windows and Linux can both read and write FAT32 without difficulty, and partimage can create images of both NTFS and EXT3 partitions very well.

Starting with a bare hard drive, I create four partitions:

1. NTFS (for Windows)
2. EXT3 (for Linux)
3. FAT32 (for O/S images)
4. SWAP (for Linux)

After I install Windows, I boot System Rescue CD, save the master boot record (MBR) using something like

# dd if=/dev/hda of=WINDOWSXP.MBR bs=512 count=1

and create an image using partimage. Then I install Linux and if I install Ubuntu, it automagically detects my Windows installation and adds it to my GRUB menu. Finally, I boot System Rescue CD and backup the MBR again and create an image of the Linux partition. If I have space on a USB drive or a network share, I skip the step of creating the FAT32 partition, and store the MBRs and partition images there.

Once I'm done, I have clean installs of my Windows and Linux installations in case of a catastrophic failure. Occasionally, I boot System Rescue CD and take a snapshot using partimage, so I do not lose too much work.

I have been using this system for over two years now without any problems. Many people have pointed out that the web page for partimage states that NTFS support is experimental, but I have used it without a problem for two years. That's a pretty good experiment, wouldn't you agree?
 
Old 02-26-2008, 08:13 AM   #4
ictoan
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by David1357 View Post
The method I use is to create a FAT32 partition to store images using partimage. Windows and Linux can both read and write FAT32 without difficulty, and partimage can create images of both NTFS and EXT3 partitions very well.

Starting with a bare hard drive, I create four partitions:

1. NTFS (for Windows)
2. EXT3 (for Linux)
3. FAT32 (for O/S images)
4. SWAP (for Linux)
That sounds great. However, is it possible to move FAT32 partition to a separate HD using partimage? I want to protect my files in case of HD failures. One of my HD died on me recently and I've been paranoid ever since then...
 
  


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
Backup Strategy Advice Pete89 Linux - Newbie 9 08-22-2007 09:19 PM
Advice for backup disk partitioning scheme? thinksincode Linux - Newbie 10 02-08-2007 04:51 PM
Advice sought RE Input/output errors during backup attempt conn-fused Linux - Software 2 12-17-2005 01:25 AM
dvd backup advice needed countingbeans24 Linux - Newbie 4 11-15-2004 09:55 PM
Need advice on Backup solution imsam Linux - Enterprise 3 11-06-2004 12:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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