another stupid dump question
Brad De Vries
devriesbj
Mon May 17 11:47:14 PDT 2004
--- 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.
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.)
Sheepishly,
Brad.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the Linux-users
mailing list