xfs
[Top] [All Lists]

Re: xfsdump/xfsrestore question

To: Leon Kolchinsky <leonk@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfsdump/xfsrestore question
From: Donald Douwsma <donaldd@xxxxxxx>
Date: Mon, 26 Feb 2007 16:29:52 +1100
Cc: "'Olaf Fr?czyk'" <olaf@xxxxxxxxxxxxx>, "'Timothy Shimmin'" <tes@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20070224150933.BFE26200D8@xxxxxxxxxxxxxxxxxxxx>
References: <20070224150933.BFE26200D8@xxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
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:


<Prev in Thread] Current Thread [Next in Thread>