From: "Miguel Negrão" <miguel.negrao-lists@friendlyvirus.org>
To: linux-btrfs@vger.kernel.org
Subject: btrfs send/receive issues
Date: Sun, 23 Jun 2013 23:41:33 +0100 [thread overview]
Message-ID: <1372027293.1052.12.camel@miguel-MacBookPro> (raw)
Hi,
I want to do a backup of a btrfs subvolume from one disk to another
disk, both with btrfs filesystems, using the btrfs send receive
functionality. I do
cd /media/miguel/btrfs_backup/
mkdir backups
sudo btrfs send /mnt/@backup2 | sudo btrfs receive /media/miguel/btrfs_backup/backups/
and this works fine, the @backup2 subvolume is created
at /media/miguel/btrfs_backup/backups/. Then I try to send a second
snapshot taken after @backup2 :
sudo btrfs send -p /mnt/@backup2 /mnt/@backup3 | sudo btrfs receive /media/miguel/btrfs_backup/backups/
And I get:
At subvol /mnt/@backup3
At snapshot @backup3
ERROR: open backups/@backup2 failed. No such file or directory
But @backup2 is a subvolume in /media/miguel/btrfs_backup/backups/
I'm I doing something wrong ?
best,
--
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao
next reply other threads:[~2013-06-23 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-23 22:41 Miguel Negrão [this message]
2013-06-24 16:21 ` btrfs send/receive issues Josef Bacik
2013-06-26 10:03 ` Miguel Negrão
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=1372027293.1052.12.camel@miguel-MacBookPro \
--to=miguel.negrao-lists@friendlyvirus.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.