Mailinglist Archive: opensuse (3506 mails)

< Previous Next >
Re: [SLE] Dump command on SuSe?
  • From: Mike Noble <mgnoble@xxxxxxxxx>
  • Date: Thu, 21 Sep 2006 17:41:54 +0000 (UTC)
  • Message-id: <4512CEFD.4080507@xxxxxxxxx>
This is true, dump really only works on ext2 and ext3 file systems.


Mike

Greg Freemyer wrote:
> On 9/21/06, Mike Noble <mgnoble@xxxxxxxxx> wrote:
>> I have used dump (ufsdump for Solaris) for years.
>> The basic syntax to do a full backup is:
>>
>> dump 0f <dump device> <filesystem>
>>
>> Dump Device can be a tape device, filename, etc.
>> The file system is whatever file system you want to dump. You can
>> either specify by the device (/dev/hda1) or by the name ( / ).
>>
>> You can write a script to dump all file systems on your system,
>> something like this:
>>
>> ---cut---
>> !#/bin/sh
>>
>> FS="/dev/sda1 /dev/sda2 /dev/sda3"
>>
>> for f in $FS; do
>> dump 0f /dev/nrst0 $f
>> done
>> ----cut---
>>
>> In this case I used /dev/nrst0 as the dump device, the n specifies no
>> rewind and rst0 is a tape device.
>>
>> Mike
>>
>> jimmy Pierre wrote:
>> > Greetings,
>> >
>> > Does anybody run batch files with a "dump" of the system? f yes what
>> > exactly
>> > do you use.
>> >
>> > Cheers,
>> > Jimmy
>> >
>>
>> --
> You need to verify that dump is not filesystem type specific.
>
> I use XFS primarily for my data and it comes with xfsdump.
>
> Greg

< Previous Next >