another stupid dump question

Tim Wunder tim
Mon May 17 11:47:14 PDT 2004


On 5/12/2003 11:40 AM, someone claiming to be Brad De Vries wrote:
> --- Tim Wunder <tim at thewunders.org> wrote:
> 
>>On 5/7/2003 11:43 AM, someone claiming to be Brad De
>>Vries wrote:
>>
>>>--- Tim Wunder <tim at thewunders.org> wrote:
>>>
>>>
>>>>Is there a way to have dump backup multiple
>>>>filesystems onto a singe 
>>>>tape? In reading the man page, the only thing that
>>>>resembles that 
>>>>capability is th -M option, but that doesn't
>>
>>appear
>>
>>>>to be what I want. 
>>>>Unless I'm misunderstanding the man page, it's not
>>>>possible.
>>>>
>>>>Thanks,
>>>>Tim
>>>
>>>
>>>Tim, the -W option allows the dump command to
>>
>>_write
>>
>>>to_ multiple volumes rather than _read from_
>>
>>multiple
>>
>>>filesystems.  If I understand your question
>>
>>correctly,
>>
>>>trying to read data from multiple filesystems and
>>>write the backup to a single tape/disk/etc., you
>>
>>would
>>
>>>simply list the files/directories to be backed up.
>>>
>>>For example, if you have two filesystems:
>>>/dev/hda3 mounted on /home
>>>/dev/hda4 mounted on /opt
>>>and you wanted to back them both up to a tape on
>>>/dev/st0.  Assuming both filesystems are mounted,
>>
>>your
>>
>>>dump command would look something like:
>>>dump -0u -f /dev/st0 /home /opt
>>>
>>>
>>
>>But...
>># /sbin/dump 0uf /dev/st0 / /home /var
>>Unknown arguments to dump: /home /var
>># /sbin/dump -0u -f /dev/st0 / /home /var
>>Unknown arguments to dump: /home /var
>>   DUMP: The ENTIRE dump is aborted.
>>
>>That doesn't seem to work with my version of dump...
>># rpm -qf /sbin/dump
>>dump-0.4b25-1.70.0
>>
>>Regards,
>>Tim
> 
> 
> Tim, let me start by apologizing.  I did not intend to
> lead you the wrong way down a one-way street.
> 

No problem...
and no need to apologize.

> I've specified multiple files on the command line
> before but apparently they were on the same
> filesystem.  I tried your example (although I'm
> running dump-0.4b27-3) and I got the same error.  As I
> re-RTFM it does appear that you can specify either
> multiple files within a filesystem OR a single
> filesystem (either mount point or device file.)
> 


Ahhh, that makes sense.

Thanks,

Tim





More information about the Linux-users mailing list