LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   dump/restore (http://www.linuxquestions.org/questions/linux-software-2/dump-restore-39799/)

moger 12-30-2002 03:44 PM

dump/restore
 
Hi, I have a few questions about the dump utility. The info page says it works on the ext2 file system. Can it also work on the ext3 file system?

Also, if I have a CD-RW drive, can I back it up to a CD-RW drive like you can a tape drive such as:

# dump -0 -uf /dev/cdrwdrive /dev/hda1 ?

niknah 12-30-2002 08:00 PM

I think you need a prorgam like cdrecord to write to the CDRW drive.

whansard 12-31-2002 02:15 AM

dump -ua -f - /dev/blah | gzip -9 | cdrecord dev=0,0,0 speed=99 -

assuming it will fit. i haven't tested this either

moger 12-31-2002 03:02 AM

But can dump work on ext3? The info page says ext2

whansard 12-31-2002 05:34 AM

dump and restore are filesystem specific, so the real
answer is no, but since you can easily mount an
ext3 as ext2 or convert ext2 to ext3, it might close to
work. if you're lucky, it would work and might treat
the journal as a normal file.
If i were more bored now, i would try it for you, but
you're on your own for now. i think there is a working
dump and restore for xfs.


All times are GMT -5. The time now is 12:22 AM.