xfs
[Top] [All Lists]

Re: xfsdump/xfsrestore question

To: Leon Kolchinsky <leonk@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfsdump/xfsrestore question
From: Iustin Pop <iusty@xxxxxxxxx>
Date: Sat, 24 Feb 2007 16:10:26 +0100
Cc: "'Olaf Fr?czyk'" <olaf@xxxxxxxxxxxxx>, "'Timothy Shimmin'" <tes@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20070224150933.BFE26200D8@mail.edu.haifa.ac.il>
Mail-followup-to: Leon Kolchinsky <leonk@xxxxxxxxxxxxxxxxxxxxx>, 'Olaf Fr?czyk' <olaf@xxxxxxxxxxxxx>, 'Timothy Shimmin' <tes@xxxxxxx>, xfs@xxxxxxxxxxx
References: <1172148497.4634.36.camel@venus.local.navi.pl> <20070224150933.BFE26200D8@mail.edu.haifa.ac.il>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Sat, Feb 24, 2007 at 05:04:33PM +0200, 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?
> 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).

My non-interactive backup is (fragment from a script):

xfsdump -e -l $level -L "dump $lv at $day" - /$lv | gzip -v9 > $dest_file

and it works without prompts. Combining this with LVM snapshots also
makes consistent backups.

Regards,
Iustin


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