[Top] [All Lists]

Re: xfsrestore over ssh?

To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
Subject: Re: xfsrestore over ssh?
From: Timothy Shimmin <tes@xxxxxxx>
Date: Tue, 22 Jul 2008 13:59:18 +1000
Cc: Bill Kendall <wkendall@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <2d460de70807212002k1a95706ic8291e2abd8796b8@xxxxxxxxxxxxxx>
References: <2d460de70807211317m75bc236y403d8fa57514262e@xxxxxxxxxxxxxx> <4884F2A5.5050507@xxxxxxx> <2d460de70807212002k1a95706ic8291e2abd8796b8@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird (Macintosh/20080421)
Richard Hartmann wrote:
> On Mon, Jul 21, 2008 at 22:33, Bill Kendall <wkendall@xxxxxxx> wrote:
>> % cat dumpfile | ssh root@host xfsrestore - /restore/here
> I did try
>   cat root.xfs | ssh root@xxxxxxxxxxxxx xfsrestore - /mnt/sda3
> which resulted in
> The authenticity of host ' (' can't be established.
> RSA key fingerprint is 3c:a9:a3:84:0f:8e:e2:84:c9:c6:85:af:5f:8d:52:5f.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '' (RSA) to the list of known hosts.
> Password:
> xfsrestore: using file dump (drive_simple) strategy
> xfsrestore: version 2.2.45 (dump format 3.0) - Running single-threaded
> xfsrestore: unable to construct a file system handle for /mnt/sda3:
> Das Argument ist ung�ltig
> xfsrestore: Restore Status: ERROR
> 'The argument is invalid' -- needless to say, this is a valid xfs partition of
> appropriate size..
The final argument to restore should be a destination directory not a device
(as Donald sitting nearby mentioned to me :).

xfsrestore just uses standard posix calls for the most part to
restore the files (seeks, writes, etc...) to a mounted filesystem -
and in many circumstances can restore on a non-xfs mounted filesystem.
It is _NOT_ a low level file system restorer to an unmounted filesystem
like some other restorers.


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