public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Timothy Shimmin <tes@sgi.com>
To: Richard Hartmann <richih.mailinglist@gmail.com>
Cc: Bill Kendall <wkendall@sgi.com>, xfs@oss.sgi.com
Subject: Re: xfsrestore over ssh?
Date: Tue, 22 Jul 2008 13:59:18 +1000	[thread overview]
Message-ID: <48855B16.4050208@sgi.com> (raw)
In-Reply-To: <2d460de70807212002k1a95706ic8291e2abd8796b8@mail.gmail.com>

Richard Hartmann wrote:
> On Mon, Jul 21, 2008 at 22:33, Bill Kendall <wkendall@sgi.com> wrote:
> 
> 
>> % cat dumpfile | ssh root@host xfsrestore - /restore/here
> 
> I did try
> 
>   cat root.xfs | ssh root@192.168.1.213 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.
> 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.

--Tim

  reply	other threads:[~2008-07-22  3:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 20:17 xfsrestore over ssh? Richard Hartmann
2008-07-21 20:33 ` Bill Kendall
2008-07-22  3:02   ` Richard Hartmann
2008-07-22  3:59     ` Timothy Shimmin [this message]
2008-07-22  4:43       ` Richard Hartmann
2008-07-22  6:20         ` Donald Douwsma
2008-07-22 10:40           ` Richard Hartmann
2008-07-22  6:33       ` Nathan Scott
2008-07-22  7:04         ` Timothy Shimmin
2008-07-22 10:51           ` Richard Hartmann
2008-07-22 10:52             ` Richard Hartmann
2008-07-23  0:19             ` Timothy Shimmin
2008-07-23 11:39               ` Richard Hartmann
2008-07-22 10:45         ` Richard Hartmann
2008-07-22 10:49           ` Richard Hartmann
2008-07-22 12:00             ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48855B16.4050208@sgi.com \
    --to=tes@sgi.com \
    --cc=richih.mailinglist@gmail.com \
    --cc=wkendall@sgi.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox