Re: xfsdump/xfsrestore question

Donald Douwsma
2007-02-26T05:30:23Z

Leon Kolchinsky wrote:
> 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" /
> #
>
> So, I've got to Ctrl+C the process.
>
> Questions:
> 1) What could be the syntax problem in the above command?

The above command seems to have a typo wrt unbalanced quotes.

I'd say the " at the end of line is making the shell hang around
waiting for you to match the quotes (' and ").

So xfsdump is not actually running.

Try

xfsdump -f /data/backup2.file -L 'session1' -M 'media1' /

> 2) Any examples for incremental xfsdump (non-interactive, i.e. run from
> cronjob) would be very welcome (and also comments about xfsrestore from
> these backups).
>
> On the other hand, interactive xfsdump went fine: