Question on dump and OS backups

Question on dump and OS backups

Post by Pet » Sat, 02 Jan 1999 04:00:00



Considering the fact that my kernel rebuilds have been disasters and I'm
tired of installing linux, I'd like to make sure I know how to use dump
and restore correctly.

To backup the root partition to a file /usr/backup/hda1file (which is on
partition /dev/hda1), is this correct:

dump 0f /usr/backup/hda1file /dev/hda1

and to restore:

restore rf /usr/backup/hda1file

Will this completely erase the root partition (with the trashed kernel) and
restore an exact copy of the partition at the time of the dump?

I have a book that says you run into trouble when you try to restore the
file 'restore'; you can't restore the restore command.  Has anyone run into
this before?   What is the workaround to this problem if it really exists?

Pete

ps- If I were to purchase a tape backup system, can someone recommend a
linux friendly product?  Ease of installation/usage is infinitely more
important than speed.

 
 
 

Question on dump and OS backups

Post by David Steube » Sat, 02 Jan 1999 04:00:00


I can't answere your backup question, but I remember forgetting to add
something to my post to your other question.

It is possible to have multiple boot images for Linux.  I always make
sure I keep a spare in case I*up a build.  In fact, I also keep
the original canned kernel that I installed.  Lilo uses /etc/lilo.conf
to decide which image to boot into.  This is my lilo.conf file.
Please don't ask me about the file format.  All I did was add two
sections for my other boot images.

# LILO Konfigurations-Datei
# Start LILO global Section
boot=/dev/hda
#compact        # faster, but won't work on all systems.
read-only
prompt
timeout=100
vga = normal    # force sane state
# End LILO global section
# Linux bootable partition config begins

# primary boot image
image = /vmlinuz
root = /dev/hda3
label = Solo

# canned boot image
image = /vmlinuz.can
root = /dev/hda3
label = canned

# previous boot image
image = /vmlinuz.old
root = /dev/hda3
label = prev

# Linux bootable partition config ends
#
--
David Steuber
http://www.veryComputer.com/
s/trashcan/david/ to reply by mail

"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends.  These people, they're, they're  terrorists."

-- Secret Service Agent Richard Gill

 
 
 

1. dumping one Mac OS hd to another a la dump/restore

Hi,
I have a second hand Mac which has a small HD with some very cool sw
which I want to keep, but it physically takes space in my 7500 box.
Is there any way to dump and restore the small disk in a larger one
using just Mac OS functionality (I need this so that I can install linux
on a third HD which is sitting on my desk :-( ) ?

cheers.

2. PPP connect

3. comp.os.linux, comp.os.linux.questions, comp.os.linux.misc

4. No home directory at log in

5. Backup under Linux (Re: Dump Backup failed!!!)

6. when will sun offer group level disk quotas

7. Dump backup question...

8. Hi i'm new

9. Simple Backup Question (dump)

10. Newbies question: backup solaris OS disk

11. Matrox Mystique ands X.

12. comp.os.linux, comp.os.linux.misc, comp.os.linux.security, comp.os.linux.networking

13. Stupid Questions: Sun 8mm dump tape =>AIX 8mm dump tape