|
Home > Archive > alt.os.linux > October 2002 > Low Level Image/Backup
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Low Level Image/Backup
|
|
|
| Example:
youre friend has a windowsmachine that tends to crash from to time,
since she is your friend, you help her by putting also linux on this
machine.
She continues to use windows, of course.
Now, is there a possibility to backup this windows (partition) in linux,
so it can be restored easily.
Just copying wont work, eg MBR overwritten maybe, and so on..
Whats the solution/program?
windows=she uses, her machine
linux=you, the man with the plan, just as a backup-tool on the same machine.
tnx
| |
| SpeedMan 2002-10-28, 9:24 pm |
| Loeke wrote:
<SNIP>
> Whats the solution/program?
http://mondorescue.org
<SNIP>
Regards,
SpeedMan
| |
| Paul Lutus 2002-10-28, 10:24 pm |
| Loeke wrote:
> Example:
> youre friend has a windowsmachine that tends to crash from to time,
> since she is your friend, you help her by putting also linux on this
> machine.
> She continues to use windows, of course.
> Now, is there a possibility to backup this windows (partition) in linux,
> so it can be restored easily.
> Just copying wont work, eg MBR overwritten maybe, and so on..
> Whats the solution/program?
A total copy, from the Windows partition, to a file. Use "dd".
# man dd
1. Create an image of /dev/hda in a file:
# dd if=/dev/hda | gzip > hda.gz
2. Write the file image back to /dev/hda (read caution below):
gunzip hda.gz -c | dd of=/dev/hda
The above step 1 copies everything into the zip file. The resulting zipped
file is an image of the original partition. BTW your Linux drive must have
adequate storage to contain the partition image file.
*** Warning. Do not do this (the rewrite, step 2) to any active Linux
partition. Do it to the half-dead Windows partition instead. 
Oh, one more thing. The Windows patition cannot be NTFS for step 2 above.
You can reliably read an NTFS partition using Linux, but you cannot
reliably write one.
And, because this is such a momentous operation, here is a rehearsal with
less at stake:
1. Log on as an ordinary user.
2. cd /tmp.
3. Put a floppy in the floppy drive. Then:
# dd if=/dev/fd0 | gzip > floppy.gz
4. Put in a different floppy disk, then:
# gunzip floppy.gz -c | dd of=/dev/fd0
5. Test the new floppy. Same as the old? This works for partitions just the
same way.
--
Paul Lutus
www.arachnoid.com
| |
| Mike Dee 2002-10-29, 1:24 am |
| In article <1035842833.360029@seven.kulnet.kuleuven.ac.be>, "Loeke"
<LoekeDoeLoekeDoe@hotmail.com> wrote:
> Example:
> youre friend has a windowsmachine that tends to crash from to time,
> since she is your friend, you help her by putting also linux on this
> machine.
> She continues to use windows, of course. Now, is there a possibility to
> backup this windows (partition) in linux, so it can be restored easily.
> Just copying wont work, eg MBR overwritten maybe, and so on.. Whats the
> solution/program?
> windows=she uses, her machine
> linux=you, the man with the plan, just as a backup-tool on the same
> machine.
Having a passive Linux partition on the same machine will provide
zero assistance. Because the crashes will happen while Windows
is running, there isn't anything Linux can do about it.
However, if you ran Linux on another networked machine then
the Windows data could reside on a Samba-exported filesystem
which would offer greater protection when Windows does crash.
| |
| Michael Perry 2002-10-30, 5:25 am |
| "Mike Dee" <emteedee@optushome.com.au> wrote in news:aplc77$2jao8$1@ID-
119983.news.dfncis.de:
> In article <1035842833.360029@seven.kulnet.kuleuven.ac.be>, "Loeke"
> <LoekeDoeLoekeDoe@hotmail.com> wrote:
>
>> Example:
>> youre friend has a windowsmachine that tends to crash from to time,
>> since she is your friend, you help her by putting also linux on this
>> machine.
>> She continues to use windows, of course. Now, is there a possibility
to
>> backup this windows (partition) in linux, so it can be restored
easily.
>> Just copying wont work, eg MBR overwritten maybe, and so on.. Whats
the
>> solution/program?
>> windows=she uses, her machine
>> linux=you, the man with the plan, just as a backup-tool on the same
>> machine.
>
> Having a passive Linux partition on the same machine will provide
> zero assistance. Because the crashes will happen while Windows
> is running, there isn't anything Linux can do about it.
>
> However, if you ran Linux on another networked machine then
> the Windows data could reside on a Samba-exported filesystem
> which would offer greater protection when Windows does crash.
>
This is a good solution... Here is what I do. I don't use Linux for this
but it works anyways in your case. I am using FreeBSD and samba and I
put all my data files, mp3s, and other stuff on samba shares I setup on
the BSD box. I also have windows backing up certain files and
directories to the samba share using the NT backup software. It happily
backs up to a samba share; no problem. Next, I run amanda on the BSD box
and backup everything every so often. I also have amanda backup my
firewall box and a few other odds and ends.
IF my windows box goes south, I don't lose any of the data files and I
keep all the normal applications I would load in a shared directory as
well so for XP Pro if I want to reinstall things like winzip, ultraedit,
etc; its all there. What I do backup are a few files on my 2000 system
which includes directories of quicken financials since I am too lazy to
move it over; but it all gets backed up (perhaps twice). I have had the
occasion to test this approach a few times and its worked very well for
me.
|
|
|
|
|