linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Priebe <s.priebe@profihost.ag>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Cc: Josef Bacik <jbacik@fusionio.com>
Subject: problems with btrfs send / restore
Date: Thu, 11 Oct 2012 21:33:54 +0200	[thread overview]
Message-ID: <50771F22.3070501@profihost.ag> (raw)

Hello list,

i wanted to try to out btrfs send and restore but i'm failing on a 
simple step:

[server: /btrfs/target]# btrfs send /btrfs/src/\@snapshot/1 | btrfs 
receive /btrfs/target/\@snapshot/
At subvol /btrfs/src/@snapshot/1
At subvol 1
[server: /btrfs/target]# ls -la /btrfs/target/\@snapshot/
total 4
drwxr-xr-x 1 root root  2 Oct 11 20:25 .
dr-xr-xr-x 1 root root 18 Oct 11 20:25 ..
dr-xr-xr-x 1 root root 52 Oct 10 23:52 1

<= works fine

[server: /btrfs/target]# btrfs send -i /btrfs/src/\@snapshot/1 
/btrfs/src/\@snapshot/2 | btrfs receive /btrfs/target/\@snapshot/
At subvol /btrfs/src/@snapshot/2
At subvol 2
ERROR: failed to open /btrfs/target/@snapshot/@snapshot/1/test.tar. No 
such file or directory

Stefan

             reply	other threads:[~2012-10-11 19:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 19:33 Stefan Priebe [this message]
2012-10-11 19:43 ` problems with btrfs send / restore David Sterba
2012-10-11 19:54   ` Stefan Priebe
2012-10-15 10:16     ` Miao Xie
2012-10-15 19:21       ` Stefan Priebe
2012-10-15 19:42         ` Alex Lyakas
2012-10-15 20:06           ` Stefan Priebe
2012-10-15 20:14             ` Alex Lyakas
2012-10-16 14:16               ` Stefan Priebe - Profihost AG

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=50771F22.3070501@profihost.ag \
    --to=s.priebe@profihost.ag \
    --cc=jbacik@fusionio.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).