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 '192.168.1.213 (192.168.1.213)' 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 '192.168.1.213' (RSA) to the list of known hosts.
> 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.