From: sri <toyours_sridhar@yahoo.co.in>
To: linux-btrfs@vger.kernel.org
Subject: btrfs send using with copied snapshot
Date: Wed, 6 May 2015 14:01:02 +0000 (UTC) [thread overview]
Message-ID: <loom.20150506T155438-123@post.gmane.org> (raw)
btrfs send has option -p to compare 2 snapshots and genereate output of
diff and if btrfs receive is there it will get the diff.
lets say i have done my first backup
/b1/s1 is my subvolume and snap1_s1 is first snapshot
ran command:
btrfse send /b1/snap1_s1 | btrfs receive /backup
then I will get my backup /backup/snap1_s1
next I have created 2nd snapshot /b1/snap2_s1
why cannot i do below
btrfs send -p /backup/snap1_s1 /b1/snap2_s1 |btrfs receive /backup
both sanp1_s1 and snap2_s2 are readonly
why there is a restriction of all snapshots should be under same root?
can't I get the diff of copied snapshot i.e /backup/snap1_s1 (never
changed) to new snapshot /b1/snap2_s1 ??
My case, i may not always keep previous snapshot but i have copied to
backup using the snapshot.
In this case is there a way to backup only incrementals using backedup
snapshot subvolume ?
next reply other threads:[~2015-05-06 14:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 14:01 sri [this message]
2015-05-07 4:49 ` btrfs send using with copied snapshot Paul Harvey
2015-05-07 4:59 ` Duncan
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=loom.20150506T155438-123@post.gmane.org \
--to=toyours_sridhar@yahoo.co.in \
--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).