RE: xfsdump/xfsrestore question

Leon Kolchinsky
2007-02-26T13:16:55Z

> > Yep, consistent FS is what I care about in the case of disaster.
> >
> I'm not sure I know exactly what you are getting at.
> After the restore you should have a consistent FS because it is _not_
> a low level filesystem dumper. It is mostly a high lever dump/restore
> program and to the extent that it can generally restore to a foreign
> filesystem e.g. ext2.
> (For example, it does know about file extents but it only uses this info
> on restore to
> preserve holes by seeking and writing.)
> So as it is just doing standard system calls on restore, it can't really
> violate filesystem consistency.
>
>
> > Now, when I've tried to make non-interactive xfsdump I'vo got > prompt
> with
> > no action, like this
> ># xfsdump -f /data/backup2.file -L 'session1' -M 'media1" /
> >>
> Presumably quoting problem as Donald pointed out - it definitely works
> otherwise
> without extra input.
>

Thanks Donald, Timothy

It was indeed quotes problem :)
It's running OK now.

Best Regards,
Leon Kolchinsky