israel.garcia at cimex.com.cu
2006-Apr-17 22:56 UTC
[CentOS] backing up my system with dump
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. Regards Israel
On Mon, 17 Apr 2006 at 5:56pm, 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.'man dump' will tell you all you need to know. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
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,
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? >You can also check out 'dar' which is exactly for this. It backs up special device nodes, EA's etc. and has a catalog. I have used it many times for this kind of thing. David