israel.garcia@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.
Really good Chris, I'm dumping my filesystems NOW! :-), but a last question: How can I restore from this dump image?
Regards; Israel
Cheers,
------------------------------
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
End of CentOS Digest, Vol 15, Issue 18 **************************************
israel.garcia@cimex.com.cu wrote:
israel.garcia@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.
Really good Chris, I'm dumping my filesystems NOW! :-), but a last question: How can I restore from this dump image?
man restore. 8-)
It's been a while, but I think to interactively restore from an archive you would type something like:
restore -i name_of_your_archive_file
This will give you a restore prompt and you can interactively retrieve what you need from the archive. There are also flags available with restore to pave over a virgin filesystem and recreate the dumped file system. I hate to join the RTFM ranks, but restore can do a LOT of things in many different ways so it's worth reading the man page so you can figure out the best strategy for you when it comes time to restore files from a dump archive.
Cheers,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Apr 18, 2006 at 09:02:33PM -0400, Chris Mauritz wrote:
How can I restore from this dump image?
man restore. 8-)
It's been a while, but I think to interactively restore from an archive you would type something like:
restore -i name_of_your_archive_file
restore -if name_of_your_archive_file
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Rodrigo Barbosa wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Apr 18, 2006 at 09:02:33PM -0400, Chris Mauritz wrote:
How can I restore from this dump image?
man restore. 8-)
It's been a while, but I think to interactively restore from an archive you would type something like:
restore -i name_of_your_archive_file
restore -if name_of_your_archive_file
I DID say that it has been a while... 8-)
Cheers,