[CentOS] backing up my system with dump

Tue Apr 18 11:49:12 UTC 2006
Chris Mauritz <chrism at imntv.com>

israel.garcia at cimex.com.cu wrote:
> I'm running CentOS 4.3 on Intel. I don't have any tape device on my
> system for backup, but I have an entire disk (/dev/sdb) for backup ...
> my question is:
>
> How can I backup ALL my filesystems to some place of my backup hdd
> (dev/sdb) using dump/restore?
>
> I don't want to use tar.
>   

Let's say you have two disks.  There's the "system" disk with the root 
partition mounted as / and the "backup" disk mounted as /backup.  If you 
did this:

/sbin/dump -0u -f /backup/rootbackup /

you would wind up with a dump image of your root filesystem on your 
backup disk and it would be called "rootbackup".

That works for me.

Cheers,